58 Archive() : m_isOpen(false), m_binaryMode(true) {}
106 const char* m_sectionName;
ArchiveEofException(const std::string &msg)
ArchiveException(const std::string &msg)
Ties a beginSecion/endSection pair to a scope.
ScopedSection(Archive &archive, const char *sectionName, bool shouldWeCreateSection=true)
The data pointed to by 'sectionName' is not copied.
Abstract base class for input/output storage of Serializable classes.
virtual void endSection(const char *)=0
virtual void beginSection(const char *)=0
bool getBinaryMode() const
virtual ~Archive()
Destructor.
virtual void newAttribute()
Called whenever a new item is initiated.
void setBinaryMode(bool m)
EndOfArchiveException(const std::string &msg)
Base class providing referencing counted objects.
Smart pointer for handling referenced counted objects.
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
agx::ref_ptr< Archive > ArchiveRef
const agx::UInt32 ARCHIVE_MAGIC
magic number for archives