24 class SimulationDatabase;
69 template<
typename DATA_TYPE>
73 template<
typename DATA_TYPE>
78 template<
typename DATA_TYPE>
83 template<
typename DATA_TYPE>
89 template<
typename DATA_TYPE>
93 template<
typename DATA_TYPE>
101 virtual bool hasParent()
const;
105 template<
typename COMP_TYPE>
106 COMP_TYPE findParent()
const;
109 virtual int extensionCount()
const;
121 template<
typename COMP_TYPE>
122 COMP_TYPE findTypeExtension(
int index)
const;
125 template<
typename COMP_TYPE>
126 int typeExtensionCount()
const;
128 template<
typename COMP_TYPE>
129 std::vector<COMP_TYPE> getTypeExtensions()
const;
135 template<
typename COMP_TYPE>
139 if (COMP_TYPE::isType(parentId))
141 return COMP_TYPE(parentId);
147 template<
typename COMP_TYPE>
151 int matchedCompCount = -1;
152 for (
int i = 0; i < maxComponents; i++)
155 if (!COMP_TYPE::isType(compId))
161 if (matchedCompCount == index)
163 return COMP_TYPE(compId);
170 template<
typename COMP_TYPE>
175 for (
int i = 0; i < maxComponents; i++)
186 template<
typename COMP_TYPE>
189 std::vector<COMP_TYPE> ret;
191 for (
int i = 0; i < maxComponents; i++)
194 if (COMP_TYPE::isType(compId))
196 ret.push_back(COMP_TYPE(compId));
int typeExtensionCount() const
Definition: writeStateInstance.h:171
COMP_TYPE findParent() const
Definition: writeStateInstance.h:136
std::vector< COMP_TYPE > getTypeExtensions() const
Definition: writeStateInstance.h:187
COMP_TYPE findTypeExtension(int index) const
Definition: writeStateInstance.h:148
virtual Legion::InstanceHandle getParent() const
unsigned int UInt32
Definition: c_api.h:53
A span represents a contiguous array of objects in memory.
Definition: span.h:21
InstanceHandle myInstanceHandle
Definition: writeStateInstance.h:132
UInt32 AttributeSetId
Definition: readStateInstance.h:22
UInt64 GlobalIdentifier
a globally unique identifier
Definition: dataTypes.h:50
#define LEGION_DLL
Definition: legionDataStore/export.h:24
UInt32 AttributeIndex
Definition: readStateInstance.h:21
virtual int extensionCount() const
Array of extension repositories, e.g. EmbeddedSystem and other features.
unsigned int UInt32
Definition: dataTypes.h:44
InstanceHandle instanceHandle() const
Get the instance ID of the simulation object that this state repository references.
Definition: writeStateInstance.h:60
The WriteStateInstance is the base class of all write simulation object repository classes...
Definition: writeStateInstance.h:34
virtual Legion::InstanceHandle getExtension(int index) const
UInt64 InstanceHandle
Definition: readStateInstance.h:20
unsigned long long UInt64
Definition: c_api.h:55