46 Properties::BaseProperty::BaseProperty()
50 Properties::BaseProperty::~BaseProperty()
54 Properties::Properties()
59 Properties::~Properties()
73 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
87 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
91 property_names_.clear();
109 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
111 (*it)->insert_at(_index);
126 for(vector<BaseProperty*>::iterator it = properties_.begin(); it != properties_.end(); ++it)
128 (*it)->remove_at(_index);
139 if(property_names_.find(_name) == property_names_.end())
void clean_properties()
While preserving the properties themself, all values in the property are deleted. ...
void remove_property_at(int _index)
Removes a property for an object that is being deleted from the derived class.
void insert_property_at(int _index)
Inserts a property for a new object at the given index.
bool has_property(std::string _name)
Returns true if a property with the given name exists.
The header for the properties, one file for all objects.
void clear_properties()
Deletes all properties, including their values.