GlobalObjects
Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Freundbeziehungen Makrodefinitionen Seiten
GloIntListRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOINTLISTRECORDATTRIBUTE_H
2#define INC_GLOINTLISTRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
43//-----------------------------------------------------------------------------
44#include <list>
46#include "GloTypes.h"
47//-----------------------------------------------------------------------------
48namespace glo
49{
50 //---------------------------------------------------------------------------
51 #ifdef _MSC_VER
52 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
53 #pragma warning( disable : 4251 )
54 #endif
55 //---------------------------------------------------------------------------
74 {
75 private:
76 //============== Attribute
77 //-----------------------------------------------------------------------
87 std::list<int> m_ValueList;
88 //-----------------------------------------------------------------------
89
90 protected:
91 //============= Konstruktoren
92 //-----------------------------------------------------------------------
103 //-----------------------------------------------------------------------
116 //-----------------------------------------------------------------------
117
118 public:
119 //============= Konstruktoren
120 //-----------------------------------------------------------------------
144 const std::streampos & rFilePos );
145 //-----------------------------------------------------------------------
171 const std::list< int > & rValueList,
172 const std::streampos & rFilePos );
173 //-----------------------------------------------------------------------
174
175 protected:
176 //============== Konstruktoren
177 //-----------------------------------------------------------------------
191 //-----------------------------------------------------------------------
192
193 public:
194 //============== Methoden
195 //-----------------------------------------------------------------------
209 void setValue( const std::list< int > & rValueList );
210 //-----------------------------------------------------------------------
228 virtual void setValueFromVoid( void * pValueList ) override;
229 //-----------------------------------------------------------------------
241 const std::list< int > & getValueRef() const;
242 //-----------------------------------------------------------------------
254 virtual void * getValueAsVoidPointer() override;
255 //-----------------------------------------------------------------------
275 virtual int takeValue( const BaseRecordAttribute & rT ) override;
276 //-----------------------------------------------------------------------
288 virtual void addValue( int iValue ) override;
289 //-----------------------------------------------------------------------
301 virtual std::size_t getValueSize() const override;
302 //-----------------------------------------------------------------------
322 virtual BaseRecordAttribute * getCopy() override;
323 //-----------------------------------------------------------------------
333 virtual void clearValueLot() override;
334 //-----------------------------------------------------------------------
335
336 protected:
337 //============== Methoden
338 //-----------------------------------------------------------------------
359 virtual void streamValueListInFileStream( std::ofstream & rFileStream ) override;
360 //-----------------------------------------------------------------------
361
362 //============== Operatoren
363 //-----------------------------------------------------------------------
365
376 bool operator== ( const IntListRecordAttribute & rT ) const;
377 bool operator!= ( const IntListRecordAttribute & rT ) const;
379 //-----------------------------------------------------------------------
380
381 private:
382 //============== Operatoren
383 //-----------------------------------------------------------------------
394 //-----------------------------------------------------------------------
395 };
396 //---------------------------------------------------------------------------
397 #ifdef _MSC_VER
398 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
399 #pragma warning( default : 4251 )
400 #endif
401 //---------------------------------------------------------------------------
402} // namespace glo
403#endif
Header für IntLotRecordAttribute
Für jede Bibliothek, hier 'GlobalObjects' gibt es eine Typen-Datei.
#define __glo_export_dll
Definition GloTypes.h:70
Basisklasse für die einzelnen Attribute eines Record.
Definition GloBaseRecordAttribute.h:116
In Objekten dieser Klasse sind die Information für GlobalObjects, wie ein persistentes Klassenattribu...
Definition GloClassInfoAttribute.h:83
IntListRecordAttribute(const IntListRecordAttribute &rT)
const std::list< int > & getValueRef() const
virtual int takeValue(const BaseRecordAttribute &rT) override
void setValue(const std::list< int > &rValueList)
virtual void streamValueListInFileStream(std::ofstream &rFileStream) override
std::list< int > m_ValueList
Definition GloIntListRecordAttribute.h:87
IntListRecordAttribute(ClassInfoAttribute *pType, const std::list< int > &rValueList, const std::streampos &rFilePos)
virtual std::size_t getValueSize() const override
IntListRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual void clearValueLot() override
virtual BaseRecordAttribute * getCopy() override
virtual void * getValueAsVoidPointer() override
virtual void addValue(int iValue) override
virtual void setValueFromVoid(void *pValueList) override
Definition GloAbstractBaseLot.h:49