|
os::String | GetMimeType () |
| Returns the mimetype. More...
|
|
os::String | GetIdentifier () |
| Returns the identifier. More...
|
|
os::String | GetIcon () |
| Returns the icon path. More...
|
|
os::String | GetDefaultHandler () |
| Returns the default handler. More...
|
|
int | GetExtensionCount () |
| Returns the extension count. More...
|
|
os::String | GetExtension (int nIndex) |
| Returns an extension. More...
|
|
int | GetHandlerCount () |
| Returns the handler count. More...
|
|
os::String | GetHandler (int nIndex) |
| Returns a handler path. More...
|
|
| Message (int nCode=0) |
| Constructor. More...
|
|
| Message (const Message &cMsg) |
| Copy constructor. More...
|
|
| Message (const void *pFlattenedData) |
| Construct a message from a "flattened" buffer. More...
|
|
| ~Message () |
| Destructor. More...
|
|
int | GetCode (void) const |
|
void | SetCode (int nCode) |
|
size_t | GetFlattenedSize (void) const |
| Get the required buffer size needed to "flatten" this message. More...
|
|
status_t | Flatten (uint8 *pBuffer, size_t nSize) const |
| Write the message to a flat data-blob. More...
|
|
status_t | Unflatten (const uint8 *pBuffer) |
| Reconstruct a message from a data-blob created by Flatten(). More...
|
|
status_t | AddData (const char *pzName, int nType, const void *pData, uint32 nSize, bool bFixedSize=true, int nMaxCountHint=1) |
| Add a data member to the message. More...
|
|
status_t | AddObject (const char *pzName, const Flattenable &cVal) |
| Add an object as a member of this message. More...
|
|
status_t | AddMessage (const char *pzName, const Message *pcVal) |
| Add another message object as a member of this message. More...
|
|
status_t | AddPointer (const char *pzName, const void *pVal) |
| Add a pointer to the message. More...
|
|
status_t | AddInt8 (const char *pzName, int8 nVal) |
| Add a 8-bit integer to the message. More...
|
|
status_t | AddInt16 (const char *pzName, int16 nVal) |
| Add a 16-bit integer to the message. More...
|
|
status_t | AddInt32 (const char *pzName, int32 nVal) |
| Add a 32-bit integer to the message. More...
|
|
status_t | AddInt64 (const char *pzName, int64 nVal) |
| Add a 64-bit integer to the message. More...
|
|
status_t | AddBool (const char *pzName, bool bVal) |
| Add a boolean value to the message. More...
|
|
status_t | AddFloat (const char *pzName, float vVal) |
| Add a float to the message. More...
|
|
status_t | AddDouble (const char *pzName, double vVal) |
| Add a double to the message. More...
|
|
status_t | AddRect (const char *pzName, const Rect &cVal) |
|
status_t | AddIRect (const char *pzName, const IRect &cVal) |
|
status_t | AddPoint (const char *pzName, const Point &cVal) |
|
status_t | AddIPoint (const char *pzName, const IPoint &cVal) |
|
status_t | AddColor32 (const char *pzName, const Color32_s &cVal) |
|
status_t | AddString (const char *pzName, const char *pzString) |
| Add a string to the message. More...
|
|
status_t | AddString (const char *pzName, const std::string &cString) |
| Add a string to the message. More...
|
|
status_t | AddString (const char *pzName, const String &cString) |
|
status_t | AddVariant (const char *pzName, const Variant &cVal) |
|
status_t | FindData (const char *pzName, int nType, const void **ppData, size_t *pnSize, int nIndex=0) const |
|
status_t | FindObject (const char *pzName, Flattenable &cVal, int nIndex=0) const |
|
status_t | FindMessage (const char *pzName, Message *ppcVal, int nIndex=0) const |
|
status_t | FindPointer (const char *pzName, void **ppVal, int nIndex=0) const |
|
status_t | FindInt8 (const char *pzName, int8 *pnVal, int nIndex=0) const |
|
status_t | FindInt16 (const char *pzName, int16 *pnVal, int nIndex=0) const |
|
status_t | FindInt32 (const char *pzName, int32 *pnVal, int nIndex=0) const |
|
status_t | FindInt64 (const char *pzName, int64 *pnVal, int nIndex=0) const |
|
status_t | FindBool (const char *pzName, bool *pbVal, int nIndex=0) const |
|
status_t | FindFloat (const char *pzName, float *pvVal, int nIndex=0) const |
|
status_t | FindDouble (const char *pzName, double *pvVal, int nIndex=0) const |
|
status_t | FindRect (const char *pzName, Rect *pcVal, int nIndex=0) const |
|
status_t | FindIRect (const char *pzName, IRect *pcVal, int nIndex=0) const |
|
status_t | FindPoint (const char *pzName, Point *pcVal, int nIndex=0) const |
|
status_t | FindIPoint (const char *pzName, IPoint *pcVal, int nIndex=0) const |
|
status_t | FindColor32 (const char *pzName, Color32_s *pcVal, int nIndex=0) const |
|
status_t | FindString (const char *pzName, const char **pzString, int nIndex=0) const |
|
status_t | FindString (const char *pzName, std::string *pcString, int nIndex=0) const |
|
status_t | FindString (const char *pzName, String *pcString, int nIndex=0) const |
|
status_t | FindVariant (const char *pzName, Variant *pcVal, int nIndex=0) const |
|
template<class T > |
status_t | FindInt (const char *pzName, T *pnVal, int nIndex=0) const |
|
status_t | RemoveData (const char *pzName, int nIndex=0) |
| Delete an element from the message. More...
|
|
status_t | RemoveName (const char *pzName) |
| Remove all entries stored under a given name. More...
|
|
status_t | GetNameInfo (const char *pzName, int *pnType=NULL, int *pnCount=NULL) const |
|
int | CountNames (void) const |
|
String | GetName (int nIndex) const |
|
void | MakeEmpty (void) |
| Clear the message. More...
|
|
bool | IsEmpty (void) const |
|
bool | WasDelivered (void) const |
|
bool | IsSourceWaiting (void) const |
|
bool | IsSourceRemote (void) const |
|
Messenger | ReturnAddress (void) const |
|
bool | IsReply (void) const |
|
status_t | SendReply (int nCode, Handler *pcReplyHandler=NULL) |
|
status_t | SendReply (Message *pcTheReply, Handler *pcReplyHandler=NULL, uint nTimeOut=~0) |
|
status_t | SendReply (int nCode, Message *pcReplyToReply) |
|
status_t | SendReply (Message *pcTheReply, Message *pcReplyToReply, int nSendTimOut=~0, int nReplyTimeOut=~0) |
|
Message & | operator= (const Message &cOther) |
| Copy the content of another message. More...
|
|