GlobalObjects
Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Freundbeziehungen Makrodefinitionen Seiten
IniLineFactory.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_INILINEFACTORY_H
2#define INC_INILINEFACTORY_H
3//-----------------------------------------------------------------------------
68//-----------------------------------------------------------------------------
69#include "IniFileTypes.h"
70//-----------------------------------------------------------------------------
71namespace ini
72{
73 //-----------------------------------------------------------------------------
75 class Line;
76 //-----------------------------------------------------------------------------
93 {
94 public:
95 //============== Konstruktoren ============
96 //-----------------------------------------------------------------------
107 //-----------------------------------------------------------------------
117 virtual ~LineFactory();
118 //-----------------------------------------------------------------------
119
120 private:
121 //============== Konstruktoren ============
122 //-----------------------------------------------------------------------
132 inline LineFactory( const LineFactory & );
133 //-----------------------------------------------------------------------
134
135 public:
136 //============== Methoden
137 //-----------------------------------------------------------------------
161 int getIniLine( Line *& prIniLine, std::string sCharLine ) const;
162 //-----------------------------------------------------------------------
176 void trim( std::string & rsCharLine ) const;
177 //-----------------------------------------------------------------------
191 LINE_TYPE getLineType( std::string sCharLine ) const;
192 //-----------------------------------------------------------------------
193
194 private:
195 //============== Methoden
196 //-----------------------------------------------------------------------
211 bool isComment( std::string sCharLine ) const;
212 //-----------------------------------------------------------------------
227 bool isSection( std::string sCharLine ) const;
228 //-----------------------------------------------------------------------
243 bool isKey( std::string sCharLine ) const;
244 //-----------------------------------------------------------------------
245
246 private:
247 //============== Operatoren
248 //-----------------------------------------------------------------------
259 //-----------------------------------------------------------------------
260 }; // class __ini_file_export_dll LineFactory
261 //---------------------------------------------------------------------------
262} // namespace ini
263//-----------------------------------------------------------------------------
264#endif
Für jede Bibliothek, hier 'IniFile' gibt es eine Typen-Datei.
#define __ini_file_export_dll
Definition IniFileTypes.h:85
LineFactory(const LineFactory &)
virtual ~LineFactory()
int getIniLine(Line *&prIniLine, std::string sCharLine) const
LINE_TYPE getLineType(std::string sCharLine) const
bool isKey(std::string sCharLine) const
bool isSection(std::string sCharLine) const
bool isComment(std::string sCharLine) const
LineFactory & operator=(const LineFactory &)
void trim(std::string &rsCharLine) const
Ist eine Kommentartzeile, aber auch Oberklasse für Section und Key.
Definition IniLine.h:94
Definition IniFile.h:84
LINE_TYPE
Definition IniFileTypes.h:151