GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloIntListRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOINTLISTRECORDATTRIBUTE_H
2#define INC_GLOINTLISTRECORDATTRIBUTE_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<int> 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< int > & 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< int > & rValueList );
203 //-----------------------------------------------------------------------
221 virtual void setValueFromVoid( void * pValueList );
222 //-----------------------------------------------------------------------
234 const std::list< int > & getValueRef() const;
235 //-----------------------------------------------------------------------
247 virtual void * getValueAsVoidPointer();
248 //-----------------------------------------------------------------------
268 virtual int takeValue( const BaseRecordAttribute & rT );
269 //-----------------------------------------------------------------------
281 virtual void addValue( int iValue );
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 IntListRecordAttribute & rT ) const;
370 bool operator!= ( const IntListRecordAttribute & 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 IntLotRecordAttribute
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 Integer-List-Attribute eines Record.
Definition GloIntListRecordAttribute.h:67
IntListRecordAttribute(const IntListRecordAttribute &rT)
const std::list< int > & getValueRef() const
virtual void streamValueListInFileStream(std::ofstream &rFileStream)
virtual void addValue(int iValue)
virtual std::size_t getValueSize() const
void setValue(const std::list< int > &rValueList)
std::list< int > m_ValueList
Definition GloIntListRecordAttribute.h:80
IntListRecordAttribute(ClassInfoAttribute *pType, const std::list< int > &rValueList, const std::streampos &rFilePos)
virtual void * getValueAsVoidPointer()
virtual int takeValue(const BaseRecordAttribute &rT)
IntListRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual void setValueFromVoid(void *pValueList)
virtual void clearValueLot()
virtual BaseRecordAttribute * getCopy()
Basisklasse für unterschiedliche Integer-Kontainer-Attribute eines Record.
Definition GloIntLotRecordAttribute.h:56
Definition GloAbstractBaseLot.h:42