GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloLongRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOLONGRECORDATTRIBUTE_H
2#define INC_GLOLONGRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <sstream>
38#include "GloTypes.h"
40//-----------------------------------------------------------------------------
41namespace glo
42{
43 //---------------------------------------------------------------------------
59 {
60 private:
61 //============== Attribute
62 //-----------------------------------------------------------------------
73 //-----------------------------------------------------------------------
74
75 protected:
76 //============= Konstruktoren
77 //-----------------------------------------------------------------------
88 //-----------------------------------------------------------------------
101 //-----------------------------------------------------------------------
102
103 public:
104 //============= Konstruktoren
105 //-----------------------------------------------------------------------
129 const std::streampos & rFilePos );
130 //-----------------------------------------------------------------------
156 long lValue,
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( long lValue );
204 //-----------------------------------------------------------------------
216 virtual void setValueFromVoid( void * pValue );
217 //-----------------------------------------------------------------------
229 const 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 LongRecordAttribute & rT ) const;
383 bool operator!= ( const LongRecordAttribute & 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 Long-Attribute eines Record. Repräsentiert ein Attribut vom Typ 'long' von einem persi...
Definition GloLongRecordAttribute.h:59
LongRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual void * getValueAsVoidPointer()
virtual void initNew()
virtual std::string getValueAsString() const
virtual int takeValue(const BaseRecordAttribute &rT)
long m_lValue
Definition GloLongRecordAttribute.h:72
virtual std::string getValueAsDataString() const
LongRecordAttribute(ClassInfoAttribute *pType, long lValue, const std::streampos &rFilePos)
virtual std::string getValueAsStreamString() const
virtual unsigned short getDataFieldLength() const
LongRecordAttribute(const LongRecordAttribute &rT)
virtual BaseRecordAttribute * getCopy()
virtual void setValueFromVoid(void *pValue)
void setValue(long lValue)
virtual bool dataIsFieldContent() const
virtual std::string getValueAsDisplayString() const
const long & getValueRef() const
Definition GloAbstractBaseLot.h:42