#include <agx/agxCore_export.h>
#include <string>
#include <agx/HashTable.h>
#include <agx/Name.h>
#include <agxStream/Archive.h>
#include <agx/String.h>
#include <agx/Vec2.h>
#include <agx/Vec3.h>
#include <agx/Quat.h>
#include <agx/Range.h>
#include <agx/Matrix3x3.h>
#include <agx/SPDMatrix3x3.h>
#include <agx/Uuid.h>
Go to the source code of this file.
|
| | agx |
| | The agx namespace contains the dynamics/math part of the AGX Dynamics API.
|
| |
| | agxStream |
| | This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serialization).
|
| |
|
| template<typename T > |
| OutputArchive & | agxStream::operator<< (OutputArchive &out, OutputRef< T > val) |
| |
| template<typename T > |
| OutputArchive & | agxStream::operator<< (OutputArchive &out, OutputVal< T > val) |
| |
| OutputRef< Serializable > | agxStream::out (const char *name, const Serializable *obj) |
| | Return an object that contain the name and the object that should be serialized to an archive. More...
|
| |
| template<typename T > |
| OutputRef< T > | agxStream::out_val (const char *name, const T &obj) |
| | Return an object that contain the name and the object that should be serialized to an archive. More...
|
| |
◆ DECLARE_OUTPUT_BASIC_TYPE
| #define DECLARE_OUTPUT_BASIC_TYPE |
( |
|
TYPE | ) |
|
Value: { \
out.write( val.m_obj ); \
out.endSection(val.m_name); \
}\
AGXCORE_EXPORT
inline OutputVal<TYPE>
out(
const char *name, TYPE obj) {
return OutputVal<TYPE>(name, obj); }
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...
Class for writing serialized data in binary format to a stream.
virtual void beginSection(const char *) override
Definition at line 359 of file OutputArchive.h.