17 #ifndef AGXDATA_ENTITYINSTANCE_H
18 #define AGXDATA_ENTITYINSTANCE_H
76 agxData::EntityData* getData();
77 const agxData::EntityData* getData()
const;
101 bool isValid()
const;
106 void verifyIndex()
const;
113 bool operator!()
const;
114 operator bool()
const;
122 static void TransformToAscii(
void *targetBuffer,
const void *sourceBuffer,
size_t numElements);
agxData::EntityStorage * getStorage()
Alias for getData()->getStorage()
AGXCORE_EXPORT UInt32 hash(const T &key)
void AGXPHYSICS_EXPORT init()
Initialize agx.
bool operator<(const EntityInstance &rhs) const
bool operator==(const EntityInstance &rhs) const
void init(agxData::EntityData *data, agx::Index index)
Initialize an instance.
Data storage for a collection of entity instances of a specified EntityModel.
agxData::EntityData * getData()
bool operator==(T val, InvalidIndexStruct)
AGXCORE_EXPORT Model * getModel(const Path &path, const Path &_namespace=Path())
bool operator>(const EntityInstance &rhs) const
Entity instance provides access to a single instance in an EntityStorage.
Accessor to a entity instance stored in a EntityStorage, to allow SOA (structure of arrays) data to b...
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
bool operator!=(const EntityInstance &rhs) const
bool operator!() const
Boolean operators, implemented using isValid.
EntityInstance()
Constructors.
An abstract description of a data entity stored using SOA (structure of arrays) pattern in a EntitySt...
AGXTERRAIN_EXPORT TimingStorage & getStorage()
agx::Index getIndex() const
std::ostream & operator<<(std::ostream &output, const Attribute &attribute)
bool operator!=(T val, InvalidIndexStruct)
agxData::EntityData * EntityDataPtr