GlobalObjects
Lade ...
Suche ...
Keine Treffer
glo::StringLotRecordAttribute Klassenreferenz

Basisklasse für unterschiedliche String-Kontainer-Attribute eines Record. Mehr ...

#include <GloStringLotRecordAttribute.h>

Klassendiagramm für glo::StringLotRecordAttribute:

Öffentliche Methoden

 StringLotRecordAttribute (ClassInfoAttribute *pType, const std::streampos &rFilePos)
 
virtual int takeValue (const BaseRecordAttribute &rT)
 
bool operator== (const StringLotRecordAttribute &rT) const
 Vergleichsoperator.
 
bool operator!= (const StringLotRecordAttribute &rT) const
 Vergleichsoperator.
 
- Öffentliche Methoden geerbt von glo::TypeLotRecordAttribute
 TypeLotRecordAttribute (ClassInfoAttribute *pType, const std::streampos &rFilePos)
 
virtual void addValue (const std::string rsValue)=0
 
bool operator== (const TypeLotRecordAttribute &rT) const
 Vergleichsoperator.
 
bool operator!= (const TypeLotRecordAttribute &rT) const
 Vergleichsoperator.
 
- Öffentliche Methoden geerbt von glo::LotRecordAttribute
 LotRecordAttribute (ClassInfoAttribute *pType, const std::streampos &rFilePos)
 
virtual void clearValueLot ()=0
 
virtual bool dataIsFieldContent () const
 
virtual int getAttributeValueBlob (eut::Blob &rBlob) const
 
virtual unsigned short getDataFieldLength () const
 
virtual std::string getDataReference () const
 
const std::string & getFileName () const
 
virtual int getFormattedFieldContents (std::string &rsRetVal, DATA_REFERENCE_INFO &rRetValInfo, ObjID ObjID)
 
virtual std::string getValueAsDataString () const
 
virtual std::string getValueAsDisplayString () const
 
virtual std::string getValueAsStreamString () const
 
virtual std::string getValueAsString () const
 
virtual std::size_t getValueSize () const =0
 
virtual void initNew ()
 
void setDeterminedFileNameFromAttributeValue (ObjID ObjID)
 
void setFileName (const std::string &rsFileName)
 
virtual int updateDataReference (const std::string &rsDataPath, DATA_REFERENCE_INFO MethodInfo)
 
bool operator== (const LotRecordAttribute &rT) const
 Vergleichsoperator.
 
bool operator!= (const LotRecordAttribute &rT) const
 Vergleichsoperator.
 
- Öffentliche Methoden geerbt von glo::BaseRecordAttribute
 BaseRecordAttribute (ClassInfoAttribute *pClassInfoAttribut, const std::streampos &rFilePos)
 
virtual ~BaseRecordAttribute ()
 
unsigned int forget ()
 
AttributeID getAttributeID () const
 
ClassInfoAttributegetClassInfoAttribute () const
 
std::string getClassMemberName () const
 
std::string getClassName () const
 
virtual BaseRecordAttributegetCopy ()=0
 
EnDataType getDataType () const
 
std::string getFieldName () const
 
int getFieldPos ()
 
std::streampos getFilePosition () const
 
EnDataTypeGroup getInfoType ()
 
unsigned int getReferenceCount () const
 
std::string getTableFieldName () const
 
std::string getTableName () const
 
ClassInfoAttribute::Type getType () const
 
std::string getTypeAsCppString () const
 
std::string getTypeAsString () const
 
std::string getTypeInfo () const
 
virtual void * getValueAsVoidPointer ()=0
 
unsigned int remember ()
 
virtual void setDataReference (const std::string &rsDataReference)
 
void setFilePosition (const std::streampos &rFilePos)
 
virtual int setValueFromObjectAttributeID (Persistent &rObject, const AttributeID &rAttributeID)
 
virtual void setValueFromVoid (void *pValue)=0
 
bool operator== (const BaseRecordAttribute &rT) const
 Vergleichsoperator, es werden alle Attribute verglichen.
 
bool operator!= (const BaseRecordAttribute &rT) const
 Vergleichsoperator, es werden alle Attribute verglichen.
 

Geschützte Methoden

 StringLotRecordAttribute ()
 
 StringLotRecordAttribute (const StringLotRecordAttribute &rT)
 
virtual ~StringLotRecordAttribute ()
 
- Geschützte Methoden geerbt von glo::TypeLotRecordAttribute
 TypeLotRecordAttribute ()
 
 TypeLotRecordAttribute (const TypeLotRecordAttribute &rT)
 
virtual ~TypeLotRecordAttribute ()
 
- Geschützte Methoden geerbt von glo::LotRecordAttribute
 LotRecordAttribute ()
 
 LotRecordAttribute (const LotRecordAttribute &rT)
 
virtual ~LotRecordAttribute ()
 
virtual void streamValueListInFileStream (std::ofstream &rFileStream)=0
 
- Geschützte Methoden geerbt von glo::BaseRecordAttribute
 BaseRecordAttribute ()
 
 BaseRecordAttribute (const BaseRecordAttribute &rT)
 

Private Methoden

StringLotRecordAttributeoperator= (const StringLotRecordAttribute &)
 

Weitere Geerbte Elemente

- Geschützte Attribute geerbt von glo::LotRecordAttribute
std::string m_sFileName
 

Ausführliche Beschreibung

Basisklasse für unterschiedliche String-Kontainer-Attribute eines Record.

Autor
Helmut Jakoby

Beschreibung der Konstruktoren und Destruktoren

◆ StringLotRecordAttribute() [1/3]

glo::StringLotRecordAttribute::StringLotRecordAttribute ( )
protected

Der Standard-Konstruktor steht nicht zur Verfügung.

◆ ~StringLotRecordAttribute()

virtual glo::StringLotRecordAttribute::~StringLotRecordAttribute ( )
protectedvirtual

Der Destruktor steht nicht zur Verfügung. Das Objekt darf nur über forget() aus dem Speicher entfernt werden.

◆ StringLotRecordAttribute() [2/3]

glo::StringLotRecordAttribute::StringLotRecordAttribute ( ClassInfoAttribute * pType,
const std::streampos & rFilePos )

Konstruktor mit Parameterübergabe.

Parameter
[in]pTypeEs wird ein Klasseninformations-Attribut erwartet.
[in]rFilePosDie Dateiposition.
Ausnahmebehandlung
eut::ErrorNExceptionBei einem Fehler wird eine Exception geworfen.
Achtung
Da Objekte dieser Klassen nur von internen Objekten wie Record und TableReaderInterface instanziiert werden, und die wissen was sie tun, wird auf eine Typüberprüfung des Klasseninformations-Attribut verzichtet!

◆ StringLotRecordAttribute() [3/3]

glo::StringLotRecordAttribute::StringLotRecordAttribute ( const StringLotRecordAttribute & rT)
protected

Copy-Konstruktor.

Parameter
[in]rTVon diesem Objekt werden die Daten übernommen.

Dokumentation der Elementfunktionen

◆ operator!=()

bool glo::StringLotRecordAttribute::operator!= ( const StringLotRecordAttribute & rT) const

Vergleichsoperator.

Parameter
[in]rTDas mit diesem zu vergleichende Objekt.

◆ operator=()

StringLotRecordAttribute & glo::StringLotRecordAttribute::operator= ( const StringLotRecordAttribute & )
private

Der Zuweisungsoperator steht nicht zur Verfügung.

◆ operator==()

bool glo::StringLotRecordAttribute::operator== ( const StringLotRecordAttribute & rT) const

Vergleichsoperator.

Parameter
[in]rTDas mit diesem zu vergleichende Objekt.

◆ takeValue()

virtual int glo::StringLotRecordAttribute::takeValue ( const BaseRecordAttribute & rT)
virtual

Übernimmt den Wert aus übergebenen Attribut, wenn möglich. Es wird versucht, den Wert irgendwie zu casten.

In dieser Methode werden all Nicht-String-Kontainer bearbeitet.

Parameter
[in]rTDas persistente Attribut aus dem der Wert übernommen werden soll.
Rückgabe
Es wird eine Fehler- bzw. Warnmeldung geliefert, wenn der Cast nicht funktionier.

Erneute Implementation von glo::TypeLotRecordAttribute.

Erneute Implementation in glo::StringListRecordAttribute, glo::StringSetRecordAttribute und glo::StringVectorRecordAttribute.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: