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 <stdio.h>
#include <cstring>
#include <mrpt/utils/utils_defs.h>
#include <mrpt/system/string_utils.h>
#include <mrpt/math/CRuntimeCompiledExpression.h>
#include <iostream>

Go to the source code of this file.

Classes

class  mrpt::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >
 Simple INI file reader. More...
 
struct  mrpt::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry
 key entry More...
 
struct  mrpt::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry::KeyOrder
 Strict less ordering by name of key only. More...
 
struct  mrpt::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::Entry::LoadOrder
 Strict less ordering by order, and then name of key. More...
 
class  mrpt::utils::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::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::FileWriter
 OutputWriter class to write the INI data to a file. More...
 
class  mrpt::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::StringWriter
 OutputWriter class to write the INI data to a string. More...
 
class  mrpt::utils::simpleini::CSimpleIniTempl< SI_CHAR, SI_STRLESS, SI_CONVERTER >::StreamWriter
 OutputWriter class to write the INI data to an ostream. More...
 
class  mrpt::utils::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::utils::simpleini::SI_GenericCase< SI_CHAR >
 Generic case-sensitive less than comparison. More...
 
struct  mrpt::utils::simpleini::SI_GenericNoCase< SI_CHAR >
 Generic ASCII case-insensitive less than comparison. More...
 
class  mrpt::utils::simpleini::SI_ConvertA< SI_CHAR >
 Null conversion class for MBCS/UTF-8 to char (or equivalent). More...
 
struct  mrpt::utils::simpleini::MRPT_IniFileParser
 MRPT custom INI file parser to allow minimal file preprocessing: More...
 
struct  mrpt::utils::simpleini::MRPT_IniFileParser::ParseContext
 

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::utils
 Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
 
 mrpt::utils::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

typedef CSimpleIniTempl< char, SI_GenericNoCase< char >, SI_ConvertA< char > > mrpt::utils::simpleini::CSimpleIniA
 
typedef CSimpleIniTempl< char, SI_GenericCase< char >, SI_ConvertA< char > > mrpt::utils::simpleini::CSimpleIniCaseA
 
typedef CSimpleIniTempl< char, SI_GenericNoCase< char >, MRPT_IniFileParser > mrpt::utils::simpleini::MRPT_CSimpleIni
 

Enumerations

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

Macro Definition Documentation

◆ CSimpleIni

#define CSimpleIni   CSimpleIniA

Definition at line 2353 of file SimpleIni.h.

◆ CSimpleIniCase

#define CSimpleIniCase   CSimpleIniCaseA

Definition at line 2354 of file SimpleIni.h.

◆ SI_ASSERT

#define SI_ASSERT (   x)

◆ SI_HAS_WIDE_FILE

#define SI_HAS_WIDE_FILE

Definition at line 82 of file SimpleIni.h.

◆ SI_NEWLINE

#define SI_NEWLINE   SI_NEWLINE_A

Definition at line 2355 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 75 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 83 of file SimpleIni.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019