37 if (obj !=
nullptr && obj->getEnableSerialization())
39 else if (obj ==
nullptr && allowNullptr)
agxStream::OutputArchive & m_archive
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...
agx::Vector< const T * > m_objects
Class for writing serialized data in binary format to a stream.
virtual void addAttribute(const char *name, bool value)
StoreObjects(agxStream::OutputArchive &archive, const char *collectionTitle, const char *elementTitle)
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
virtual void beginSection(const char *) override
const char * m_elementTitle
void push_back(const T2 &value)
virtual void endSection(const char *) override
void push_back(const T *obj, bool allowNullptr)
const char * m_collectionTitle