AGX Dynamics  2.37.2.0
OutputArchive.h File Reference
#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.

Classes

struct  agxStream::OutputArchive::IdEntry
 
struct  agxStream::OutputArchive::ObjectToIdMapContext
 This struct is used to handle id-collisions when using incremental journal. More...
 
class  agxStream::OutputArchive
 Class for writing serialized data in binary format to a stream. More...
 
struct  agxStream::OutputRef< T >
 
struct  agxStream::OutputVal< T >
 

Namespaces

 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).
 

Macros

#define DECLARE_OUTPUT_BASIC_TYPE(TYPE)
 

Typedefs

typedef agx::ref_ptr< OutputArchive > agxStream::OutputArchiveRef
 

Functions

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...
 

Macro Definition Documentation

◆ DECLARE_OUTPUT_BASIC_TYPE

#define DECLARE_OUTPUT_BASIC_TYPE (   TYPE)
Value:
AGXCORE_EXPORT inline agxStream::OutputArchive& operator<<( OutputArchive& out, OutputVal<TYPE> val ) \
{ \
out.beginSection(val.m_name); \
out.write( val.m_obj ); \
out.endSection(val.m_name); \
return out;\
}\
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.
Definition: OutputArchive.h:56
virtual void beginSection(const char *) override
#define AGXCORE_EXPORT

Definition at line 359 of file OutputArchive.h.