Message field
![]() | MsgField::CreateCopyOfValue () Creates a copy of "size" bytes starting from the position "value" points to |
![]() | MsgField::EqualTo (MsgField *aMsgField) Returns 1 if this field's content equals to the content of the given field |
![]() | MsgField::GetAsID ( ID *t) Kratky_komentar_s_teckou_na_konci |
![]() | MsgField::GetAsString () Returns a copy of the stored information as a NULL-terminated string |
![]() | MsgField::MsgField (Char *aFieldName, LogFile *aLogFile) MsgField constructor |
![]() | MsgField::NewMsgField (Size aSize, Char *aFieldName, LogFile *aLogFile) According to "aSize" creates Bytes/ or FileMsgField |
![]() | MsgField::SetAsString (Char *aString) Gets (and stores) the information from a NULL-terminated string |
![]() | 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.
methods
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()
alphabetic index hierarchy of classes
generated by doc++