sofa::simulation::tree::xml::AttributeElement Class Reference

#include <AttributeElement.h>

Inheritance diagram for sofa::simulation::tree::xml::AttributeElement:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::tree::xml::AttributeElement:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 43 of file AttributeElement.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

bool sofa::simulation::tree::xml::AttributeElement::initNode (  )  [virtual]

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().


Field Documentation

Definition at line 58 of file AttributeElement.h.

Referenced by initNode(), and setValue().


The documentation for this class was generated from the following files:

Generated on Sun Nov 23 04:24:39 2008 for Sofa by  doxygen 1.5.7.1