unitconv.h File Reference

Include file for unit type selection functions. More...

#include <mi32/uom.h>
#include <mi32/stddefns.h>
#include <mi32/inidefns.h>

Include dependency graph for unitconv.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  UNITCONV
 Unit conversion parameters. More...

Defines

#define DATECONV_DMY   0x03
#define DATECONV_MDY   0x02
#define DATECONV_MonthAbbr   0x04
#define DATECONV_MONTHMASK   0x0C
#define DATECONV_MonthName   0x08
#define DATECONV_MonthNum   0x00
#define DATECONV_NoCent   0x80
#define DATECONV_ORDERMASK   0x03
#define DATECONV_SepComma   0x50
#define DATECONV_SepDash   0x20
#define DATECONV_SepDot   0x30
#define DATECONV_SEPMASK   0x70
#define DATECONV_SepNone   0x00
#define DATECONV_SepSlash   0x40
#define DATECONV_SepSpace   0x10
#define DATECONV_YDM   0x01
#define DATECONV_YMD   0x00
#define GEOMLIBEXPORT   MI_DLLIMPORT

Functions

GEOMLIBEXPORT double ConvertUnit (double val, const UNITCONV *c)
GEOMLIBEXPORT double ConvertUnitInv (double val, const UNITCONV *conv)
GEOMLIBEXPORT char * ConvertUnitStr (char *str, int len, double val, const UNITCONV *conv)
GEOMLIBEXPORT double ConvertUnitStrInv (char *str, const UNITCONV *conv)
GEOMLIBEXPORT UNITCONVGetUnitConversion (int type, int fromcode, int tocode, UNITCONV *conv)
GEOMLIBEXPORT UNITCONVGetUnitConversionIdentity (int type, UNITCONV *conv)
GEOMLIBEXPORT const MISTRINGGetUnitName (int type, int num)
GEOMLIBEXPORT const MISTRINGGetUnitSymbol (int type, int num)


Detailed Description

Include file for unit type selection functions.

Definition in file unitconv.h.


Define Documentation

#define DATECONV_DMY   0x03
 

Definition at line 134 of file unitconv.h.

#define DATECONV_MDY   0x02
 

Definition at line 133 of file unitconv.h.

#define DATECONV_MonthAbbr   0x04
 

Definition at line 138 of file unitconv.h.

#define DATECONV_MONTHMASK   0x0C
 

Definition at line 136 of file unitconv.h.

#define DATECONV_MonthName   0x08
 

Definition at line 139 of file unitconv.h.

#define DATECONV_MonthNum   0x00
 

Definition at line 137 of file unitconv.h.

#define DATECONV_NoCent   0x80
 

Definition at line 128 of file unitconv.h.

#define DATECONV_ORDERMASK   0x03
 

Definition at line 130 of file unitconv.h.

#define DATECONV_SepComma   0x50
 

23 January, 1996

Definition at line 147 of file unitconv.h.

#define DATECONV_SepDash   0x20
 

Definition at line 144 of file unitconv.h.

#define DATECONV_SepDot   0x30
 

Definition at line 145 of file unitconv.h.

#define DATECONV_SEPMASK   0x70
 

Definition at line 141 of file unitconv.h.

#define DATECONV_SepNone   0x00
 

Definition at line 142 of file unitconv.h.

#define DATECONV_SepSlash   0x40
 

Definition at line 146 of file unitconv.h.

#define DATECONV_SepSpace   0x10
 

Definition at line 143 of file unitconv.h.

#define DATECONV_YDM   0x01
 

Definition at line 132 of file unitconv.h.

#define DATECONV_YMD   0x00
 

Definition at line 131 of file unitconv.h.

#define GEOMLIBEXPORT   MI_DLLIMPORT
 

Definition at line 69 of file unitconv.h.


Generated on Tue Dec 14 13:19:25 2004 for TNTsdk by  doxygen 1.3.8-20040913