2 #include "DynamicAttributeField.h" 63 map<string, int> m_name_to_index;
64 vector<DynamicFieldPtr> m_fields;
void RemoveAllDynamicFields()
remove all dynamic fields
Definition: DynamicAttributesSet.cpp:103
const char * GetDynamicFieldNameByIndex(int nIndex)
get field name by index
Definition: DynamicAttributesSet.cpp:41
CDynamicAttributeField * GetDynamicField(const std::string &sName)
Get a dynamic field with a given name.
Definition: DynamicAttributesSet.cpp:30
different physics engine has different winding order.
Definition: EventBinding.h:32
represent any kind of static or animated variable, such as: string, double, float, int, bool, Vector3, Quaternion, or animated data with multiple time, value keys.
Definition: Variable.h:75
int GetDynamicFieldIndex(const std::string &sName)
get field index
Definition: DynamicAttributesSet.cpp:21
int SetDynamicField(const std::string &sName, const CVariable &value)
set a dynamic field with a given name.
Definition: DynamicAttributesSet.cpp:53
Definition: enum_maker.hpp:46
int LoadDynamicFieldsFromString(const string &input)
load only text dynamic fields from string
int AddDynamicField(const std::string &sName, ATTRIBUTE_FIELDTYPE dwType)
add dynamic field and return field index
Definition: DynamicAttributesSet.cpp:89
int SaveDynamicFieldsToString(string &output)
save only text dynamic fields to fieldname = value text strings.
a group of dynamic attributes
Definition: DynamicAttributesSet.h:7
for a dynamic attribute field.
Definition: DynamicAttributeField.h:11
int GetDynamicFieldCount()
how many dynamic field this object currently have.
Definition: DynamicAttributesSet.cpp:48
ATTRIBUTE_FIELDTYPE
a list of all attribute type this is also used for all variable type supported.
Definition: Variable.h:10