SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
Go to the documentation of this file.
14 #ifndef smtk_resource_PropertyType_h
15 #define smtk_resource_PropertyType_h
17 #include "smtk/SystemConfig.h"
19 #include "smtk/common/UUID.h"
40 typedef std::vector<Float> FloatList;
41 typedef std::map<std::string, FloatList> FloatData;
42 typedef std::map<smtk::common::UUID, FloatData> UUIDsToFloatData;
43 typedef UUIDsToFloatData::iterator UUIDWithFloatProperties;
44 typedef FloatData::iterator PropertyNameWithFloats;
45 typedef FloatData::const_iterator PropertyNameWithConstFloats;
63 typedef std::vector<long> IntegerList;
64 typedef std::map<std::string, IntegerList> IntegerData;
65 typedef std::map<smtk::common::UUID, IntegerData> UUIDsToIntegerData;
66 typedef UUIDsToIntegerData::iterator UUIDWithIntegerProperties;
67 typedef IntegerData::iterator PropertyNameWithIntegers;
68 typedef IntegerData::const_iterator PropertyNameWithConstIntegers;
The main namespace for the Simulation Modeling Tool Kit (SMTK).
Definition: doc.h:33
StringData::iterator PropertyNameWithStrings
A convenient typedef that describes how the iterator to one string property is used.
Definition: PropertyType.h:58
@ STRING_PROPERTY
Property is an array of strings.
Definition: PropertyType.h:34
@ INVALID_PROPERTY
Property has no storage.
Definition: PropertyType.h:36
UUIDsToStringData::iterator UUIDWithStringProperties
A convenient typedef that describes how an iterator to model-entity string properties is used.
Definition: PropertyType.h:56
std::map< smtk::common::UUID, StringData > UUIDsToStringData
A dictionary of model entities mapped to all the string properties defined on them.
Definition: PropertyType.h:54
@ FLOAT_PROPERTY
Property is an array of floating-point numbers.
Definition: PropertyType.h:33
StringData::const_iterator PropertyNameWithConstStrings
A convenient typedef that describes how the const_iterator to one string property is used.
Definition: PropertyType.h:60
std::map< std::string, StringList > StringData
A dictionary of property names mapped to their values (string vectors)
Definition: PropertyType.h:52
PropertyType
Primitive storage types for model properties.
Definition: PropertyType.h:31
std::string String
Use std::string for holding string values.
Definition: PropertyType.h:48
@ INTEGER_PROPERTY
Property is an array of integers.
Definition: PropertyType.h:35
std::vector< String > StringList
Use vectors of String objects for holding string properties on model entities.
Definition: PropertyType.h:50