GlobalObjects
Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Freundbeziehungen Makrodefinitionen Seiten
IniKey.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_INIKEY_H
2#define INC_INIKEY_H
3//-----------------------------------------------------------------------------
68//-----------------------------------------------------------------------------
69#include "IniFileTypes.h"
70#include "IniLine.h"
71//-----------------------------------------------------------------------------
72namespace ini
73{
74 //---------------------------------------------------------------------------
91 {
92 private:
93 //============== Friends
94 //-----------------------------------------------------------------------
95 friend class LineFactory;
96 //-----------------------------------------------------------------------
97
98 public:
99 //============== Konstruktoren ============
100 //-----------------------------------------------------------------------
114 Key( const std::string & sCharLine );
115 //-----------------------------------------------------------------------
125 virtual ~Key ();
126 //-----------------------------------------------------------------------
127
128 protected:
129 //-----------------------------------------------------------------------
147 Key( const std::string & sCharLine, LINE_TYPE eLineType );
148 //-----------------------------------------------------------------------
159 //-----------------------------------------------------------------------
160
161 private:
162 //============== Konstruktoren
163 //-----------------------------------------------------------------------
173 Key( const Key & );
174 //-----------------------------------------------------------------------
175
176 public:
177 //============== Methoden
178 //-----------------------------------------------------------------------
190 std::string getKeyName() const;
191 //-----------------------------------------------------------------------
210 void setKeyName( const std::string & sName );
211 //-----------------------------------------------------------------------
223 std::string getKeyValue() const ;
224 //-----------------------------------------------------------------------
242 void setKeyValue ( const std::string & sValue );
243 //-----------------------------------------------------------------------
244
245 private:
246 //============== Operatoren
247 //-----------------------------------------------------------------------
257 Key & operator= ( const Key & );
258 //-----------------------------------------------------------------------
259 };
260 //---------------------------------------------------------------------------
261} // namespace ini
262//-----------------------------------------------------------------------------
263#endif
Für jede Bibliothek, hier 'IniFile' gibt es eine Typen-Datei.
#define __ini_file_export_dll
Definition IniFileTypes.h:85
Header für Line
Key(const std::string &sCharLine)
std::string getKeyValue() const
Key(const std::string &sCharLine, LINE_TYPE eLineType)
friend class LineFactory
Definition IniKey.h:95
std::string getKeyName() const
virtual ~Key()
void setKeyValue(const std::string &sValue)
void setKeyName(const std::string &sName)
Key(const Key &)
Line(const std::string &sCharLine)
Definition IniFile.h:84
LINE_TYPE
Definition IniFileTypes.h:151