AGXDynamics  2.31.1.0
agxStream::XMLOutputArchive Class Reference

XML version of an OutputArchive (for storing serialized objects). More...

#include <XMLOutputArchive.h>

+ Inheritance diagram for agxStream::XMLOutputArchive:

Public Types

typedef agx::HashTable< const Serializable *, IdEntry > ObjectToIdMap
 
typedef agx::HashTable< StorageAgent *, agx::UInt32 > StorageAgentToIdMap
 
typedef agx::Event2< const Serializable *, agx::UInt32 > StoreEvent
 

Public Member Functions

 XMLOutputArchive (std::ostream &outputStream)
 Constructor that creates a XML based output archive. More...
 
 XMLOutputArchive (std::ostream &outputStream, ObjectToIdMap &mapCache)
 
virtual void addAttribute (const char *name, bool value)
 
virtual void addAttribute (const char *name, const char *value)
 
virtual void addAttribute (const char *name, char value)
 
virtual void addAttribute (const char *name, agx::UInt8 value)
 
virtual void addAttribute (const char *name, agx::Int8 value)
 
virtual void addAttribute (const char *name, agx::UInt16 value)
 
virtual void addAttribute (const char *name, agx::UInt32 value)
 
virtual void addAttribute (const char *name, agx::Int32 value)
 
virtual void addAttribute (const char *name, agx::UInt64 value)
 
virtual void addAttribute (const char *name, float value)
 
virtual void addAttribute (const char *name, double value)
 
virtual void addAttribute (const char *name, const agx::Uuid &value)
 
bool addModification (const char *str)
 Add a modification string that will be stored in the archive. More...
 
template<typename T >
T * as ()
 Subclass casting. More...
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match. More...
 
template<typename T >
const T * asSafe () const
 
virtual void beginSection (const char *title)
 
void close ()
 Method for closing the archive, important to call this as it will flush the data to the outputstream. More...
 
virtual void endSection (const char *title)
 
bool getBinaryMode () const
 
bool getEndianMatch () const
 
int getNumObjectsSkipped () const
 
int getNumObjectsWritten () const
 
const ObjectToIdMap & getObjectToIdMap () const
 
int getReferenceCount () const
 
std::ostream & getStream ()
 Return a reference to the output stream. More...
 
bool getUseCurrentDate ()
 Return if the current date (and time) at execution time should be used when creating archive, or if the build date should be used. More...
 
agx::UInt32 getWriteBufferSize () const
 
bool hasModification (const agx::String &modification) const
 
template<typename T >
bool is () const
 Subclass test. More...
 
bool isOpen () const
 
virtual void newAttribute ()
 Called whenever a new item is initiated. More...
 
void open (const std::string &appName)
 Open a new stream and write an archive header with some version information. More...
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void setBinaryMode (bool m)
 
void setObjectToIdMap (const ObjectToIdMap &map)
 
void setWriteBufferSize (agx::UInt32 bufferSize)
 Specify a new buffer size for the write buffer. More...
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
virtual void write (char val)
 
virtual void write (bool val)
 
virtual void write (agx::UInt8 val)
 
virtual void write (agx::Int8 val)
 
virtual void write (agx::Int16 val)
 
virtual void write (agx::UInt16 val)
 
virtual void write (agx::UInt32 val)
 
virtual void write (agx::Int32 val)
 
virtual void write (agx::UInt64 val)
 
virtual void write (agx::Int64 val)
 
virtual void write (float val)
 
virtual void write (double val)
 
virtual void write (const char *val)
 
virtual void write (const std::string &val)
 
virtual void write (const agx::Vec3f &val)
 
virtual void write (const agx::Vec3d &val)
 
virtual void write (const agx::Uuid &val)
 
virtual void write (const void *buf, size_t len)
 This method will write raw data into the archive. More...
 
virtual void write (const agx::String &val)
 
virtual void write (const agx::Name &val)
 
void write (const agx::RangeReal &val)
 
void write (const agx::Vec2f &val)
 
void write (const agx::Vec2d &val)
 
void write (const agx::Vec2i32 &val)
 
void write (const agx::Vec2i64 &val)
 
void write (const agx::Vec3i32 &val)
 
void write (const agx::Vec3i64 &val)
 
void write (const agx::Vec4f &val)
 
void write (const agx::Vec4d &val)
 
void write (const agx::Quat &val)
 
void write (const agx::SPDMatrix3x3 &val)
 
void write (const agx::Matrix3x3d &val)
 
void write (const agx::Matrix3x3f &val)
 
void write (const agx::AffineMatrix4x4f &val)
 
void write (const agx::AffineMatrix4x4d &val)
 
void write (const Serializable *serializable, StorageMode mode)
 
void write (const Serializable &serializable, StorageMode mode)
 
template<typename VECTOR_TYPE >
AGXCORE_EXPORT void write_vector (const agx::String &name, const VECTOR_TYPE &val)
 Write an array of data. More...
 
virtual void writeObjectByRef (const Serializable *obj)
 
virtual void writeObjectByVal (const Serializable &obj)
 

Static Public Member Functions

static void setUseCurrentDate (bool flag)
 Specify if the current date (and time) at execution time should be used when creating archive, or if the build date should be used. More...
 
template<typename T >
static bool ValidateCast (const Referenced *object)
 

Public Attributes

StoreEvent storeEvent
 

Protected Member Functions

 XMLOutputArchive (const XMLOutputArchive &)
 
virtual ~XMLOutputArchive ()
 Destructor. More...
 
void addString (const char *str)
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 
bool flush ()
 
void open ()
 
XMLOutputArchive & operator= (const XMLOutputArchive &)
 
virtual void writeArchiveHeader (const std::string &appName, agx::UInt8 generationVersion, agx::UInt8 majorVersion, agx::UInt8 minorVersion, agx::UInt8 patchVersion, const std::string &revision, agx::UInt16 serializationVersion)
 
void writeBitSize ()
 
virtual void writeHeaderData (agx::UInt32 magic, const std::string &appName, agx::UInt8 generationVersion, agx::UInt8 majorVersion, agx::UInt8 minorVersion, agx::UInt8 patchVersion, const std::string &revision, agx::UInt16 serializationVersion)
 
virtual void writeObjectHeader (StorageMode mode, StorageAgent *agent)
 
virtual void writeTypeHeader (StorageAgent *agent)
 

Static Protected Member Functions

static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More...
 

Protected Attributes

ObjectToIdMap m_defaultCache
 
bool m_isOpen
 
Mutex m_mutex
 
int m_numObjectsSkipped
 
int m_numObjectsWritten
 
ObjectToIdMap & m_objectToIdMap
 
ObserverContainer m_observers
 
std::ostream & m_outputStream
 
AtomicValue m_refCount
 
StorageAgentToIdMap m_storageAgentToIdMap
 

Detailed Description

XML version of an OutputArchive (for storing serialized objects).

The data sent to the outputStream will be human readable. Take more storage and is slower than binary archive, but handy for debugging purposes.

Definition at line 51 of file XMLOutputArchive.h.

Member Typedef Documentation

◆ ObjectToIdMap

Definition at line 68 of file OutputArchive.h.

◆ StorageAgentToIdMap

Definition at line 69 of file OutputArchive.h.

◆ StoreEvent

Definition at line 59 of file OutputArchive.h.

Constructor & Destructor Documentation

◆ XMLOutputArchive() [1/3]

agxStream::XMLOutputArchive::XMLOutputArchive ( std::ostream &  outputStream)

Constructor that creates a XML based output archive.

The precision used for writing real values will be acquired from the stream (stream.precision()). However the minimum precision is 8 significant numbers. Data will only be written to the stream when the archive is either flushed or closed. (or at the destructor of the Archive).

◆ XMLOutputArchive() [2/3]

agxStream::XMLOutputArchive::XMLOutputArchive ( std::ostream &  outputStream,
ObjectToIdMap &  mapCache 
)

◆ ~XMLOutputArchive()

virtual agxStream::XMLOutputArchive::~XMLOutputArchive ( )
protectedvirtual

Destructor.

◆ XMLOutputArchive() [3/3]

agxStream::XMLOutputArchive::XMLOutputArchive ( const XMLOutputArchive &  )
protected

Member Function Documentation

◆ addAttribute() [1/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
bool  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [2/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
const char *  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [3/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
char  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [4/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
agx::UInt8  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [5/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
agx::Int8  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [6/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
agx::UInt16  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [7/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
agx::UInt32  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [8/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
agx::Int32  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [9/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
agx::UInt64  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [10/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
float  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [11/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
double  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addAttribute() [12/12]

virtual void agxStream::XMLOutputArchive::addAttribute ( const char *  name,
const agx::Uuid &  value 
)
virtual

Reimplemented from agxStream::OutputArchive.

◆ addModification()

bool agxStream::OutputArchive::addModification ( const char *  str)
inherited

Add a modification string that will be stored in the archive.

This method need to be called before the open method (because thats when the header is written).

Returns
false if modification already exists

◆ addString()

void agxStream::XMLOutputArchive::addString ( const char *  str)
protected

◆ allocateObserverVector()

void agx::Referenced::allocateObserverVector ( ) const
protectedinherited

◆ as() [1/2]

template<typename T >
T* agx::Referenced::as ( )
inherited

Subclass casting.

Template type must match actual type, dynamic_cast assertion will fail otherwise.

Referenced by agx::InternalData::get(), agxVehicle::Track::getNode(), agx::InternalData::getOrCreate(), and agx::InternalData::hasData().

◆ as() [2/2]

template<typename T >
const T* agx::Referenced::as ( ) const
inherited

◆ asSafe() [1/2]

template<typename T >
T* agx::Referenced::asSafe ( )
inherited

Safe subclass casting, return nullptr if template type does not match.

Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().

◆ asSafe() [2/2]

template<typename T >
const T* agx::Referenced::asSafe ( ) const
inherited

◆ beginSection()

virtual void agxStream::XMLOutputArchive::beginSection ( const char *  title)
virtual

Reimplemented from agxStream::OutputArchive.

◆ close()

void agxStream::XMLOutputArchive::close ( )
inlinevirtual

Method for closing the archive, important to call this as it will flush the data to the outputstream.

Reimplemented from agxStream::OutputArchive.

Definition at line 119 of file XMLOutputArchive.h.

◆ deleteUsingDeleteHandler()

void agx::Referenced::deleteUsingDeleteHandler ( ) const
protectedinherited

◆ endSection()

virtual void agxStream::XMLOutputArchive::endSection ( const char *  title)
virtual

Reimplemented from agxStream::OutputArchive.

◆ flush()

bool agxStream::XMLOutputArchive::flush ( )
protected

◆ getBinaryMode()

bool agxStream::Archive::getBinaryMode ( ) const
inlineinherited
Returns
true if archive is used in binary mode

Definition at line 61 of file Archive.h.

◆ getDeleteHandler()

static DeleteHandler* agx::Referenced::getDeleteHandler ( )
staticprotectedinherited
Returns
a DeleteHandler.

◆ getEndianMatch()

bool agxStream::OutputArchive::getEndianMatch ( ) const
inlineinherited

Definition at line 187 of file OutputArchive.h.

◆ getNumObjectsSkipped()

int agxStream::OutputArchive::getNumObjectsSkipped ( ) const
inlineinherited
Returns
number of objects skipped in writing due to that they have setEnableSerialization(false)

Definition at line 100 of file OutputArchive.h.

References agxStream::write().

◆ getNumObjectsWritten()

int agxStream::OutputArchive::getNumObjectsWritten ( ) const
inlineinherited
Returns
number of objects stored so far

Definition at line 93 of file OutputArchive.h.

◆ getObjectToIdMap()

const ObjectToIdMap& agxStream::OutputArchive::getObjectToIdMap ( ) const
inherited

◆ getReferenceCount()

int agx::Referenced::getReferenceCount ( ) const
inherited
Returns
the number pointers currently referencing this object.

◆ getStream()

std::ostream& agxStream::OutputArchive::getStream ( )
inlineinherited

Return a reference to the output stream.

Definition at line 80 of file OutputArchive.h.

◆ getUseCurrentDate()

bool agxStream::OutputArchive::getUseCurrentDate ( )
inherited

Return if the current date (and time) at execution time should be used when creating archive, or if the build date should be used.

◆ getWriteBufferSize()

agx::UInt32 agxStream::OutputArchive::getWriteBufferSize ( ) const
inherited
Returns
current write buffer

◆ hasModification()

bool agxStream::OutputArchive::hasModification ( const agx::String &  modification) const
inherited
Returns
true if this archive has the specified modification hash

◆ is()

template<typename T >
bool agx::Referenced::is ( ) const
inherited

◆ isOpen()

bool agxStream::Archive::isOpen ( ) const
inlineinherited
Returns
true if archive is open for reading/writing

Definition at line 74 of file Archive.h.

◆ newAttribute()

virtual void agxStream::Archive::newAttribute ( )
inlinevirtualinherited

Called whenever a new item is initiated.

Definition at line 71 of file Archive.h.

◆ open() [1/2]

void agxStream::OutputArchive::open ( const std::string &  appName)
inherited

Open a new stream and write an archive header with some version information.

◆ open() [2/2]

void agxStream::Archive::open ( )
inlineprotectedinherited

Definition at line 116 of file Archive.h.

◆ operator=()

XMLOutputArchive& agxStream::XMLOutputArchive::operator= ( const XMLOutputArchive &  )
protected

◆ reference()

void agx::Referenced::reference ( void *  ptr = nullptr) const
inherited

Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.

This method should be used with care, always balanced with the same number of calls to unreference.

◆ setBinaryMode()

void agxStream::Archive::setBinaryMode ( bool  m)
inlineinherited
Parameters
m- If true this archive is used in binary mode

Definition at line 66 of file Archive.h.

◆ setDeleteHandler()

static void agx::Referenced::setDeleteHandler ( DeleteHandler *  handler)
staticprotectedinherited

Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.

◆ setObjectToIdMap()

void agxStream::OutputArchive::setObjectToIdMap ( const ObjectToIdMap &  map)
inherited

◆ setUseCurrentDate()

static void agxStream::OutputArchive::setUseCurrentDate ( bool  flag)
staticinherited

Specify if the current date (and time) at execution time should be used when creating archive, or if the build date should be used.

Default is enabled.

◆ setWriteBufferSize()

void agxStream::OutputArchive::setWriteBufferSize ( agx::UInt32  bufferSize)
inherited

Specify a new buffer size for the write buffer.

Default = 8192 bytes A call to this method will flush the buffer to the stream if bufferSize is less than the current size

◆ unreference()

void agx::Referenced::unreference ( void *  ptr = nullptr) const
inherited

Decrement the reference count by one, indicating that a pointer to this object is referencing it.

If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.

This method should be used with care, always balanced with the same number of calls to reference.

Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().

◆ unreference_nodelete()

void agx::Referenced::unreference_nodelete ( ) const
inherited

Decrement the reference count by one, indicating that a pointer to this object is referencing it.

However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.

◆ ValidateCast()

template<typename T >
static bool agx::Referenced::ValidateCast ( const Referenced *  object)
staticinherited

◆ write() [1/37]

virtual void agxStream::XMLOutputArchive::write ( char  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [2/37]

virtual void agxStream::XMLOutputArchive::write ( bool  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [3/37]

virtual void agxStream::XMLOutputArchive::write ( agx::UInt8  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [4/37]

virtual void agxStream::XMLOutputArchive::write ( agx::Int8  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [5/37]

virtual void agxStream::XMLOutputArchive::write ( agx::Int16  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [6/37]

virtual void agxStream::XMLOutputArchive::write ( agx::UInt16  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [7/37]

virtual void agxStream::XMLOutputArchive::write ( agx::UInt32  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [8/37]

virtual void agxStream::XMLOutputArchive::write ( agx::Int32  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [9/37]

virtual void agxStream::XMLOutputArchive::write ( agx::UInt64  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [10/37]

virtual void agxStream::XMLOutputArchive::write ( agx::Int64  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [11/37]

virtual void agxStream::XMLOutputArchive::write ( float  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [12/37]

virtual void agxStream::XMLOutputArchive::write ( double  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [13/37]

virtual void agxStream::XMLOutputArchive::write ( const char *  val)
virtual

◆ write() [14/37]

virtual void agxStream::XMLOutputArchive::write ( const std::string &  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [15/37]

virtual void agxStream::XMLOutputArchive::write ( const agx::Vec3f &  val)
virtual

◆ write() [16/37]

virtual void agxStream::XMLOutputArchive::write ( const agx::Vec3d &  val)
virtual

◆ write() [17/37]

virtual void agxStream::XMLOutputArchive::write ( const agx::Uuid &  val)
virtual

Reimplemented from agxStream::OutputArchive.

◆ write() [18/37]

virtual void agxStream::XMLOutputArchive::write ( const void *  buf,
size_t  len 
)
virtual

This method will write raw data into the archive.

Notice that you should always have called beginSection() prior to calling this method. Otherwise it is not compatible with XML output.

The raw data will be encoded before written as string into the XML tree

Parameters
buf- Pointer to the data to be written
len- Number of bytes to write

Reimplemented from agxStream::OutputArchive.

◆ write() [19/37]

virtual void agxStream::OutputArchive::write ( const agx::String &  val)
virtualinherited

◆ write() [20/37]

virtual void agxStream::OutputArchive::write ( const agx::Name &  val)
inlinevirtualinherited

Definition at line 139 of file OutputArchive.h.

References agxStream::write().

◆ write() [21/37]

void agxStream::OutputArchive::write ( const agx::RangeReal &  val)
inherited

◆ write() [22/37]

void agxStream::OutputArchive::write ( const agx::Vec2f &  val)
inherited

◆ write() [23/37]

void agxStream::OutputArchive::write ( const agx::Vec2d &  val)
inherited

◆ write() [24/37]

void agxStream::OutputArchive::write ( const agx::Vec2i32 &  val)
inherited

◆ write() [25/37]

void agxStream::OutputArchive::write ( const agx::Vec2i64 &  val)
inherited

◆ write() [26/37]

void agxStream::OutputArchive::write ( const agx::Vec3i32 &  val)
inherited

◆ write() [27/37]

void agxStream::OutputArchive::write ( const agx::Vec3i64 &  val)
inherited

◆ write() [28/37]

void agxStream::OutputArchive::write ( const agx::Vec4f &  val)
inherited

◆ write() [29/37]

void agxStream::OutputArchive::write ( const agx::Vec4d &  val)
inherited

◆ write() [30/37]

void agxStream::OutputArchive::write ( const agx::Quat &  val)
inherited

◆ write() [31/37]

void agxStream::OutputArchive::write ( const agx::SPDMatrix3x3 &  val)
inherited

◆ write() [32/37]

void agxStream::OutputArchive::write ( const agx::Matrix3x3d &  val)
inherited

◆ write() [33/37]

void agxStream::OutputArchive::write ( const agx::Matrix3x3f &  val)
inherited

◆ write() [34/37]

void agxStream::OutputArchive::write ( const agx::AffineMatrix4x4f &  val)
inherited

◆ write() [35/37]

void agxStream::OutputArchive::write ( const agx::AffineMatrix4x4d &  val)
inherited

◆ write() [36/37]

void agxStream::OutputArchive::write ( const Serializable *  serializable,
StorageMode  mode 
)
inherited

◆ write() [37/37]

void agxStream::OutputArchive::write ( const Serializable &  serializable,
StorageMode  mode 
)
inherited

◆ write_vector()

template<typename VECTOR_TYPE >
AGXCORE_EXPORT void agxStream::OutputArchive::write_vector ( const agx::String &  name,
const VECTOR_TYPE &  val 
)
inherited

Write an array of data.

Only works for agx::VectorPOD<> types.

Parameters
name- name of the vector data
val- The array data to be written.

◆ writeArchiveHeader()

virtual void agxStream::OutputArchive::writeArchiveHeader ( const std::string &  appName,
agx::UInt8  generationVersion,
agx::UInt8  majorVersion,
agx::UInt8  minorVersion,
agx::UInt8  patchVersion,
const std::string &  revision,
agx::UInt16  serializationVersion 
)
protectedvirtualinherited

◆ writeBitSize()

void agxStream::OutputArchive::writeBitSize ( )
protectedinherited

◆ writeHeaderData()

virtual void agxStream::OutputArchive::writeHeaderData ( agx::UInt32  magic,
const std::string &  appName,
agx::UInt8  generationVersion,
agx::UInt8  majorVersion,
agx::UInt8  minorVersion,
agx::UInt8  patchVersion,
const std::string &  revision,
agx::UInt16  serializationVersion 
)
protectedvirtualinherited

◆ writeObjectByRef()

virtual void agxStream::OutputArchive::writeObjectByRef ( const Serializable *  obj)
virtualinherited

◆ writeObjectByVal()

virtual void agxStream::OutputArchive::writeObjectByVal ( const Serializable &  obj)
virtualinherited

◆ writeObjectHeader()

virtual void agxStream::OutputArchive::writeObjectHeader ( StorageMode  mode,
StorageAgent *  agent 
)
protectedvirtualinherited

◆ writeTypeHeader()

virtual void agxStream::OutputArchive::writeTypeHeader ( StorageAgent *  agent)
protectedvirtualinherited

Member Data Documentation

◆ m_defaultCache

ObjectToIdMap agxStream::OutputArchive::m_defaultCache
protectedinherited

Definition at line 277 of file OutputArchive.h.

◆ m_isOpen

bool agxStream::Archive::m_isOpen
protectedinherited

Definition at line 120 of file Archive.h.

◆ m_mutex

Mutex agx::Referenced::m_mutex
mutableprotectedinherited

Definition at line 240 of file Referenced.h.

◆ m_numObjectsSkipped

int agxStream::OutputArchive::m_numObjectsSkipped
protectedinherited

Definition at line 283 of file OutputArchive.h.

◆ m_numObjectsWritten

int agxStream::OutputArchive::m_numObjectsWritten
protectedinherited

Definition at line 282 of file OutputArchive.h.

◆ m_objectToIdMap

ObjectToIdMap& agxStream::OutputArchive::m_objectToIdMap
protectedinherited

Definition at line 278 of file OutputArchive.h.

◆ m_observers

ObserverContainer agx::Referenced::m_observers
mutableprotectedinherited

Definition at line 239 of file Referenced.h.

◆ m_outputStream

std::ostream& agxStream::OutputArchive::m_outputStream
protectedinherited

Definition at line 276 of file OutputArchive.h.

◆ m_refCount

AtomicValue agx::Referenced::m_refCount
mutableprotectedinherited

Definition at line 241 of file Referenced.h.

◆ m_storageAgentToIdMap

StorageAgentToIdMap agxStream::OutputArchive::m_storageAgentToIdMap
protectedinherited

Definition at line 279 of file OutputArchive.h.

◆ storeEvent

StoreEvent agxStream::OutputArchive::storeEvent
inherited

Definition at line 60 of file OutputArchive.h.


The documentation for this class was generated from the following file: