inidefns.h File Reference

#include <mi32/mapproj.h>
#include <mi32/filepath.h>
#include <mi32/color.h>
#include <mi32/stddefns.h>

Include dependency graph for inidefns.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

class  INI_AUTO< _DT >
 INI_AUTO is a class designed to automatically handle reading and writing of data from an INI file and ensure that IniRead \ IniWrite pairs function together correctly. More...
class  INI_AUTO_ENUM< _DT >
 INI_AUTO_ENUM is a class designed to automatically handle reading and writing of enum data from an INI file and ensure that IniReadEnum \ IniWrite pairs function together correctly. More...
class  INIHND
 INI handle class support automatic closing of handle when going out of scope. More...

Defines

#define INIFILE_Host   "tnthost.ini"
#define INIFILE_Standard   "tntproc.ini"
#define INIFLAG_InternalOnly   0x00000010
#define INIFLAG_None   0
#define INIFLAG_ReadOnly   0x00000004
#define INIFLAG_WriteRequired   0x00000002
#define INITYPE_ASCII   INITYPE_String
#define INITYPE_Bool   19
#define INITYPE_ByteBoolean   1
#define INITYPE_COLOR   17|INITYPE_IniStruct
#define INITYPE_Double   10
#define INITYPE_DPOINT2D   13|INITYPE_IniStruct
#define INITYPE_DPOINT3D   14|INITYPE_IniStruct
#define INITYPE_DRECT2D   18|INITYPE_IniStruct
#define INITYPE_End   0
#define INITYPE_Float   9
#define INITYPE_IniStruct   0x01000000
#define INITYPE_INT16   5
#define INITYPE_INT32   7
#define INITYPE_INT8   3
#define INITYPE_IntBoolean   2
#define INITYPE_MAPPROJPARM   15|INITYPE_IniStruct
#define INITYPE_String   11
#define INITYPE_UINT16   6
#define INITYPE_UINT32   8
#define INITYPE_UINT8   4
#define INITYPE_UNICODE   INITYPE_Unicode
#define INITYPE_Unicode   12
#define LIBEXPORT   MI_DLLIMPORT

Functions

LIBEXPORT void IniClose (INIHANDLE iniptr)
LIBEXPORT int IniDeleteField (INIHANDLE iniptr, const char *group, const char *field)
LIBEXPORT int IniDeleteGroup (INIHANDLE iniptr, const char *group)
LIBEXPORT int IniGetBuffer (INIHANDLE iniptr, UNICODE **buffer)
LIBEXPORT const FILEPATHIniGetFilePath (INIHANDLE inihandle)
LIBEXPORT int IniIsWritable (INIHANDLE iniptr)
LIBEXPORT ERRVALUE IniListAdd (const FILEPATH &filepath)
LIBEXPORT void IniListClear ()
LIBEXPORT ERRVALUE IniOpen (const FILEPATH &filepath, INIHANDLE *iniptr, UINT32 flags=INIFLAG_None)
LIBEXPORT int IniOpen (const char *basefilename, INIHANDLE *iniptr, UINT32 flags=INIFLAG_None)
int IniRead (INIHANDLE hdl, const char *group, const char *field, MAPPROJPARM &value, const MAPPROJPARM &dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, MAPPROJPARM &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT3D &value, const DPOINT3D &dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT3D &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT2D &value, const DPOINT2D &dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, DPOINT2D &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, COLOR &value, const COLOR &dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, COLOR &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UNICODE *str, int size)
int IniRead (INIHANDLE hdl, const char *group, const char *field, char *str, int size)
int IniRead (INIHANDLE hdl, const char *group, const char *field, double &value, double dft, double min, double max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, double &value, double dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, double &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, float &value, float dft, float min, float max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, float &value, float dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, float &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, int &value, int dft, int min, int max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, int &value, int dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, int &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT32 &value, UINT32 dft, UINT32 min, UINT32 max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT32 &value, UINT32 dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT32 &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT32 &value, INT32 dft, INT32 min, INT32 max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT32 &value, INT32 dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT32 &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT16 &value, UINT16 dft, UINT16 min, UINT16 max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT16 &value, UINT16 dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT16 &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT16 &value, INT16 dft, INT16 min, INT16 max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT16 &value, INT16 dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT16 &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT8 &value, UINT8 dft, UINT8 min, UINT8 max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT8 &value, UINT8 dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, UINT8 &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT8 &value, INT8 dft, INT8 min, INT8 max)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT8 &value, INT8 dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, INT8 &value)
int IniRead (INIHANDLE hdl, const char *group, const char *field, bool &value, bool dft)
int IniRead (INIHANDLE hdl, const char *group, const char *field, bool &value)
bool IniReadBoolean (INIHANDLE hdl, const char *group, const char *field, bool dft)
template<class _CT> int IniReadEnum (INIHANDLE hdl, const char *group, const char *field, _CT &value, _CT dft)
template<class _CT> int IniReadEnum (INIHANDLE hdl, const char *group, const char *field, _CT &value)
int IniReadStringMultiLine (INIHANDLE iniptr, const char *group, const char *field, UNICODE *&string)
int IniReadStringMultiLine (INIHANDLE iniptr, const char *group, const char *field, char *&string)
LIBEXPORT void IniSetAppName (const char *AppName)
LIBEXPORT int IniSetBuffer (INIHANDLE iniptr, UNICODE *buffer)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const MAPPROJPARM &value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const DPOINT3D &value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const DPOINT2D &value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const COLOR &value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const UNICODE *str)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const char *str)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, double value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, UINT32 value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, INT32 value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, unsigned int value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, int value)
int IniWrite (INIHANDLE hdl, const char *group, const char *field, const bool &value)
LIBEXPORT int IniWriteBoolean (INIHANDLE iniptr, const char *group, const char *field, int value)
int IniWriteStringMultiLine (INIHANDLE iniptr, const char *group, const char *field, const UNICODE *string)
int IniWriteStringMultiLine (INIHANDLE iniptr, const char *group, const char *field, const char *string)


Define Documentation

#define INIFILE_Host   "tnthost.ini"
 

Definition at line 195 of file inidefns.h.

#define INIFILE_Standard   "tntproc.ini"
 

For basefilename in IniOpen().

Definition at line 194 of file inidefns.h.

#define INIFLAG_InternalOnly   0x00000010
 

Not a file, use internal buffer only.

Definition at line 201 of file inidefns.h.

#define INIFLAG_None   0
 

Flags for Ini... functions.

Definition at line 198 of file inidefns.h.

#define INIFLAG_ReadOnly   0x00000004
 

Open as read-only.

Definition at line 200 of file inidefns.h.

#define INIFLAG_WriteRequired   0x00000002
 

Need write access, return error if not allowed.

Definition at line 199 of file inidefns.h.

#define INITYPE_ASCII   INITYPE_String
 

Read a string.

Definition at line 183 of file inidefns.h.

#define INITYPE_Bool   19
 

bool

Definition at line 191 of file inidefns.h.

#define INITYPE_ByteBoolean   1
 

Read a Yes/No, 1/0, Y/N, y/n, True/False, T/F, t/f.

Definition at line 172 of file inidefns.h.

#define INITYPE_COLOR   17|INITYPE_IniStruct
 

Read a COLOR.

Definition at line 189 of file inidefns.h.

#define INITYPE_Double   10
 

Read a double.

Definition at line 181 of file inidefns.h.

#define INITYPE_DPOINT2D   13|INITYPE_IniStruct
 

Read a 2D point.

Definition at line 186 of file inidefns.h.

#define INITYPE_DPOINT3D   14|INITYPE_IniStruct
 

Read a 3D point.

Definition at line 187 of file inidefns.h.

#define INITYPE_DRECT2D   18|INITYPE_IniStruct
 

Read a DRECT2D.

Definition at line 190 of file inidefns.h.

#define INITYPE_End   0
 

End of a list (0).

Definition at line 171 of file inidefns.h.

#define INITYPE_Float   9
 

Read a float.

Definition at line 180 of file inidefns.h.

#define INITYPE_IniStruct   0x01000000
 

Ini structure marker.

Definition at line 170 of file inidefns.h.

#define INITYPE_INT16   5
 

Read a word.

Definition at line 176 of file inidefns.h.

#define INITYPE_INT32   7
 

Read a long.

Definition at line 178 of file inidefns.h.

#define INITYPE_INT8   3
 

Read a byte.

Definition at line 174 of file inidefns.h.

#define INITYPE_IntBoolean   2
 

Read a Yes/No, 1/0, Y/N, y/n, True/False, T/F, t/f.

Definition at line 173 of file inidefns.h.

#define INITYPE_MAPPROJPARM   15|INITYPE_IniStruct
 

Read a MAPPROJPARM.

Definition at line 188 of file inidefns.h.

#define INITYPE_String   11
 

Read a string.

Definition at line 182 of file inidefns.h.

#define INITYPE_UINT16   6
 

Read a unsigned word.

Definition at line 177 of file inidefns.h.

#define INITYPE_UINT32   8
 

Read a unsigned long.

Definition at line 179 of file inidefns.h.

#define INITYPE_UINT8   4
 

Read a unsigned byte.

Definition at line 175 of file inidefns.h.

#define INITYPE_UNICODE   INITYPE_Unicode
 

Definition at line 185 of file inidefns.h.

#define INITYPE_Unicode   12
 

Read a UNICODE string.

Definition at line 184 of file inidefns.h.

#define LIBEXPORT   MI_DLLIMPORT
 

Definition at line 166 of file inidefns.h.


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