GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloULongLongRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOULONGLONGRECORDATTRIBUTE_H
2#define INC_GLOULONGLONGRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <sstream>
38#include "GloTypes.h"
40//-----------------------------------------------------------------------------
41namespace glo
42{
43 //---------------------------------------------------------------------------
59 {
60 private:
61 //============== Attribute
62 //-----------------------------------------------------------------------
72 unsigned long long m_ullValue;
73 //-----------------------------------------------------------------------
74
75 protected:
76 //============= Konstruktoren
77 //-----------------------------------------------------------------------
88 //-----------------------------------------------------------------------
101 //-----------------------------------------------------------------------
102
103 public:
104 //============= Konstruktoren
105 //-----------------------------------------------------------------------
129 const std::streampos & rFilePos );
130 //-----------------------------------------------------------------------
156 unsigned long long ullValue,
157 const std::streampos & rFilePos );
158 //-----------------------------------------------------------------------
159
160 protected:
161 //============== Konstruktoren
162 //-----------------------------------------------------------------------
176 //-----------------------------------------------------------------------
177
178 public:
179 //============== Methoden
180 //-----------------------------------------------------------------------
190 virtual void initNew();
191 //-----------------------------------------------------------------------
203 void setValue( unsigned long long ullValue );
204 //-----------------------------------------------------------------------
216 virtual void setValueFromVoid( void * pValue );
217 //-----------------------------------------------------------------------
229 const unsigned long long & getValueRef() const;
230 //-----------------------------------------------------------------------
242 virtual std::string getValueAsString() const;
243 //-----------------------------------------------------------------------
257 virtual std::string getValueAsDataString() const;
258 //-----------------------------------------------------------------------
270 virtual std::string getValueAsStreamString() const;
271 //-----------------------------------------------------------------------
283 virtual std::string getValueAsDisplayString() const;
284 //-----------------------------------------------------------------------
296 virtual void * getValueAsVoidPointer();
297 //-----------------------------------------------------------------------
310 virtual unsigned short getDataFieldLength() const;
311 //-----------------------------------------------------------------------
323 virtual bool dataIsFieldContent() const;
324 //-----------------------------------------------------------------------
344 virtual int takeValue( const BaseRecordAttribute & rT );
345 //-----------------------------------------------------------------------
366 //-----------------------------------------------------------------------
367
368 //============== Operatoren
369 //-----------------------------------------------------------------------
371
382 bool operator== ( const ULongLongRecordAttribute & rT ) const;
383 bool operator!= ( const ULongLongRecordAttribute & rT ) const;
385 //-----------------------------------------------------------------------
386
387 private:
388 //============== Operatoren
389 //-----------------------------------------------------------------------
400 //-----------------------------------------------------------------------
401 };
402 //---------------------------------------------------------------------------
403} // namespace glo
404#endif
Header für INumRecordAttribute
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
Repräsentiert als Oberklasse alle Ganzzahl-Attribute eines Record.
Definition GloINumRecordAttribute.h:59
Klasse für die vorzeichenlose Long-Long-Attribute eines Record. Repräsentiert ein Attribut vom Typ 'u...
Definition GloULongLongRecordAttribute.h:59
ULongLongRecordAttribute(const ULongLongRecordAttribute &rT)
void setValue(unsigned long long ullValue)
virtual std::string getValueAsString() const
virtual void * getValueAsVoidPointer()
virtual unsigned short getDataFieldLength() const
virtual int takeValue(const BaseRecordAttribute &rT)
unsigned long long m_ullValue
Definition GloULongLongRecordAttribute.h:72
ULongLongRecordAttribute(ClassInfoAttribute *pType, unsigned long long ullValue, const std::streampos &rFilePos)
virtual void setValueFromVoid(void *pValue)
virtual std::string getValueAsDisplayString() const
ULongLongRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual std::string getValueAsStreamString() const
virtual bool dataIsFieldContent() const
const unsigned long long & getValueRef() const
virtual BaseRecordAttribute * getCopy()
virtual std::string getValueAsDataString() const
Definition GloAbstractBaseLot.h:42