25 # pragma warning(push) 26 # pragma warning( disable : 4251 ) // class X needs to have dll-interface to be used by clients of class Y 48 XMLInputArchive& operator=(
const XMLInputArchive& );
56 XMLInputArchive( std::istream& inputStream );
61 virtual void read(
char& val ) ;
62 virtual void read(
bool& val ) ;
74 virtual void read( std::string& val ) ;
77 virtual void read(
float& val ) ;
78 virtual void read(
double& val ) ;
89 virtual void read(
void * buf,
size_t size);
91 virtual size_t getNumBytesRead()
const;
93 virtual void beginSection(
const char* title );
94 virtual void endSection(
const char* title );
101 virtual void getAttribute(
const char *name, std::string& value);
102 virtual void getAttribute(
const char *name,
float& value);
103 virtual void getAttribute(
const char *name,
double& value);
104 virtual void getAttribute(
const char *name,
bool& value);
105 virtual void getAttribute(
const char *name,
char& value);
106 virtual void getAttribute(
const char *name,
agx::Int8& value);
107 virtual void getAttribute(
const char *name,
agx::UInt8& value);
108 virtual void getAttribute(
const char *name,
agx::UInt16& value);
109 virtual void getAttribute(
const char *name,
agx::UInt32& value);
110 virtual void getAttribute(
const char *name,
agx::Int32& value);
111 virtual void getAttribute(
const char *name,
agx::UInt64& value);
112 virtual void getAttribute(
const char *name,
agx::Uuid& value);
116 virtual ~XMLInputArchive();
119 agx::TiXmlElement* getElement(
const char *variable );
130 StackElement(agx::TiXmlNode *parent_arg, agx::TiXmlNode *prev_arg, agx::TiXmlNode *element_arg) :
131 parent(parent_arg), prev(prev_arg), curr(element_arg)
148 # pragma warning(pop)
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
bool AGXPHYSICS_EXPORT read(const std::string &filename, agxStream::SerializablePtrVector &readObjects)
Open and read serializable objects from a file on disk with previously stored objects.
agx::ref_ptr< XMLInputArchive > XMLInputArchiveRef
Vector containing 'raw' data.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Smart pointer for handling referenced counted objects.
A class holding 3 dimensional vectors and providing basic arithmetic.
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distribut...
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...