Message field
Void* | MsgField::CreateCopyOfValue () Creates a copy of "size" bytes starting from the position "value" points to |
Int | MsgField::EqualTo (MsgField *aMsgField) Returns 1 if this field's content equals to the content of the given field |
Err | MsgField::GetAsID ( ID *t) Kratky_komentar_s_teckou_na_konci |
Char* | MsgField::GetAsString () Returns a copy of the stored information as a NULL-terminated string |
MsgField::MsgField (Char *aFieldName, LogFile *aLogFile) MsgField constructor | |
MsgField* | MsgField::NewMsgField (Size aSize, Char *aFieldName, LogFile *aLogFile) According to "aSize" creates Bytes/ or FileMsgField |
Err | MsgField::SetAsString (Char *aString) Gets (and stores) the information from a NULL-terminated string |
Err | MsgField::SetValue (Void *aBuffer, Size aSize) Sets "value" and "size" according to "aBuffer" and "aSize" |
MsgField::~MsgField () Destructor for MsgField |
methods | |||||||||||
methods
|
attributes
| |||||
value and size manipulation |
Message field. An abstract base class for storing field information in GMessage. Descendants must be able to set its value getting it either as a byte stream or as a file (file name, respectively).Description: This file contains the MsgField class and its descendants BytesMsgField and FileMsgField. The descendants are used to store information kept in fields of GMessage. BytesMsgField stores the information as a byte stream in memory, FileMsgField stores only a name of a (temporary) file that keeps the information.
NOTE: All constructors and Set../Get.. methods COPY given data.
alphabetic index hierarchy of classes
generated by doc++