SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::simulation::xml::BaseElement::child_iterator< Node > Class Template Reference

#include <BaseElement.h>

Protected Attributes

BaseElementparent
 
ChildList::iterator it
 
Nodecurrent
 

Public Member Functions

 operator Node * ()
 
Nodeoperator-> ()
 
void operator++ ()
 
bool operator== (const child_iterator< Node > &i) const
 

Protected Member Functions

 child_iterator (BaseElement *parent, ChildList::iterator it)
 
void checkIt ()
 

Friends

class BaseElement
 

Attribute details

template<class Node = BaseElement>
Node* sofa::simulation::xml::BaseElement::child_iterator< Node >::current
protected
template<class Node = BaseElement>
ChildList::iterator sofa::simulation::xml::BaseElement::child_iterator< Node >::it
protected
template<class Node = BaseElement>
BaseElement* sofa::simulation::xml::BaseElement::child_iterator< Node >::parent
protected

Constructor details

template<class Node = BaseElement>
sofa::simulation::xml::BaseElement::child_iterator< Node >::child_iterator ( BaseElement parent,
ChildList::iterator  it 
)
inlineprotected

Function details

template<class Node = BaseElement>
void sofa::simulation::xml::BaseElement::child_iterator< Node >::checkIt ( )
inlineprotected
template<class Node = BaseElement>
sofa::simulation::xml::BaseElement::child_iterator< Node >::operator Node * ( )
inline
template<class Node = BaseElement>
void sofa::simulation::xml::BaseElement::child_iterator< Node >::operator++ ( )
inline
template<class Node = BaseElement>
Node* sofa::simulation::xml::BaseElement::child_iterator< Node >::operator-> ( )
inline
template<class Node = BaseElement>
bool sofa::simulation::xml::BaseElement::child_iterator< Node >::operator== ( const child_iterator< Node > &  i) const
inline

Related details

template<class Node = BaseElement>
friend class BaseElement
friend