GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloDoubleVectorRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLODOUBLEVECTORRECORDATTRIBUTE_H
2#define INC_GLODOUBLEVECTORRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <vector>
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::vector<double> m_ValueVector;
81 //-----------------------------------------------------------------------
82
83 protected:
84 //============= Konstruktoren
85 //-----------------------------------------------------------------------
96 //-----------------------------------------------------------------------
109 //-----------------------------------------------------------------------
110
111 public:
112 //============= Konstruktoren
113 //-----------------------------------------------------------------------
137 const std::streampos & rFilePos );
138 //-----------------------------------------------------------------------
164 const std::vector< double > & rValueVector,
165 const std::streampos & rFilePos );
166 //-----------------------------------------------------------------------
167
168 protected:
169 //============== Konstruktoren
170 //-----------------------------------------------------------------------
184 //-----------------------------------------------------------------------
185
186 public:
187 //============== Methoden
188 //-----------------------------------------------------------------------
202 void setValue (const std::vector< double > & rValueVector);
203 //-----------------------------------------------------------------------
221 virtual void setValueFromVoid (void * pValueVector);
222 //-----------------------------------------------------------------------
234 const std::vector<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 DoubleVectorRecordAttribute & rT ) const;
370 bool operator!= ( const DoubleVectorRecordAttribute & 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
Basisklasse für unterschiedliche Double-Kontainer-Attribute eines Record.
Definition GloDoubleLotRecordAttribute.h:56
Klasse für die Double-Vector-Attribute eines Record.
Definition GloDoubleVectorRecordAttribute.h:67
virtual void setValueFromVoid(void *pValueVector)
virtual void * getValueAsVoidPointer()
virtual void addValue(double dValue)
DoubleVectorRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual BaseRecordAttribute * getCopy()
DoubleVectorRecordAttribute(const DoubleVectorRecordAttribute &rT)
virtual int takeValue(const BaseRecordAttribute &rT)
virtual void streamValueListInFileStream(std::ofstream &rFileStream)
const std::vector< double > & getValueRef() const
std::vector< double > m_ValueVector
Definition GloDoubleVectorRecordAttribute.h:80
DoubleVectorRecordAttribute(ClassInfoAttribute *pType, const std::vector< double > &rValueVector, const std::streampos &rFilePos)
void setValue(const std::vector< double > &rValueVector)
virtual std::size_t getValueSize() const
Definition GloAbstractBaseLot.h:42