GlobalObjects
Loading...
Searching...
No Matches
GloLongLongRecordAttribute.h
Go to the documentation of this file.
1#ifndef INC_GLOLONGLONGRECORDATTRIBUTE_H
2#define INC_GLOLONGLONGRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <sstream>
38#include "GloTypes.h"
40//-----------------------------------------------------------------------------
41namespace glo
42{
43 //---------------------------------------------------------------------------
59 {
60 private:
61 //============== Attribute
62 //-----------------------------------------------------------------------
72 long long m_llValue;
73 //-----------------------------------------------------------------------
74
75 protected:
76 //============= Konstruktoren
77 //-----------------------------------------------------------------------
88 //-----------------------------------------------------------------------
101 //-----------------------------------------------------------------------
102
103 public:
104 //============= Konstruktoren
105 //-----------------------------------------------------------------------
129 const std::streampos & rFilePos );
130 //-----------------------------------------------------------------------
156 long long llValue,
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 long llValue );
204 //-----------------------------------------------------------------------
216 virtual void setValueFromVoid( void * pValue );
217 //-----------------------------------------------------------------------
229 const 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 LongLongRecordAttribute & rT ) const;
383 bool operator!= ( const LongLongRecordAttribute & rT ) const;
385 //-----------------------------------------------------------------------
386
387 private:
388 //============== Operatoren
389 //-----------------------------------------------------------------------
400 //-----------------------------------------------------------------------
401 };
402 //---------------------------------------------------------------------------
403} // namespace glo
404#endif
Header for INumRecordAttribute
For each library, here 'GlobalObjects' there is a type file.
#define __glo_export_dll
Definition GloTypes.h:63
Base class for the individual attributes of a Record.
Definition GloBaseRecordAttribute.h:109
In objects of this class, the information for GlobalObjects is how a persistent class attribute is st...
Definition GloClassInfoAttribute.h:76
Represents as superclass all integer attributes of a Record.
Definition GloINumRecordAttribute.h:59
Class for the long long attributes of a Record. Represents an attribute of the type 'long long' of a ...
Definition GloLongLongRecordAttribute.h:59
void setValue(long long llValue)
const long long & getValueRef() const
virtual bool dataIsFieldContent() const
virtual std::string getValueAsString() const
virtual std::string getValueAsDisplayString() const
virtual std::string getValueAsDataString() const
virtual int takeValue(const BaseRecordAttribute &rT)
virtual BaseRecordAttribute * getCopy()
virtual void setValueFromVoid(void *pValue)
LongLongRecordAttribute(const LongLongRecordAttribute &rT)
long long m_llValue
Definition GloLongLongRecordAttribute.h:72
virtual void * getValueAsVoidPointer()
LongLongRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
virtual unsigned short getDataFieldLength() const
virtual std::string getValueAsStreamString() const
LongLongRecordAttribute(ClassInfoAttribute *pType, long long llValue, const std::streampos &rFilePos)
Definition GloAbstractBaseLot.h:42