#include <AttributeElement.h>


Public Member Functions | |
| AttributeElement (const std::string &name, const std::string &type, BaseElement *parent=NULL) | |
| virtual | ~AttributeElement () |
| virtual bool | init () |
| virtual bool | initNode () |
| virtual const char * | getClass () const |
| Get the node class (Scene, Mapping, ...). | |
| void | setValue (const std::string _value) |
Private Attributes | |
| std::string | value |
Definition at line 43 of file AttributeElement.h.
| sofa::simulation::tree::xml::AttributeElement::AttributeElement | ( | const std::string & | name, | |
| const std::string & | type, | |||
| BaseElement * | parent = NULL | |||
| ) |
Definition at line 46 of file AttributeElement.cpp.
| sofa::simulation::tree::xml::AttributeElement::~AttributeElement | ( | ) | [virtual] |
Definition at line 51 of file AttributeElement.cpp.
| const char * sofa::simulation::tree::xml::AttributeElement::getClass | ( | ) | const [virtual] |
Get the node class (Scene, Mapping, ...).
Implements sofa::simulation::tree::xml::BaseElement.
Definition at line 79 of file AttributeElement.cpp.
References sofa::simulation::tree::xml::AttributeNodeClass().
| bool sofa::simulation::tree::xml::AttributeElement::init | ( | void | ) | [virtual] |
Reimplemented from sofa::simulation::tree::xml::BaseElement.
Definition at line 55 of file AttributeElement.cpp.
References sofa::simulation::tree::xml::BaseElement::begin(), sofa::simulation::tree::xml::BaseElement::end(), and initNode().
| bool sofa::simulation::tree::xml::AttributeElement::initNode | ( | ) | [virtual] |
Reimplemented from sofa::simulation::tree::xml::Element< Object >.
Definition at line 66 of file AttributeElement.cpp.
References sofa::core::objectmodel::BaseObjectDescription::getAttribute(), sofa::simulation::tree::xml::BaseElement::getParentElement(), sofa::simulation::tree::xml::BaseElement::setAttribute(), and value.
Referenced by init().
| void sofa::simulation::tree::xml::AttributeElement::setValue | ( | const std::string | _value | ) | [inline] |
Definition at line 56 of file AttributeElement.h.
References value.
Referenced by sofa::simulation::tree::xml::DataElement::initNode().
std::string sofa::simulation::tree::xml::AttributeElement::value [private] |
1.5.7.1