AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
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

namespace  agx
 The agx namespace contains the dynamics/math part of the AGX Dynamics API.
 
namespace  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.
 
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.
 

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); }
std::ostream & operator<<(std::ostream &o, const agx::Vec6 &v)
Definition: Vec6.h:230
#define AGXCORE_EXPORT
Class for writing serialized data in binary format to a stream.
Definition: OutputArchive.h:57

Definition at line 361 of file OutputArchive.h.