| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/attributecomposite.h>

Public Member Functions | |
| AttributeComposite () | |
| Constructs an empty composite. | |
| unsigned int | size () const |
| Returns the number of contained attributes. | |
| void | prepend (Attribute *attribute) |
| Prepends a new attribute. | |
| void | append (Attribute *attribute) |
| Appens a new attribute. | |
| void | insert (unsigned int index, Attribute *attribute) |
| Inserts an attribute at the given position. | |
| void | remove (unsigned int index) |
| Removes the attribute at the given position. | |
| void | erase (Attribute *attribute) |
| Removes the given attribute. | |
| void | clear () |
| Removes all attributes. | |
| Attribute * | component (unsigned int index) const |
| Returns the attribute at the given position. | |
| Iterator< SO< Attribute > > * | components () const |
| Returns all contained attributes. | |
| VRS_TYPEINFO (AttributeComposite, MonoAttribute) | |
| VRS_SERIALIZABLE (AttributeComposite) | |
Protected Member Functions | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
| VRS::AttributeComposite::AttributeComposite | ( | ) |
Constructs an empty composite.
| unsigned int VRS::AttributeComposite::size | ( | ) | const |
Returns the number of contained attributes.
| void VRS::AttributeComposite::prepend | ( | Attribute * | attribute | ) |
Prepends a new attribute.
| void VRS::AttributeComposite::append | ( | Attribute * | attribute | ) |
Appens a new attribute.
| void VRS::AttributeComposite::insert | ( | unsigned int | index, | |
| Attribute * | attribute | |||
| ) |
Inserts an attribute at the given position.
| void VRS::AttributeComposite::remove | ( | unsigned int | index | ) |
Removes the attribute at the given position.
| void VRS::AttributeComposite::erase | ( | Attribute * | attribute | ) |
Removes the given attribute.
| void VRS::AttributeComposite::clear | ( | ) |
Removes all attributes.
| Attribute* VRS::AttributeComposite::component | ( | unsigned int | index | ) | const |
Returns the attribute at the given position.
Returns all contained attributes.
| VRS::AttributeComposite::VRS_TYPEINFO | ( | AttributeComposite | , | |
| MonoAttribute | ||||
| ) |
| VRS::AttributeComposite::VRS_SERIALIZABLE | ( | AttributeComposite | ) |
| virtual void VRS::AttributeComposite::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.