![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class for input part of xml serialisation. More...
#include <XmlIArchive.h>
Public Member Functions | |
| std::istream & | getStream () const |
| get underlying serialization stream | |
| void | read (const SerializationIItem< BaseSerializationObject > &item) |
| read an object derived of base class from stream More... | |
| void | read (const SerializationIItem< SerializationObjectPtr > &item) |
| read a shared object derived of base class More... | |
| void | read (void *ptr, ipUInt_t size) |
| read raw data from archive More... | |
Constructors and destructors | |
| XmlIArchive (std::istream &stream) | |
| ~XmlIArchive () | |
| void | archiveHeader () |
| methods allowing to read/write header and footer for an archive More... | |
| void | archiveFooter () |
| methods allowing to read/write header and footer for an archive More... | |
| void | readBaseType (const SerializationIItem< ipBool > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipInt8 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipUInt8 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipInt16 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipUInt16 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipInt32 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipUInt32 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipInt64 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipUInt64 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipReal32 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< ipReal64 > &item) |
| read basic type from stream More... | |
| void | readBaseType (const SerializationIItem< std::string > &item) |
| read basic type from stream More... | |
Public Member Functions inherited from ipsdk::BaseIArchive | |
| BaseIArchive (bool bIsTextArchive) | |
| virtual | ~BaseIArchive () |
Public Member Functions inherited from ipsdk::BaseArchive | |
| 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 | |
| BaseArchive (bool bIsTextArchive) | |
| virtual | ~BaseArchive () |
Protected Member Functions | |
| template<typename T > | |
| void | readBaseData (const SerializationIItem< T > &item) |
| template method for reading base type data More... | |
| void | startSubSection (const std::string &subSectionName) |
| start/end a new sub section for archive | |
| void | endSubSection (const std::string &subSectionName) |
| start/end a new sub section for archive | |
Protected Attributes | |
| ipUInt64 | _curLineIdx |
| current archive line index | |
| std::string | _strTabInc |
| current tab increment for archive | |
| std::istream & | _stream |
| underlying serialization stream | |
Protected Attributes inherited from ipsdk::BaseIArchive | |
| ClassIdMap | _classIdMap |
| class to id map for class serialization | |
| SharedPtrMap | _sharedPtrMap |
| map for shared serializable objects allowing reference counting update | |
Protected Attributes inherited from ipsdk::BaseArchive | |
| ClassVersionMap | _classVersionMap |
| map for class name / class version association | |
| bool | _bIsTextArchive |
| flag indicating whether archive is an human readable text archive | |
Additional Inherited Members | |
Protected Types inherited from ipsdk::BaseIArchive | |
| typedef std::map< ipUInt32, std::string > | ClassIdMap |
| map associating an id to a class name | |
| typedef std::map< ipUInt32, SerializationObjectWeakPtr > | SharedPtrMap |
| map for shared serializable objects | |
Protected Types inherited from ipsdk::BaseArchive | |
| typedef std::map< std::string, ipUInt32 > | ClassVersionMap |
| map associating a class name to its id | |
Class for input part of xml serialisation.
|
virtual |
methods allowing to read/write header and footer for an archive
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Reimplemented from ipsdk::BaseArchive.
|
virtual |
methods allowing to read/write header and footer for an archive
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Reimplemented from ipsdk::BaseArchive.
|
virtual |
read an object derived of base class from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Reimplemented from ipsdk::BaseIArchive.
|
virtual |
read a shared object derived of base class
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Reimplemented from ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read basic type from stream
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
virtual |
read raw data from archive
| size | buffer size expressed in octets |
| ptr | buffer used to store read data |
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
Implements ipsdk::BaseIArchive.
|
protected |
template method for reading base type data
| ipsdk::IPSDKSerializationException | if an error is detected while reading data |
1.8.14