![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Base class for serialization archives. More...
#include <BaseArchive.h>
Public Member Functions | |
| bool | isTextArchive () const |
| method allowing to test whether archive is an human readable text archive | |
| bool | isClassVersionRegistred (const std::string &className) const |
| check whether a class version has already been registred | |
| void | registerClassVersion (const std::string &className, ipUInt32 version) |
| register a class version More... | |
| ipUInt32 | getRegisterClassVersion (const std::string &className) const |
| get registered class version More... | |
| virtual Guid | getSocketGuid () const |
| retrieve socket guid associated to archive remote computer | |
Constructors and destructors | |
| BaseArchive (bool bIsTextArchive) | |
| virtual | ~BaseArchive () |
| virtual void | archiveHeader () |
| methods allowing to read/write header and footer for an archive More... | |
| virtual void | archiveFooter () |
| methods allowing to read/write header and footer for an archive More... | |
Protected Types | |
| typedef std::map< std::string, ipUInt32 > | ClassVersionMap |
| map associating a class name to its id | |
Protected Member Functions | |
| virtual void | startSubSection (const std::string &subSectionName) |
| start/end a new sub section for a archive | |
| virtual void | endSubSection (const std::string &subSectionName) |
| start/end a new sub section for a archive | |
Protected Attributes | |
| ClassVersionMap | _classVersionMap |
| map for class name / class version association | |
| bool | _bIsTextArchive |
| flag indicating whether archive is an human readable text archive | |
Friends | |
| class | ArchiveSectionManager |
Base class for serialization archives.
|
inlinevirtual |
methods allowing to read/write header and footer for an archive
| ipsdk::IPSDKSerializationException | if read/write error on archive |
Reimplemented in ipsdk::XmlIArchive, ipsdk::XmlOArchive, ipsdk::BinaryIArchive, and ipsdk::BinaryOArchive.
|
inlinevirtual |
methods allowing to read/write header and footer for an archive
| ipsdk::IPSDKSerializationException | if read/write error on archive |
Reimplemented in ipsdk::XmlIArchive, ipsdk::XmlOArchive, ipsdk::BinaryIArchive, and ipsdk::BinaryOArchive.
| void ipsdk::BaseArchive::registerClassVersion | ( | const std::string & | className, |
| ipUInt32 | version | ||
| ) |
register a class version
| ipsdk::IPSDKSerializationException | if isClassVersionRegistred(className) == true |
| ipUInt32 ipsdk::BaseArchive::getRegisterClassVersion | ( | const std::string & | className | ) | const |
get registered class version
| ipsdk::IPSDKSerializationException | if isClassVersionRegistred(className) == false |
1.8.14