class PosLmCategorySerialization |
This class contains helper methods for landmark category serialization. A landmark category can be packed into a buffer with PackL method and unpacked back with UnpackL method.
Public Member Functions | |
---|---|
IMPORT_C HBufC8 * | PackL (const CPosLandmarkCategory &) |
IMPORT_C CPosLandmarkCategory * | UnpackL (const TDesC8 &) |
IMPORT_C HBufC8 * | PackL | ( | const CPosLandmarkCategory & | aCategory | ) | [static] |
Packs category object into a buffer.
All the data is preserved when packing. Database information is not stored. Packed category can be unpacked with UnpackL method.
const CPosLandmarkCategory & aCategory | The category to be packed. |
IMPORT_C CPosLandmarkCategory * | UnpackL | ( | const TDesC8 & | aBuffer | ) | [static] |
Unpacks a category object, packed with PackL method, from buffer.
All the data is preserved when packing, and restored exactly when unpacking. It means that category ID is valid only for the database, this category was read from.
const TDesC8 & aBuffer | The buffer containing category. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.