MRPT  2.0.4
Classes | Namespaces | Macros | Typedefs | Enumerations
SimpleIni.h File Reference
#include <mrpt/core/common.h>
#include <mrpt/expr/CRuntimeCompiledExpression.h>
#include <mrpt/system/string_utils.h>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <functional>
#include <list>
#include <map>
#include <string>
#include <iostream>
Include dependency graph for SimpleIni.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >
 Simple INI file reader. More...
 
struct  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry
 key entry More...
 
struct  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry::KeyOrder
 Strict less ordering by name of key only. More...
 
struct  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry::LoadOrder
 Strict less ordering by order, and then name of key. More...
 
class  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::OutputWriter
 interface definition for the OutputWriter object to pass to Save() in order to output the INI file data. More...
 
class  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::FileWriter
 OutputWriter class to write the INI data to a file. More...
 
class  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::StringWriter
 OutputWriter class to write the INI data to a string. More...
 
class  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::StreamWriter
 OutputWriter class to write the INI data to an ostream. More...
 
class  mrpt::config::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Converter
 Characterset conversion utility class to convert strings to the same format as is used for the storage. More...
 
struct  mrpt::config::simpleini::SI_GenericCase< SI_CHAR >
 Generic case-sensitive less than comparison. More...
 
struct  mrpt::config::simpleini::SI_GenericNoCase< SI_CHAR >
 Generic ASCII case-insensitive less than comparison. More...
 
class  mrpt::config::simpleini::SI_ConvertA< SI_CHAR >
 Null conversion class for MBCS/UTF-8 to char (or equivalent). More...
 
struct  mrpt::config::simpleini::MRPT_IniFileParser
 MRPT custom INI file parser to allow minimal file preprocessing: More...
 
struct  mrpt::config::simpleini::MRPT_IniFileParser::ParseContext
 

Namespaces

 mrpt::config::simpleini
 

Macros

#define SI_SUPPORT_IOSTREAMS
 
#define SI_ASSERT(x)
 
#define SI_NEWLINE_A   "\r\n"
 
#define SI_NEWLINE_W   L"\r\n"
 
#define SI_HAS_WIDE_FILE
 
#define SI_WCHAR_T   wchar_t
 
#define CSimpleIni   CSimpleIniA
 
#define CSimpleIniCase   CSimpleIniCaseA
 
#define SI_NEWLINE   SI_NEWLINE_A
 

Typedefs

using mrpt::config::simpleini::CSimpleIniA = CSimpleIniTempl< char, SI_GenericNoCase< char >, SI_ConvertA< char > >
 
using mrpt::config::simpleini::CSimpleIniCaseA = CSimpleIniTempl< char, SI_GenericCase< char >, SI_ConvertA< char > >
 
using mrpt::config::simpleini::MRPT_CSimpleIni = CSimpleIniTempl< char, SI_GenericNoCase< char >, MRPT_IniFileParser >
 

Enumerations

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

Macro Definition Documentation

◆ CSimpleIni

#define CSimpleIni   CSimpleIniA

Definition at line 2417 of file SimpleIni.h.

◆ CSimpleIniCase

#define CSimpleIniCase   CSimpleIniCaseA

Definition at line 2418 of file SimpleIni.h.

◆ SI_ASSERT

#define SI_ASSERT (   x)

◆ SI_HAS_WIDE_FILE

#define SI_HAS_WIDE_FILE

Definition at line 78 of file SimpleIni.h.

◆ SI_NEWLINE

#define SI_NEWLINE   SI_NEWLINE_A

Definition at line 2419 of file SimpleIni.h.

◆ SI_NEWLINE_A

#define SI_NEWLINE_A   "\r\n"

◆ SI_NEWLINE_W

#define SI_NEWLINE_W   L"\r\n"

Definition at line 71 of file SimpleIni.h.

◆ SI_SUPPORT_IOSTREAMS

#define SI_SUPPORT_IOSTREAMS

Definition at line 36 of file SimpleIni.h.

◆ SI_WCHAR_T

#define SI_WCHAR_T   wchar_t

Definition at line 79 of file SimpleIni.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020