54 Properties::BaseProperty::BaseProperty()
58 Properties::BaseProperty::~BaseProperty()
62 Properties::Properties()
67 Properties::~Properties()
81 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
95 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
99 property_names_.clear();
117 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
119 (*it)->insert_at(_index);
134 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
136 (*it)->remove_at(_index);
147 if(property_names_.find(_name) == property_names_.end())
void insert_property_at(int _index)
Inserts a property for a new object at the given index.
void remove_property_at(int _index)
Removes a property for an object that is being deleted from the derived class.
The header for the properties, one file for all objects.
void clean_properties()
While preserving the properties themself, all values in the property are deleted. ...
bool has_property(std::string _name)
Returns true if a property with the given name exists.
void clear_properties()
Deletes all properties, including their values.