GlobalObjects
Lade ...
Suche ...
Keine Treffer
GloBoolRecordAttribute.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_GLOBOOLRECORDATTRIBUTE_H
2#define INC_GLOBOOLRECORDATTRIBUTE_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include <sstream>
38#include "GloTypes.h"
40//-----------------------------------------------------------------------------
41namespace glo
42{
43 //---------------------------------------------------------------------------
61 {
62 private:
63 //============== Attribute
64 //-----------------------------------------------------------------------
75 //-----------------------------------------------------------------------
76
77 protected:
78 //============= Konstruktoren
79 //-----------------------------------------------------------------------
90 //-----------------------------------------------------------------------
103 //-----------------------------------------------------------------------
104
105 public:
106 //============= Konstruktoren
107 //-----------------------------------------------------------------------
131 const std::streampos & rFilePos );
132 //-----------------------------------------------------------------------
158 bool bValue,
159 const std::streampos & rFilePos );
160 //-----------------------------------------------------------------------
161
162 protected:
163 //============== Konstruktoren
164 //-----------------------------------------------------------------------
178 //-----------------------------------------------------------------------
179
180 public:
181 //============== Methoden
182 //-----------------------------------------------------------------------
192 virtual void initNew();
193 //-----------------------------------------------------------------------
205 void setValue( bool bValue );
206 //-----------------------------------------------------------------------
218 virtual void setValueFromVoid( void * pValue );
219 //-----------------------------------------------------------------------
231 const bool & getValueRef() const;
232 //-----------------------------------------------------------------------
244 virtual std::string getValueAsString() const;
245 //-----------------------------------------------------------------------
259 virtual std::string getValueAsDataString() const;
260 //-----------------------------------------------------------------------
272 virtual std::string getValueAsStreamString() const;
273 //-----------------------------------------------------------------------
285 virtual std::string getValueAsDisplayString() const;
286 //-----------------------------------------------------------------------
298 virtual void * getValueAsVoidPointer();
299 //-----------------------------------------------------------------------
312 virtual unsigned short getDataFieldLength() const;
313 //-----------------------------------------------------------------------
325 virtual bool dataIsFieldContent() const;
326 //-----------------------------------------------------------------------
346 virtual int takeValue( const BaseRecordAttribute & rT );
347 //-----------------------------------------------------------------------
368 //-----------------------------------------------------------------------
369
370 //============== Operatoren
371 //-----------------------------------------------------------------------
373
384 bool operator== ( const BoolRecordAttribute & rT ) const;
385 bool operator!= ( const BoolRecordAttribute & rT ) const;
387 //-----------------------------------------------------------------------
388
389 private:
390 //============== Operatoren
391 //-----------------------------------------------------------------------
402 //-----------------------------------------------------------------------
403 };
404 //---------------------------------------------------------------------------
405} // namespace glo
406#endif
Header für BaseRecordAttribute
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
Klasse für die Bool-Attribute eines Record.
Definition GloBoolRecordAttribute.h:61
const bool & getValueRef() const
virtual int takeValue(const BaseRecordAttribute &rT)
virtual std::string getValueAsStreamString() const
virtual void * getValueAsVoidPointer()
BoolRecordAttribute(const BoolRecordAttribute &rT)
virtual void setValueFromVoid(void *pValue)
virtual bool dataIsFieldContent() const
virtual void initNew()
virtual unsigned short getDataFieldLength() const
BoolRecordAttribute(ClassInfoAttribute *pType, const std::streampos &rFilePos)
void setValue(bool bValue)
virtual std::string getValueAsDataString() const
virtual std::string getValueAsDisplayString() const
bool m_bValue
Definition GloBoolRecordAttribute.h:74
virtual BaseRecordAttribute * getCopy()
BoolRecordAttribute(ClassInfoAttribute *pType, bool bValue, const std::streampos &rFilePos)
virtual std::string getValueAsString() const
In Objekten dieser Klasse sind die Information für GlobalObjects, wie ein persistentes Klassenattribu...
Definition GloClassInfoAttribute.h:76
Definition GloAbstractBaseLot.h:42