GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloStringListRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOSTRINGLISTRECORDATTRIBUTE_H
2#define INC_GLOSTRINGLISTRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <list>
39#include "GloTypes.h"
40//-----------------------------------------------------------------------------
41namespace glo
42{
43 //---------------------------------------------------------------------------
44 #ifdef _MSC_VER
45 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
46 #pragma warning( disable : 4251 )
47 #endif
48 //---------------------------------------------------------------------------
67 {
68 private:
69 //============== Attribute
70 //-----------------------------------------------------------------------
80 std::list<std::string> m_ValueList;
81 //-----------------------------------------------------------------------
82
83 protected:
84 //============= Konstruktoren
85 //-----------------------------------------------------------------------
96 //-----------------------------------------------------------------------
109 //-----------------------------------------------------------------------
110
111 public:
112 //============= Konstruktoren
113 //-----------------------------------------------------------------------
137 const std::streampos & rFilePos );
138 //-----------------------------------------------------------------------
164 const std::list< std::string > & rValueList,
165 const std::streampos & rFilePos );
166 //-----------------------------------------------------------------------
167
168 protected:
169 //============== Konstruktoren
170 //-----------------------------------------------------------------------
184 //-----------------------------------------------------------------------
185
186 public:
187 //============== Methoden
188 //-----------------------------------------------------------------------
202 void setValue( const std::list< std::string > & rValueList );
203 //-----------------------------------------------------------------------
221 virtual void setValueFromVoid( void * pValueList );
222 //-----------------------------------------------------------------------
234 const std::list< std::string > & getValueRef() const;
235 //-----------------------------------------------------------------------
247 virtual void * getValueAsVoidPointer();
248 //-----------------------------------------------------------------------
268 virtual int takeValue( const BaseRecordAttribute & rT );
269 //-----------------------------------------------------------------------
281 virtual void addValue( const std::string rsValue );
282 //-----------------------------------------------------------------------
294 virtual std::size_t getValueSize() const;
295 //-----------------------------------------------------------------------
316 //-----------------------------------------------------------------------
326 virtual void clearValueLot();
327 //-----------------------------------------------------------------------
328
329 protected:
330 //============== Methoden
331 //-----------------------------------------------------------------------
352 virtual void streamValueListInFileStream( std::ofstream & rFileStream );
353 //-----------------------------------------------------------------------
354
355 //============== Operatoren
356 //-----------------------------------------------------------------------
358
369 bool operator== ( const StringListRecordAttribute & rT ) const;
370 bool operator!= ( const StringListRecordAttribute & rT ) const;
372 //-----------------------------------------------------------------------
373
374 private:
375 //============== Operatoren
376 //-----------------------------------------------------------------------
387 //-----------------------------------------------------------------------
388 };
389 //---------------------------------------------------------------------------
390 #ifdef _MSC_VER
391 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
392 #pragma warning( default : 4251 )
393 #endif
394 //---------------------------------------------------------------------------
395} // namespace glo
396#endif
Header für StringLotRecordAttribute
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:63
Basisklasse für die einzelnen Attribute eines Record.
Definition GloBaseRecordAttribute.h:109
In Objekten dieser Klasse sind die Information für GlobalObjects, wie ein persistentes Klassenattribu...
Definition GloClassInfoAttribute.h:76
Klasse für die String-List-Attribute eines Record.
Definition GloStringListRecordAttribute.h:67
std::list< std::string > m_ValueList
Definition GloStringListRecordAttribute.h:80
StringListRecordAttribute(ClassInfoAttribute *pType, const std::list< std::string > &rValueList, const std::streampos &rFilePos)
const std::list< std::string > & getValueRef() const
virtual void * getValueAsVoidPointer()
virtual void streamValueListInFileStream(std::ofstream &rFileStream)
virtual BaseRecordAttribute * getCopy()
StringListRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual void setValueFromVoid(void *pValueList)
virtual void addValue(const std::string rsValue)
void setValue(const std::list< std::string > &rValueList)
virtual int takeValue(const BaseRecordAttribute &rT)
virtual std::size_t getValueSize() const
StringListRecordAttribute(const StringListRecordAttribute &rT)
Basisklasse für unterschiedliche String-Kontainer-Attribute eines Record.
Definition GloStringLotRecordAttribute.h:56
Definition GloAbstractBaseLot.h:42