|
| | AttributedGraphElement (const std::string &prefix, int) |
| |
| | AttributedGraphElement (const std::string &name) |
| |
| virtual | ~AttributedGraphElement () |
| |
| template<typename Reflector > |
| void | reflect (Reflector &r) |
| |
| virtual void | setAttribute (const std::string &name, AttributePtr attribute) |
| | Sets the given object as attribute with the given name. More...
|
| |
| virtual void | removeAttribute (const std::string &name, const mira::Class &attrClass) |
| | Removes the attribute with the given name and type. More...
|
| |
| template<typename AttributeClass > |
| void | removeAttribute (const std::string &name) |
| | same as above, but easier interface, where datatype is specified as template parameter More...
|
| |
| virtual AttributePtr | getAttributeUntyped (const std::string &name, const mira::Class &clazz, bool inherited=true) |
| | Returns NULL, if no such attribute exsits. More...
|
| |
| template<typename AttributeClass > |
| boost::shared_ptr< AttributeClass > | getAttribute (const std::string &name, bool inherited=true) |
| | Returns NULL, if no such attribute exsits. More...
|
| |
| virtual void | getAllAttributesUntyped (std::map< std::string, AttributePtr > &oAttributes, const mira::Class &clazz, bool inherited=true) |
| |
| template<typename AttributeClass > |
| std::map< std::string, boost::shared_ptr< AttributeClass > > | getAllAttributes (bool inherited=true) |
| |
| template<typename AttributeClass > |
| boost::shared_ptr< AttributeClass > | obtainAttribute (const std::string &name) |
| | Similar to getAttribute, but this method will create the attribute, if it does not exist yet. More...
|
| |
| virtual void | setName (const std::string &name) |
| |
| virtual const std::string & | getName () const |
| |
| virtual GraphElementPtr | findElement (const std::string &predicate) |
| |
| virtual const GraphElementPtr | findElement (const std::string &predicate) const |
| |