21 #ifndef GENERATED_AGX_PHYSICS_GRAPHNODE_H_PLUGIN
22 #define GENERATED_AGX_PHYSICS_GRAPHNODE_H_PLUGIN
24 #define AGX_ENTITY_WRAPPER 1
28 # pragma warning(push)
30 # pragma warning( disable : 4505 )
32 # pragma warning( disable : 4251 )
34 # pragma warning( disable : 4355 )
36 # pragma warning( disable: 4714 )
49 namespace agxData {
class EntityPtr; }
59 class GraphNodeInstance;
60 class GraphNodeSemantics;
85 virtual void shutdownCleanup()
override;
102 virtual void configure(agx::TiXmlElement* eEntity)
override;
103 virtual void initAttributeAccessors()
override;
110 #ifndef AGX_PHYSICS_GRAPHNODE_DATA_SET_OVERRIDE
111 #define AGX_PHYSICS_GRAPHNODE_DATA_SET
115 GraphNodeInstance operator[] (
size_t index);
143 virtual ~GraphNodeData() {}
144 virtual void setNumElements(
agx::Index numElements)
override;
147 GraphNodeData& operator= (
const GraphNodeData&) {
return *
this; }
183 friend class GraphNodePtr;
184 friend class GraphNodeInstance;
185 GraphNodeSemantics();
213 GraphNodeData* getData();
214 const GraphNodeData* getData()
const;
265 GraphNodeInstance(GraphNodeData* data,
agx::Index index);
270 GraphNodeData* getData();
271 const GraphNodeData* getData()
const;
328 inline GraphNodeInstance
agx::Physics::GraphNodeData::operator[] (
size_t index) {
return GraphNodeInstance(
this, (
agx::Index)index); }
335 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
342 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
350 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
359 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
366 AGX_FORCE_INLINE GraphNodeSemantics* GraphNodePtr::operator->() {
return (GraphNodeSemantics* )
this; }
367 AGX_FORCE_INLINE const GraphNodeSemantics* GraphNodePtr::operator->()
const {
return (
const GraphNodeSemantics* )
this; }
393 AGX_FORCE_INLINE agx::UInt32 const& GraphNodePtr::subindex()
const { verifyIndex();
return getData()->subindex[calculateIndex()]; }
402 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
409 "Entity type mismatch. Storage contains entity data for type \'%s\', instance pointer is of type \'%s\'",
452 # pragma warning(pop)
455 #undef AGX_ENTITY_WRAPPER
456 #undef AGX_ENTITY_NAMESPACE