AGX Dynamics 2.42.3.0
Loading...
Searching...
No Matches
InputArchive.h File Reference
#include <agx/agx.h>
#include <agx/agxCore_export.h>
#include <agx/Vector.h>
#include <agxStream/Archive.h>
#include <agx/String.h>
#include <agx/Name.h>
#include <agx/Vec3.h>
#include <agx/Vec2.h>
#include <agx/Quat.h>
#include <agx/Range.h>
#include <agx/Matrix3x3.h>
#include <agx/SPDMatrix3x3.h>
#include <agxStream/Serializable.h>
#include <agxStream/RestoreListener.h>
#include <agx/Uuid.h>
#include <sstream>

Go to the source code of this file.

Classes

class  agxStream::InputArchive
 Class for reading a binary stream of serialized data. More...
 
struct  agxStream::InputRef< T >
 
struct  agxStream::InputVal< T >
 

Namespaces

namespace  agxStream
 This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serialization).
 

Macros

#define DECLARE_INPUT_BASIC_TYPE(TYPE)
 

Typedefs

typedef agx::ref_ptr< InputArchive > agxStream::InputArchiveRef
 

Functions

template<typename T >
InputRef< T > agxStream::in (const char *name, T &obj)
 Create an object with a name and a reference to the object that should be restored (usually a pointer).
 
template<typename T >
InputVal< T > agxStream::in_val (const char *name, T &obj)
 Create an object with a name and a reference to the object that should be restored.
 
template<typename T >
InputArchive & agxStream::operator>> (InputArchive &in, InputRef< T > val)
 
template<typename T >
InputArchive & agxStream::operator>> (InputArchive &in, InputVal< T > val)
 
template<typename T >
void agxStream::restoreObserverPtr (agxStream::InputArchive &in, const char *name, agx::observer_ptr< T > &observerPtr)
 
template<typename T >
void agxStream::restoreRefPtr (agxStream::InputArchive &in, const char *name, agx::ref_ptr< T > &refPtr)
 

Macro Definition Documentation

◆ DECLARE_INPUT_BASIC_TYPE

#define DECLARE_INPUT_BASIC_TYPE (   TYPE)
Value:
AGXCORE_EXPORT inline agxStream::InputArchive& operator>>( InputArchive& in, InputVal<TYPE> val ) \
{ \
in.beginSection(val.m_name); \
in.read( val.m_obj ); \
in.endSection(val.m_name); \
return in;\
} \
inline InputVal<TYPE> in(const char *name, TYPE& obj) { return InputVal<TYPE>(name, obj); }
#define AGXCORE_EXPORT
Class for reading a binary stream of serialized data.
Definition: InputArchive.h:51

Definition at line 415 of file InputArchive.h.