In file /home/eternity/Source/Common/GMessage/H/fields.h:

class FixedStringField : public StringField

Fixed string field

Inheritance:

FixedStringField < StringField < TableField < Field < Debugable


Public

methods
FixedStringField (Char *aName, Int length, Char *aValue = NULL, LogFile *aLogFile = NULL)
constructor
virtual ~FixedStringField ()
destructor
virtual Field* CreateCopy ()
"copy constructor"
virtual Size SizeOf ()
data checking
virtual Int IsFixed ()
has fixed size ?
virtual Err SetValue (Void *aValue)
conversions
virtual Err ReadFromFile (File *aFile, Size *bytesToEORec)
Read field from file
virtual Err WriteToFile (File *aFile)
Write field to file
virtual Char* AsString ()
other conversions

Protected

attributes
Int length
stored value

Inherited from StringField:

Public Methods

Char* StringField::AsString()
Field* StringField::CreateCopy()
Int StringField::EqualTo(void *aValue)
Err StringField::ReadFromFile(File *aFile, Size *bytesToEORec)
Err StringField::SetValue(Void *aValue)
Size StringField::SizeOf()
StringField::StringField(Char *aName, Char *aValue, LogFile *aLogFile)
Err StringField::WriteToFile(File *aFile)
StringField::~StringField()

Inherited from TableField:


Inherited from Field:

Public Methods

Field::Field(Char *aName, LogFile *aLogFile)
Char* Field::GetName()
Int Field::NameEqualTo(Char *aName)
Void Field::SetName(Char *aName)
Field::~Field()

Inherited from Debugable:

Public Methods

string* Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
Debugable::Debugable(LogFile * debugLogFile)
int Debugable::SetDebugOptions(int newLogOptions)
void Debugable::SetLogFile(LogFile *aLogFile)
void Debugable::WriteString(LogLevel debugLevel, char * format, ...)
Debugable::~Debugable()

Documentation

Fixed string field. TableField, that holds char* value with fixed length
attributes

Int length
stored value

methods

FixedStringField(Char *aName, Int length, Char *aValue = NULL, LogFile *aLogFile = NULL)
constructor

virtual ~FixedStringField()
destructor

virtual Field* CreateCopy()
"copy constructor"

virtual Size SizeOf()
data checking

virtual Int IsFixed()
has fixed size ?

virtual Err SetValue(Void *aValue)
conversions

virtual Err ReadFromFile(File *aFile, Size *bytesToEORec)
Read field from file

virtual Err WriteToFile(File *aFile)
Write field to file

virtual Char* AsString()
other conversions


This class has no child classes.
Author:
Marek, Pavel
See Also:
co_se_toho_tyka

alphabetic index hierarchy of classes


generated by doc++