21 # pragma warning( push ) 22 # pragma warning( disable : 4290 ) 65 virtual void write(
char val ) ;
66 virtual void write(
bool val ) ;
77 virtual void write(
float val ) ;
78 virtual void write(
double val ) ;
80 virtual void write(
const char* val ) ;
81 virtual void write(
const std::string& val ) ;
97 virtual void write(
const void* buf,
size_t len ) ;
101 virtual void beginSection(
const char* title );
102 virtual void endSection(
const char* title );
105 virtual void addAttribute(
const char *name,
bool value);
106 virtual void addAttribute(
const char *name,
const char* value);
107 virtual void addAttribute(
const char *name,
char value);
108 virtual void addAttribute(
const char *name,
agx::UInt8 value);
109 virtual void addAttribute(
const char *name,
agx::Int8 value);
110 virtual void addAttribute(
const char *name,
agx::UInt16 value);
111 virtual void addAttribute(
const char *name,
agx::UInt32 value);
112 virtual void addAttribute(
const char *name,
agx::Int32 value);
113 virtual void addAttribute(
const char *name,
agx::UInt64 value);
114 virtual void addAttribute(
const char *name,
float value);
115 virtual void addAttribute(
const char *name,
double value);
116 virtual void addAttribute(
const char *name,
const agx::Uuid& value);
119 void close() { OutputArchive::close(); flush(); }
124 void addString(
const char *str);
135 agx::TiXmlDocument *m_document;
136 agx::TiXmlElement *m_element;
137 agx::TiXmlElement *m_parent;
140 std::stringstream m_stringBuf;
148 # pragma warning( pop )
agx::ref_ptr< XMLOutputArchive > XMLOutputArchiveRef
This struct is used to handle id-collisions when using incremental journal.
void close()
Method for closing the archive, important to call this as it will flush the data to the outputstream...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Smart pointer for handling referenced counted objects.
bool AGXPHYSICS_EXPORT write(const std::string &filename, const agxStream::Serializable *data)
Write a Serializable object to a file.
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
Class for writing serialized data in binary format to a stream.
XML version of an OutputArchive (for storing serialized objects).
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...