![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class is used for writing a GML application schema
Public Member Functions | |
TSLGMLApplicationSchemaWriter () | |
void | destroy () |
bool | write (const char *filename, const TSLGMLApplicationSchema *schema) |
bool | write (char *&bufferPtr, unsigned int &bufferLen, const TSLGMLApplicationSchema *schema) |
void * | operator new (size_t size) |
void * | operator new (size_t size, char *filename, int line) |
Static Public Member Functions | |
static void | deleteBuffer (const char *buffer) |
TSLGMLApplicationSchemaWriter::TSLGMLApplicationSchemaWriter | ( | ) |
|
static |
Buffers provided via the write should be freed by calling this method.
buffer | The buffer to be deleted. |
void TSLGMLApplicationSchemaWriter::destroy | ( | ) |
Destroy this object.
This method must be used instead of delete.
void * TSLGMLApplicationSchemaWriter::operator new | ( | size_t | size | ) |
void * TSLGMLApplicationSchemaWriter::operator new | ( | size_t | size, |
char * | filename, | ||
int | line ) |
When included in an MFC application in debug mode, the debug new expects this to be here. Override it and return the same as the normal one. The library must include it when compiled in release mode, since the user's application may be in debug mode.
bool TSLGMLApplicationSchemaWriter::write | ( | char *& | bufferPtr, |
unsigned int & | bufferLen, | ||
const TSLGMLApplicationSchema * | schema ) |
Writes a GML application schema to a buffer.
bufferPtr | On success, this will be pointed to a buffer containing the written schema. Once this buffer is no longer needed, it should be deleted via the deleteBuffer method. |
bufferLen | On success, this will be populated with the length of the buffer provided in the bufferPtr parameter. |
schema | The GML application schema to write. |
bool TSLGMLApplicationSchemaWriter::write | ( | const char * | filename, |
const TSLGMLApplicationSchema * | schema ) |
Writes a GML application schema to the location specified.
filename | The location to write the GML application schema to. |
schema | The GML application schema to write. |