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