![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Class for output part of binary serialisation. More...
#include <BinaryOArchive.h>
Public Member Functions | |
| std::ostream & | getStream () const |
| get underlying serialization stream | |
| void | write (const void *ptr, ipUInt_t size) |
| write raw data to archive More... | |
Constructors and destructors | |
| BinaryOArchive (std::ostream &stream) | |
| ~BinaryOArchive () | |
| 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 | writeBaseType (const SerializationOItem< ipBool > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipInt8 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipUInt8 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipInt16 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipUInt16 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipInt32 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipUInt32 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipInt64 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipUInt64 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipReal32 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< ipReal64 > &item) |
| write basic type to stream More... | |
| void | writeBaseType (const SerializationOItem< std::string > &item) |
| write basic type to stream More... | |
Public Member Functions inherited from ipsdk::BaseOArchive | |
| virtual void | write (const SerializationOItem< BaseSerializationObject > &item) |
| write an object derived of base class More... | |
| virtual void | write (const SerializationOItem< SerializationObjectConstPtr > &item) |
| write a shared object derived of base class More... | |
| BaseOArchive (bool bIsTextArchive) | |
| virtual | ~BaseOArchive () |
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 | |
| void | writeBinary (const void *ptr, ipUInt_t size) |
| write data pointer into binary format | |
Protected Member Functions inherited from ipsdk::BaseArchive | |
| 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 | |
| std::ostream & | _stream |
| underlying serialization stream | |
Protected Attributes inherited from ipsdk::BaseOArchive | |
| 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::BaseOArchive | |
| typedef std::map< std::string, ipUInt32 > | ClassIdMap |
| map asociating a class name with an id | |
| typedef std::map< const BaseSerializationObject *, ipUInt32 > | 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 output part of binary serialisation.
|
virtual |
methods allowing to read/write header and footer for an archive
| ipsdk::IPSDKSerializationException | if an error is detected while writing 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 writing data |
Reimplemented from ipsdk::BaseArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write basic type to stream
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
|
virtual |
write raw data to archive
| size | buffer size expressed in octets |
| ptr | buffer used to read written data |
| ipsdk::IPSDKSerializationException | if an error is detected while writing data |
Implements ipsdk::BaseOArchive.
1.8.14