os::Flattenable Class Reference
[Various utillity classes.]

Description:
The os::Flattenable class defines an interface for "flattening" objects.
More...

Inheritance diagram for os::Flattenable:

os::DateTime os::Font os::ShortcutKey List of all members.

Public Member Functions

virtual int GetType (void) const=0
virtual bool TypeIsCompatible (int nType) const
virtual size_t GetFlattenedSize (void) const=0
virtual status_t Flatten (uint8 *pBuffer, size_t nSize) const=0
virtual status_t Unflatten (const uint8 *pBuffer)=0

Detailed Description

Flattening means that all the data in the object is stored in a flat buffer.
See also:
os::Message
Author:
Henrik Isaksson ([email protected])


Member Function Documentation

virtual int os::Flattenable::GetType ( void   )  const [pure virtual]

Implemented in os::DateTime, os::ShortcutKey, and os::Font.

virtual bool os::Flattenable::TypeIsCompatible ( int  nType  )  const [inline, virtual]

virtual size_t os::Flattenable::GetFlattenedSize ( void   )  const [pure virtual]

Implemented in os::DateTime, os::ShortcutKey, and os::Font.

virtual status_t os::Flattenable::Flatten ( uint8 *  pBuffer,
size_t  nSize 
) const [pure virtual]

Implemented in os::DateTime, os::ShortcutKey, and os::Font.

virtual status_t os::Flattenable::Unflatten ( const uint8 *  pBuffer  )  [pure virtual]

Implemented in os::DateTime, os::ShortcutKey, and os::Font.


Generated on Sat May 9 22:51:08 2009 for Syllable higlevel API by  doxygen 1.5.1