sofa::simulation::tree::xml::Element< Object > Class Template Reference

#include <Element.h>

Inheritance diagram for sofa::simulation::tree::xml::Element< Object >:

Inheritance graph
[legend]
Collaboration diagram for sofa::simulation::tree::xml::Element< Object >:

Collaboration graph
[legend]

Public Types

typedef helper::Factory
< std::string, Object, Element
< Object > * > 
Factory

Public Member Functions

 Element (const std::string &name, const std::string &type, BaseElement *newParent=NULL)
virtual ~Element ()
Object * getTypedObject ()
virtual void setObject (Object *newObject)
virtual core::objectmodel::Base * getObject ()
 Get the associated object.
virtual bool initNode ()

Private Attributes

Object * object

Detailed Description

template<class Object>
class sofa::simulation::tree::xml::Element< Object >

Definition at line 46 of file Element.h.


Member Typedef Documentation

template<class Object >
typedef helper::Factory< std::string, Object, Element<Object>* > sofa::simulation::tree::xml::Element< Object >::Factory

Definition at line 64 of file Element.h.


Constructor & Destructor Documentation

template<class Object >
sofa::simulation::tree::xml::Element< Object >::Element ( const std::string &  name,
const std::string &  type,
BaseElement< Object > *  newParent = NULL 
) [inline]

Definition at line 45 of file Element.inl.

template<class Object >
sofa::simulation::tree::xml::Element< Object >::~Element (  )  [inline, virtual]

Definition at line 51 of file Element.inl.


Member Function Documentation

template<class Object >
core::objectmodel::Base * sofa::simulation::tree::xml::Element< Object >::getObject (  )  [inline, virtual]

template<class Object >
Object * sofa::simulation::tree::xml::Element< Object >::getTypedObject (  )  [inline]

template<class Object >
bool sofa::simulation::tree::xml::Element< Object >::initNode (  )  [inline, virtual]

template<class Object >
void sofa::simulation::tree::xml::Element< Object >::setObject ( Object *  newObject  )  [inline, virtual]


Field Documentation

template<class Object >
Object* sofa::simulation::tree::xml::Element< Object >::object [private]


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

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