29#ifndef SN_REPX_COLLECTION_H
30#define SN_REPX_COLLECTION_H
32#include "common/PxTolerancesScale.h"
33#include "extensions/PxRepXSerializer.h"
35namespace physx {
namespace Sn {
44 : liveObject( inItem )
45 , descriptor( inDescriptor )
54 RepXDefaultEntry(
const char* pn,
const char* val ) : name( pn ), value( val ){}
74 : collectionId( inId )
78 bool isValid() {
return result == Success && collectionId != 0; }
107 virtual void destroy() = 0;
136 virtual const char* getVersion() = 0;
137 static const char* getLatestVersion();
150 virtual XmlNode& createRepXNode(
const char* name ) = 0;
152 virtual RepXCollection& createCollection(
const char* inVersionStr ) = 0;
Abstract base class for an application defined memory allocator that can be used by the Nv library.
Definition PxAllocatorCallback.h:53
Collection class for serialization.
Definition PxCollection.h:104
Output stream class for I/O.
Definition PxIO.h:114
Class to define the scale at which simulation runs. Most simulation tolerances are calculated in term...
Definition PxTolerancesScale.h:53
3 Element vector class.
Definition PxVec3.h:50
Definition SnRepXCollection.h:102
virtual void setUpVector(const PxVec3 &inUpVector)=0
virtual void save(PxOutputStream &inStream)=0
virtual PxVec3 getUpVector() const =0
virtual PxTolerancesScale getTolerancesScale() const =0
virtual void setTolerancesScale(const PxTolerancesScale &inScale)=0
Definition SnXmlReader.h:78
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
PxU64 PxSerialObjectId
ID type for PxBase objects in a PxCollection.
Definition PxSerialFramework.h:61
Arguments required to instantiate a serializable object from RepX.
Definition PxRepXSimpleType.h:83
Helper class containing the mapping of id to object, and type name.
Definition PxRepXSimpleType.h:50
Definition SnRepXCollection.h:61
Definition SnRepXCollection.h:40
Definition SnRepXCollection.h:51
Definition SnXmlImpl.h:103