|
iDRS™ SDK 16
|
Interface for CSerialization wrapper. More...
Go to the source code of this file.
Functions | |
| CSerialization | CSerialization_Create (const CIDRS argIdrs, enum SerializationFormat const evSerializationVersion, idrs_exception *pargException) |
| Create the CSerialization instance. | |
| CSerialization | CSerialization_Create2 (const CIDRS argIdrs, idrs_exception *pargException) |
| Create the CSerialization instance. | |
| CPage | CSerialization_LoadPage (const CSerialization argCSerialization, const idrs_string strFileName, idrs_exception *pargException) |
| LoadPage loads a page from its serialized format. | |
| CPage | CSerialization_LoadPage2 (const CSerialization argCSerialization, IByteStream argStream, idrs_exception *pargException) |
| LoadPage loads a page from its serialized format. | |
| void | CSerialization_SavePage (const CSerialization argCSerialization, const CPage argPage, const idrs_string strFileName, idrs_exception *pargException) |
| SavePage saves a page object into its serialized format. | |
| void | CSerialization_SavePage2 (const CSerialization argCSerialization, const CPage argPage, IByteStream argStream, idrs_exception *pargException) |
| SavePage saves a page object into its serialized format. | |
| CPageContent | CSerialization_LoadPageContent (const CSerialization argCSerialization, const idrs_string strFileName, idrs_exception *pargException) |
| LoadPageContent loads page content from the given file. | |
| CPageContent | CSerialization_LoadPageContent2 (const CSerialization argCSerialization, IByteStream argStream, idrs_exception *pargException) |
| LoadPageContent loads zones from the given stream. | |
| void | CSerialization_SavePageContent (const CSerialization argCSerialization, const CPageContent argPageContent, const idrs_string strFileName, idrs_exception *pargException) |
| SavePage saves a page's content into its serialized format. | |
| void | CSerialization_SavePageContent2 (const CSerialization argCSerialization, const CPageContent argPageContent, IByteStream argStream, idrs_exception *pargException) |
| SavePage saves a page's content into its serialized format. | |
| void | CSerialization_SetFormat (CSerialization argCSerialization, enum SerializationFormat const evSerializationVersion, idrs_exception *pargException) |
| Set the serialization format which will be used when saving a page or its content. | |
| enum SerializationFormat | CSerialization_GetFormat (const CSerialization argCSerialization, idrs_exception *pargException) |
| Get the serialization format which will be used when saving a page or its content. | |
| void | CSerialization_Destroy (CSerialization argCSerialization, idrs_exception *pargException) |
| Destroys a CSerialization handle. | |
Interface for CSerialization wrapper.
| CSerialization CSerialization_Create | ( | const CIDRS | argIdrs, |
| enum SerializationFormat const | evSerializationVersion, | ||
| idrs_exception * | pargException | ||
| ) |
Create the CSerialization instance.
| argIdrs | The iDRS instance |
| evSerializationVersion | The format to save to |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CSerialization CSerialization_Create2 | ( | const CIDRS | argIdrs, |
| idrs_exception * | pargException | ||
| ) |
Create the CSerialization instance.
| argIdrs | The iDRS instance |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CSerialization_Destroy | ( | CSerialization | argCSerialization, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CSerialization handle.
| argCSerialization | CSerialization handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum SerializationFormat CSerialization_GetFormat | ( | const CSerialization | argCSerialization, |
| idrs_exception * | pargException | ||
| ) |
Get the serialization format which will be used when saving a page or its content.
| argCSerialization | CSerialization handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPage CSerialization_LoadPage | ( | const CSerialization | argCSerialization, |
| const idrs_string | strFileName, | ||
| idrs_exception * | pargException | ||
| ) |
LoadPage loads a page from its serialized format.
| argCSerialization | CSerialization handle |
| strFileName | The name of the serialized file. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPage CSerialization_LoadPage2 | ( | const CSerialization | argCSerialization, |
| IByteStream | argStream, | ||
| idrs_exception * | pargException | ||
| ) |
LoadPage loads a page from its serialized format.
| argCSerialization | CSerialization handle |
| argStream | The input stream |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageContent CSerialization_LoadPageContent | ( | const CSerialization | argCSerialization, |
| const idrs_string | strFileName, | ||
| idrs_exception * | pargException | ||
| ) |
LoadPageContent loads page content from the given file.
| argCSerialization | CSerialization handle |
| strFileName | The name of the file. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageContent CSerialization_LoadPageContent2 | ( | const CSerialization | argCSerialization, |
| IByteStream | argStream, | ||
| idrs_exception * | pargException | ||
| ) |
LoadPageContent loads zones from the given stream.
| argCSerialization | CSerialization handle |
| argStream | The input stream |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CSerialization_SavePage | ( | const CSerialization | argCSerialization, |
| const CPage | argPage, | ||
| const idrs_string | strFileName, | ||
| idrs_exception * | pargException | ||
| ) |
SavePage saves a page object into its serialized format.
| argCSerialization | CSerialization handle |
| argPage | The page |
| strFileName | The name of the file to save to. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CSerialization_SavePage2 | ( | const CSerialization | argCSerialization, |
| const CPage | argPage, | ||
| IByteStream | argStream, | ||
| idrs_exception * | pargException | ||
| ) |
SavePage saves a page object into its serialized format.
| argCSerialization | CSerialization handle |
| argPage | The page |
| argStream | The output stream to save to. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CSerialization_SavePageContent | ( | const CSerialization | argCSerialization, |
| const CPageContent | argPageContent, | ||
| const idrs_string | strFileName, | ||
| idrs_exception * | pargException | ||
| ) |
SavePage saves a page's content into its serialized format.
| argCSerialization | CSerialization handle |
| argPageContent | The source page content |
| strFileName | The name of the file. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CSerialization_SavePageContent2 | ( | const CSerialization | argCSerialization, |
| const CPageContent | argPageContent, | ||
| IByteStream | argStream, | ||
| idrs_exception * | pargException | ||
| ) |
SavePage saves a page's content into its serialized format.
| argCSerialization | CSerialization handle |
| argPageContent | The source page content |
| argStream | The output stream. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CSerialization_SetFormat | ( | CSerialization | argCSerialization, |
| enum SerializationFormat const | evSerializationVersion, | ||
| idrs_exception * | pargException | ||
| ) |
Set the serialization format which will be used when saving a page or its content.
| argCSerialization | CSerialization handle |
| evSerializationVersion | The format to save to |
| pargException | Pointer to exception structure that will be filled if an exception occurs |