Divide Framework  pre-Alpha testbed
A free and open-source 3D Framework under heavy development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SimpleIni.h File Reference
#include <cstring>
#include <string>
#include <map>
#include <list>
#include <algorithm>
#include <stdio.h>
#include <wchar.h>
#include "ConvertUTF.h"

Go to the source code of this file.

Classes

class  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >
 
struct  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry
 
struct  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry::KeyOrder
 
struct  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry::LoadOrder
 
class  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::OutputWriter
 
class  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::FileWriter
 
class  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::StringWriter
 
class  CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Converter
 
struct  SI_GenericCase< SI_CHAR >
 
struct  SI_GenericNoCase< SI_CHAR >
 
class  SI_ConvertA< SI_CHAR >
 
class  SI_ConvertW< SI_CHAR >
 

Macros

#define SI_ASSERT(x)
 
#define SI_UTF8_SIGNATURE   "\xEF\xBB\xBF"
 
#define SI_NEWLINE_A   "\n"
 
#define SI_NEWLINE_W   L"\n"
 
#define SI_CONVERT_GENERIC
 
#define SI_Case   SI_GenericCase
 
#define SI_NoCase   SI_GenericNoCase
 
#define CSimpleIni   CSimpleIniA
 
#define CSimpleIniCase   CSimpleIniCaseA
 
#define SI_NEWLINE   SI_NEWLINE_A
 

Typedefs

typedef CSimpleIniTempl< char,
SI_GenericNoCase< char >
, SI_ConvertA< char > > 
CSimpleIniA
 
typedef CSimpleIniTempl< char,
SI_GenericCase< char >
, SI_ConvertA< char > > 
CSimpleIniCaseA
 
typedef CSimpleIniTempl
< wchar_t, SI_GenericNoCase
< wchar_t >, SI_ConvertW
< wchar_t > > 
CSimpleIniW
 
typedef CSimpleIniTempl
< wchar_t, SI_GenericCase
< wchar_t >, SI_ConvertW
< wchar_t > > 
CSimpleIniCaseW
 

Enumerations

enum  SI_Error {
  SI_OK = 0, SI_UPDATED = 1, SI_INSERTED = 2, SI_FAIL = -1,
  SI_NOMEM = -2, SI_FILE = -3
}
 

Macro Definition Documentation

#define CSimpleIni   CSimpleIniA

Definition at line 3372 of file SimpleIni.h.

#define CSimpleIniCase   CSimpleIniCaseA

Definition at line 3373 of file SimpleIni.h.

#define SI_ASSERT (   x)

Definition at line 232 of file SimpleIni.h.

#define SI_Case   SI_GenericCase

Definition at line 2783 of file SimpleIni.h.

#define SI_CONVERT_GENERIC

Definition at line 2615 of file SimpleIni.h.

#define SI_NEWLINE   SI_NEWLINE_A

Definition at line 3374 of file SimpleIni.h.

#define SI_NEWLINE_A   "\n"

Definition at line 252 of file SimpleIni.h.

#define SI_NEWLINE_W   L"\n"

Definition at line 253 of file SimpleIni.h.

#define SI_NoCase   SI_GenericNoCase

Definition at line 2784 of file SimpleIni.h.

#define SI_UTF8_SIGNATURE   "\xEF\xBB\xBF"

Definition at line 246 of file SimpleIni.h.

Typedef Documentation

Definition at line 3351 of file SimpleIni.h.

Definition at line 3353 of file SimpleIni.h.

typedef CSimpleIniTempl<wchar_t, SI_GenericCase <wchar_t>,SI_ConvertW<wchar_t> > CSimpleIniCaseW

Definition at line 3364 of file SimpleIni.h.

typedef CSimpleIniTempl<wchar_t, SI_GenericNoCase <wchar_t>,SI_ConvertW<wchar_t> > CSimpleIniW

Definition at line 3362 of file SimpleIni.h.

Enumeration Type Documentation

enum SI_Error
Enumerator
SI_OK 

No error.

SI_UPDATED 

An existing value was updated.

SI_INSERTED 

A new value was inserted.

SI_FAIL 

Generic failure.

SI_NOMEM 

Out of memory error.

SI_FILE 

File error (see errno for detail error)

Definition at line 235 of file SimpleIni.h.