Serialization.
Macros | |
#define | DW_MAPS_SERIALIZATION_FORMAT_XML_VERSION 5 |
Enumerations | |
enum | dwMapsSerializationFormat { DW_MAPS_SERIALIZATION_FORMAT_BINARY = 0, DW_MAPS_SERIALIZATION_FORMAT_XML = 1 } |
Serialization formats. More... | |
Functions | |
DW_API_PUBLIC dwStatus | dwMaps_serialize (const char *filename, dwMapsSerializationFormat format, dwConstMapHandle_t mapHandle) |
Stores current map content into a file. More... | |
#define DW_MAPS_SERIALIZATION_FORMAT_XML_VERSION 5 |
DW_API_PUBLIC dwStatus dwMaps_serialize | ( | const char * | filename, |
dwMapsSerializationFormat | format, | ||
dwConstMapHandle_t | mapHandle | ||
) |
Stores current map content into a file.
[in] | filename | File to store the map data. Gets overwritten if it exists. |
[in] | format | Serialization format. |
[in] | mapHandle | Map to serialize. |