7#ifndef CSERIALIZATION_INTERFACE_H
9#define CSERIALIZATION_INTERFACE_H
Interface for CIDRS wrapper.
Interface for CObjPtr wrapper.
Interface for CPageContent wrapper.
CSerialization CSerialization_Create2(const CIDRS argIdrs, idrs_exception *pargException)
Create the CSerialization instance.
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_SavePage(const CSerialization argCSerialization, const CPage argPage, const idrs_string strFileName, idrs_exception *pargException)
SavePage saves a page object into its serialized format.
CPage CSerialization_LoadPage2(const CSerialization argCSerialization, IByteStream argStream, idrs_exception *pargException)
LoadPage loads a page from 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.
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.
void CSerialization_Destroy(CSerialization argCSerialization, idrs_exception *pargException)
Destroys a CSerialization handle.
CPage CSerialization_LoadPage(const CSerialization argCSerialization, const idrs_string strFileName, idrs_exception *pargException)
LoadPage loads a page from its serialized format.
CPageContent CSerialization_LoadPageContent2(const CSerialization argCSerialization, IByteStream argStream, idrs_exception *pargException)
LoadPageContent loads zones from the given stream.
void CSerialization_SavePageContent2(const CSerialization argCSerialization, const CPageContent argPageContent, IByteStream argStream, idrs_exception *pargException)
SavePage saves a page's content into its serialized format.
CSerialization CSerialization_Create(const CIDRS argIdrs, enum SerializationFormat const evSerializationVersion, idrs_exception *pargException)
Create the CSerialization instance.
CPageContent CSerialization_LoadPageContent(const CSerialization argCSerialization, const idrs_string strFileName, idrs_exception *pargException)
LoadPageContent loads page content from the given file.
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.
Interface for EnumDefinitions wrapper.
SerializationFormat
Definition of the available versions of serialization.
Definition EnumDefinitions_interface.h:134
CPageContent represents the results content of CPage.
The CPage class manages a page in the IDRS.
The CSerialization class manages loading and saving of page content for the iDRS.
IByteStream defines the interface required to provide read, write and seek functionalities for a sequ...
Class that handles a string of characters.