16 #ifndef SURGSIM_DATASTRUCTURES_NAMEDVARIANTDATA_H 17 #define SURGSIM_DATASTRUCTURES_NAMEDVARIANTDATA_H 19 #include <boost/any.hpp> 20 #include "SurgSim/DataStructures/NamedData.h" 21 #include "SurgSim/DataStructures/NamedDataBuilder.h" 25 namespace DataStructures
28 typedef NamedDataBuilder<boost::any> NamedVariantDataBuilder;
79 inline bool get(
int index, T* value)
const;
91 inline bool get(
const std::string& name, T* value)
const;
98 #include "SurgSim/DataStructures/NamedVariantData-inl.h" 101 #endif // SURGSIM_DATASTRUCTURES_NAMEDVARIANTDATA_H Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui n...
Definition: AddRandomSphereBehavior.cpp:36
A NamedData collection of variant data type.
Definition: NamedVariantData.h:39
A templated dictionary in which data can be accessed by name or index, with immutable names & indices...
Definition: NamedData.h:102
bool hasTypedData(int index) const
Check whether the entry with the specified index contains valid data.
Definition: NamedVariantData-inl.h:36