 |
AGXDynamics
2.35.0.3
|
Go to the documentation of this file.
37 if (obj !=
nullptr && obj->getEnableSerialization())
39 else if (obj ==
nullptr && allowNullptr)
StoreObjects(agxStream::OutputArchive &archive, const char *collectionTitle, const char *elementTitle)
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
virtual void beginSection(const char *) override
const char * m_collectionTitle
agx::Vector< const T * > m_objects
agxStream::OutputArchive & m_archive
virtual void endSection(const char *) override
virtual void addAttribute(const char *name, bool value)
Class for writing serialized data in binary format to a stream.
const char * m_elementTitle
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
void push_back(const T *obj, bool allowNullptr)
void push_back(const T2 &value)