Basisklasse für unterschiedliche String-Kontainer-Attribute eines Record. Mehr ...
#include <GloStringLotRecordAttribute.h>
Ö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. | |
![]() | |
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. | |
![]() | |
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. | |
![]() | |
BaseRecordAttribute (ClassInfoAttribute *pClassInfoAttribut, const std::streampos &rFilePos) | |
virtual | ~BaseRecordAttribute () |
unsigned int | forget () |
AttributeID | getAttributeID () const |
unsigned long | getClassID () const |
ClassInfoAttribute * | getClassInfoAttribute () const |
std::string | getClassMemberName () const |
std::string | getClassName () const |
virtual BaseRecordAttribute * | getCopy ()=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 () |
![]() | |
TypeLotRecordAttribute () | |
TypeLotRecordAttribute (const TypeLotRecordAttribute &rT) | |
virtual | ~TypeLotRecordAttribute () |
![]() | |
LotRecordAttribute () | |
LotRecordAttribute (const LotRecordAttribute &rT) | |
virtual | ~LotRecordAttribute () |
virtual void | streamValueListInFileStream (std::ofstream &rFileStream)=0 |
![]() | |
BaseRecordAttribute () | |
BaseRecordAttribute (const BaseRecordAttribute &rT) | |
Private Methoden | |
StringLotRecordAttribute & | operator= (const StringLotRecordAttribute &) |
Weitere Geerbte Elemente | |
![]() | |
std::string | m_sFileName |
Basisklasse für unterschiedliche String-Kontainer-Attribute eines Record.
|
protected |
Der Standard-Konstruktor steht nicht zur Verfügung.
Wird benutzt von StringLotRecordAttribute(), operator!=(), operator=() und operator==().
|
protectedvirtual |
Der Destruktor steht nicht zur Verfügung. Das Objekt darf nur über forget() aus dem Speicher entfernt werden.
glo::StringLotRecordAttribute::StringLotRecordAttribute | ( | ClassInfoAttribute * | pType, |
const std::streampos & | rFilePos ) |
Konstruktor mit Parameterübergabe.
[in] | pType | Es wird ein Klasseninformations-Attribut erwartet. |
[in] | rFilePos | Die Dateiposition. |
eut::ErrorNException | Bei einem Fehler wird eine Exception geworfen. |
|
protected |
Copy-Konstruktor.
[in] | rT | Von diesem Objekt werden die Daten übernommen. |
Benutzt StringLotRecordAttribute().
bool glo::StringLotRecordAttribute::operator!= | ( | const StringLotRecordAttribute & | rT | ) | const |
Vergleichsoperator.
[in] | rT | Das mit diesem zu vergleichende Objekt. |
Benutzt StringLotRecordAttribute().
|
private |
Der Zuweisungsoperator steht nicht zur Verfügung.
Benutzt StringLotRecordAttribute().
bool glo::StringLotRecordAttribute::operator== | ( | const StringLotRecordAttribute & | rT | ) | const |
Vergleichsoperator.
[in] | rT | Das mit diesem zu vergleichende Objekt. |
Benutzt StringLotRecordAttribute().
|
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.
[in] | rT | Das persistente Attribut aus dem der Wert übernommen werden soll. |
Erneute Implementation von glo::TypeLotRecordAttribute.
Erneute Implementation in glo::StringListRecordAttribute, glo::StringSetRecordAttribute und glo::StringVectorRecordAttribute.