Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Namespaces | Macros | Typedefs | Enumerations
SimpleIni.h File Reference
#include <string>
#include <map>
#include <list>
#include <algorithm>
#include <functional>
#include <stdio.h>
#include <cstring>
#include <mrpt/core/common.h>
#include <mrpt/system/string_utils.h>
#include <mrpt/expr/CRuntimeCompiledExpression.h>
#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
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::config
 
 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 2422 of file SimpleIni.h.

◆ CSimpleIniCase

#define CSimpleIniCase   CSimpleIniCaseA

Definition at line 2423 of file SimpleIni.h.

◆ SI_ASSERT

#define SI_ASSERT (   x)

Definition at line 47 of file SimpleIni.h.

◆ SI_HAS_WIDE_FILE

#define SI_HAS_WIDE_FILE

Definition at line 83 of file SimpleIni.h.

◆ SI_NEWLINE

#define SI_NEWLINE   SI_NEWLINE_A

Definition at line 2424 of file SimpleIni.h.

◆ SI_NEWLINE_A

#define SI_NEWLINE_A   "\r\n"

Definition at line 75 of file SimpleIni.h.

◆ SI_NEWLINE_W

#define SI_NEWLINE_W   L"\r\n"

Definition at line 76 of file SimpleIni.h.

◆ SI_SUPPORT_IOSTREAMS

#define SI_SUPPORT_IOSTREAMS

Definition at line 37 of file SimpleIni.h.

◆ SI_WCHAR_T

#define SI_WCHAR_T   wchar_t

Definition at line 84 of file SimpleIni.h.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST