Generic message wrapper
![]() | GMessage::CheckSum (char *input, Size len) Kratky_komentar_s_teckou_na_konci |
![]() | GMessage::Clear () Clears all MsgFields |
![]() | GMessage::DebugHeaders (LogFile *aLogFile, Char *aLogLabel, LogLevel aLogLevel) Debugging method |
![]() | GMessage::Delete (Char *aFieldName) Deletes a MsgField |
![]() | GMessage::GMessage (LogFile *aLogFile) Constructor for GMessage |
![]() | GMessage::GMessage (const GMessage *aGMessage, LogFile *aLogFile) Constructor for GMessage |
![]() | GMessage::GMessage (Char *aFileName, LogFile *aLogFile) Constructor - loading structure from a file |
![]() | GMessage::GMessage (Void *aBuffer, Size aSize, LogFile *aLogFile) Constructor - loading structure from a byte stream |
![]() | GMessage::GetAsBasicTime (Char *aFieldName, BasicTime *t) const Returns the contents of a MsgField as an BasicTime |
![]() | GMessage::GetAsBytes (Char *aFieldName, Size *aSize) const Returns the contents of a MsgField as a byte stream |
![]() | GMessage::GetAsFile (Char *aFieldName, Char *aFileName) const Returns the contents of a MsgField as a file |
![]() | GMessage::GetAsGMessage (Char *aFieldName) const Returns the contents of a MsgField as an GMessage |
![]() | GMessage::GetAsID (Char *aFieldName, ID *t) const Returns the contents of a MsgField as an int |
![]() | GMessage::GetAsInt (Char *aFieldName, Int *i) const Returns the contents of a MsgField as an int |
![]() | GMessage::GetAsMsgField (Char *aFieldName) const Returns the contents of a MsgField as a MsgField |
![]() | GMessage::GetAsSize (Char *aFieldName, Size *i) const Returns the contents of a MsgField as an Size |
![]() | GMessage::GetAsString (Char *aFieldName) const Returns the contents of a MsgField as a NULL terminated string |
![]() | GMessage::Initialize () Initialization of attributes called from constructors |
![]() | GMessage::LoadFromBytes (Void *aBuffer, Size aLength) Loads the fields from a byte stream |
![]() | GMessage::LoadFromFile (Char *aFileName) Loads the fields from file |
![]() | GMessage::ReadBytesHeader (Void *aBuffer, Size aLength, Size *aSize, Size *anOffset) Reads the field name + delimitor + size from the byte stream |
![]() | GMessage::ReadFileHeader (File *aFile, Size *aSize) Reads the field name + delimitor + size from the file |
![]() | GMessage::Rename (Char *aFieldName, Char *newFieldName) Changes the name of a MsgField |
![]() | GMessage::SetAsBasicTime (Char *aFieldName, BasicTime aVariable) Sets the contents of a MsgField by copying it from bastime variable |
![]() | GMessage::SetAsBytes (Char *aFieldName, Void *aBuffer, Size aSize) Set the contents of a MsgField by copying it from a byte stream |
![]() | GMessage::SetAsFile (Char *aFieldName, Char *aFileName) Set the contents of a MsgField by copying it from a file |
![]() | GMessage::SetAsGMessage (Char *aFieldName, GMessage *aGMessage) Set the contents of a MsgField by copying it from an GMessage |
![]() | GMessage::SetAsID (Char *aFieldName, ID aVariable) Sets the contents of a MsgField by copying it from int variable |
![]() | GMessage::SetAsInt (Char *aFieldName, Int aVariable) Sets the contents of a MsgField by copying it from int variable |
![]() | GMessage::SetAsMsgField (Char *aFieldName, MsgField *aField) Set the contents of a MsgField by copying it from another MsgField |
![]() | GMessage::SetAsSize (Char *aFieldName, Size aVariable) Kratky_komentar_s_teckou_na_konci |
![]() | GMessage::SetAsString (Char *aFieldName, Char *aString) Set the contents of a MsgField by copying it from a NULL terminated str |
![]() | GMessage::SizeOf () const Returns the size of the eso message in bytes |
![]() | GMessage::StoreToBytes (Size *aSize) const Stores information held by MsgFields into a byte stream |
![]() | GMessage::StoreToFile (Char *aFileName) const Stores information held by MsgFields into a file |
![]() | GMessage::StoreToMsgField (Char *aFieldName) const Stores information held by MsgFields into a newly created MsgField |
![]() | GMessage::Sum (char *input, Size len) Kratky_komentar_s_teckou_na_konci |
![]() | GMessage::WriteBytesHeader (Void *aBuffer, MsgField *aMsgField, Size *anOffset) const Writes the field name + delimitor + size into the byte stream |
![]() | GMessage::WriteFileHeader (File *aFile, MsgField *aMsgField) const Writes the field name + delimitor + size into the file |
![]() | GMessage::~GMessage () Denstructor for GMessage |
![]() | methods
|
![]() | attributes
| ||
![]() | methods |
Generic message wrapper. enables reading and writing of named fields. Each is one of two types: BytesMsgField or FileMsgField, enabling to handle the contents of the field as a byte stream or as a file.Description: This file contains the GMessage class which is used not only for parsing an incoming message or constructing an outcoming one. It is also used as a general information storing mechanism which enables usage of named fields.
Allows nested messages through SetAsMessage, GetAsMessage.
methods
GMessage(LogFile *aLogFile = NULL)
GMessage(const GMessage *, LogFile *aLogFile = NULL)
GMessage(Char *aFileName, LogFile *aLogFile = NULL)
GMessage(Void *aBuffer, Size aSize, LogFile *aLogFile = NULL)
~GMessage()
Size SizeOf() const
Size GMessage::CheckSum(char *input, Size len)
Void GMessage::Clear()
Err GMessage::DebugHeaders(LogFile *aLogFile, Char *aLogLabel, LogLevel aLogLevel)
Err GMessage::Delete(Char *aFieldName)
GMessage::GMessage(LogFile *aLogFile)
GMessage::GMessage(const GMessage *aGMessage, LogFile *aLogFile)
GMessage::GMessage(Char *aFileName, LogFile *aLogFile)
GMessage::GMessage(Void *aBuffer, Size aSize, LogFile *aLogFile)
Err GMessage::GetAsBasicTime(Char *aFieldName, BasicTime *t) const
Void* GMessage::GetAsBytes(Char *aFieldName, Size *aSize) const
Err GMessage::GetAsFile(Char *aFieldName, Char *aFileName) const
GMessage* GMessage::GetAsGMessage(Char *aFieldName) const
Err GMessage::GetAsID(Char *aFieldName, ID *t) const
Err GMessage::GetAsInt(Char *aFieldName, Int *i) const
MsgField* GMessage::GetAsMsgField(Char *aFieldName) const
Err GMessage::GetAsSize(Char *aFieldName, Size *i) const
Char* GMessage::GetAsString(Char *aFieldName) const
Void GMessage::Initialize()
Err GMessage::LoadFromBytes(Void *aBuffer, Size aLength)
Err GMessage::LoadFromFile(Char *aFileName)
Char* GMessage::ReadBytesHeader(Void *aBuffer, Size aLength, Size *aSize, Size *anOffset)
Char* GMessage::ReadFileHeader(File *aFile, Size *aSize)
Err GMessage::Rename(Char *aFieldName, Char *newFieldName)
Err GMessage::SetAsBasicTime(Char *aFieldName, BasicTime aVariable)
Err GMessage::SetAsBytes(Char *aFieldName, Void *aBuffer, Size aSize)
Err GMessage::SetAsFile(Char *aFieldName, Char *aFileName)
Err GMessage::SetAsGMessage(Char *aFieldName, GMessage *aGMessage)
Err GMessage::SetAsID(Char *aFieldName, ID aVariable)
Err GMessage::SetAsInt(Char *aFieldName, Int aVariable)
Err GMessage::SetAsMsgField(Char *aFieldName, MsgField *aField)
Err GMessage::SetAsSize(Char *aFieldName, Size aVariable)
Err GMessage::SetAsString(Char *aFieldName, Char *aString)
Size GMessage::SizeOf() const
Void* GMessage::StoreToBytes(Size *aSize) const
Err GMessage::StoreToFile(Char *aFileName) const
MsgField* GMessage::StoreToMsgField(Char *aFieldName) const
Size GMessage::Sum(char *input, Size len)
Err GMessage::WriteBytesHeader(Void *aBuffer, MsgField *aMsgField, Size *anOffset) const
Err GMessage::WriteFileHeader(File *aFile, MsgField *aMsgField) const
GMessage::~GMessage()
alphabetic index hierarchy of classes
generated by doc++