Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_PROPERTYLIST_H
12 #define GAUDIKERNEL_PROPERTYLIST_H
36 bool isRef()
const {
return false; }
66 #endif // GAUDIKERNEL_PROPERTYLIST_H
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
bool assign(const std::string &name, const Property &p)
Property implementation: set property.
const std::vector< Property * > & getProperties() const
Get the complete list of properties.
bool load(Property &p) const override
Property implementation: get property.
bool assign(const Property &p) override
Property implementation: set property.
const Property & getProperty(std::string_view name) const
Get the property with a given name.
void addProperty(Property &p)
Add a property to the list.
void removeProperty(Property &p)
Remove a property from the list.
PropertyList(const std::string &name)
Constructor giving a name.
bool load(const std::string &name, Property &p) const
Property implementation: get property.
void removeProperty(const std::string &name)
Remove a property from the list.
std::vector< Property * > m_propertyList
virtual ~PropertyList()
Virtual destructor.
PropertyList()
Constructor.
void addProperty(const std::string &name, Property &p)
Add a property to the list.
bool isRef() const
Accessor members (const)