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

class FileMsgField : public MsgField

File message field

Inheritance:

FileMsgField < MsgField < Field < Debugable


Public Methods

Field* FileMsgField::CreateCopy ()
returns copy of itself Dlouhy_komentar
FileMsgField::FileMsgField (Char *aFieldName, Char *aFileName, LogFile *aLogFile)
Constructor for FileMsgField
Void* FileMsgField::GetAsBytes (Size *aSize)
Kratky_komentar_s_teckou_na_konci
Err FileMsgField::GetAsFile (Char *aFileName)
Kratky_komentar_s_teckou_na_konci
GMessage* FileMsgField::GetAsGMessage ()
Kratky_komentar_s_teckou_na_konci
File* FileMsgField::OpenFile (Char *aFileMode)
Kratky_komentar_s_teckou_na_konci
Err FileMsgField::ReadFromFile (File *aFile, Size aSize)
Kratky_komentar_s_teckou_na_konci
Err FileMsgField::SetAsBytes (Void *aBuffer, Size aSize)
Kratky_komentar_s_teckou_na_konci
Err FileMsgField::SetAsFile (Char *aFileName)
Kratky_komentar_s_teckou_na_konci
Size FileMsgField::SizeOf ()
Kratky_komentar_s_teckou_na_konci
Err FileMsgField::WriteToFile (File *aFile)
Kratky_komentar_s_teckou_na_konci
FileMsgField::~FileMsgField ()
Destructor - deletes the file that was used to store the information

Public

methods
FileMsgField (Char *aFieldName = NULL, Char *aFileName = NULL, LogFile *aLogFile = NULL)
constructor
virtual ~FileMsgField ()
destructor
virtual Field* CreateCopy ()
"copy constructor"
virtual Size SizeOf ()
Total size

Store value

Get and set value

Protected

methods

Inherited from MsgField:

Public Methods

Void* MsgField::CreateCopyOfValue()
Int MsgField::EqualTo(MsgField *aMsgField)
Err MsgField::GetAsID( ID *t)
Char* MsgField::GetAsString()
MsgField::MsgField(Char *aFieldName, LogFile *aLogFile)
MsgField* MsgField::NewMsgField(Size aSize, Char *aFieldName, LogFile *aLogFile)
Err MsgField::SetAsString(Char *aString)
Err MsgField::SetValue(Void *aBuffer, Size aSize)
MsgField::~MsgField()

Protected

attributes

Void* value
Stored value
Size size
Stored value size

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

File message field. Stores the field information a file. It is only the file name what is kept in operational memory.
methods

methods

FileMsgField(Char *aFieldName = NULL, Char *aFileName = NULL, LogFile *aLogFile = NULL)
constructor

virtual ~FileMsgField()
destructor

virtual Field* CreateCopy()
"copy constructor"

virtual Size SizeOf()
Total size

Store value

Get and set value

Field* FileMsgField::CreateCopy()
returns copy of itself Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

FileMsgField::FileMsgField(Char *aFieldName, Char *aFileName, LogFile *aLogFile)
Constructor for FileMsgField. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Void* FileMsgField::GetAsBytes(Size *aSize)
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err FileMsgField::GetAsFile(Char *aFileName)
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

GMessage* FileMsgField::GetAsGMessage()
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

File* FileMsgField::OpenFile(Char *aFileMode)
Kratky_komentar_s_teckou_na_konci. Nothing but a helpful routine shortening the code. Opens a file that stores the information. :-) Wouldn't you say that?
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err FileMsgField::ReadFromFile(File *aFile, Size aSize)
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err FileMsgField::SetAsBytes(Void *aBuffer, Size aSize)
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err FileMsgField::SetAsFile(Char *aFileName)
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Size FileMsgField::SizeOf()
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

Err FileMsgField::WriteToFile(File *aFile)
Kratky_komentar_s_teckou_na_konci. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka

FileMsgField::~FileMsgField()
Destructor - deletes the file that was used to store the information. Dlouhy_komentar
Returns:
co
Parameters:
parametr -
Author:
Pavel
See Also:
co_se_toho_tyka


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

alphabetic index hierarchy of classes


generated by doc++