36 std::map< wxString, X3DNODE* >::iterator ir =
reg.find( aName );
41 reg.emplace( aName, aNode );
52 std::map< wxString, X3DNODE* >::iterator ir =
reg.find( aName );
54 if( ir !=
reg.end() && ir->second == aNode )
69 std::map< wxString, X3DNODE* >::iterator ir =
reg.find( aName );
100 std::list< X3DNODE* >::iterator sL =
m_Children.begin();
101 std::list< X3DNODE* >::iterator eL =
m_Children.end();
120 std::list< X3DNODE* >::iterator sL =
m_Refs.begin();
121 std::list< X3DNODE* >::iterator eL =
m_Refs.end();
163 std::list< X3DNODE* >::iterator np =
173 " * [BUG] delNodeRef() did not find its target." ),
174 __FILE__, __FUNCTION__, __LINE__ );
The base class of all X3D nodes.
void addNodeRef(X3DNODE *aNode)
Add a pointer to a node which references, but does not own, this node.
std::list< X3DNODE * > m_Children
std::list< X3DNODE * > m_BackPointers
wxString GetName(void) const
Return the name of this object.
std::list< X3DNODE * > m_Refs
X3DNODES GetNodeType(void) const
Return the type of this node instance.
X3DNODE * GetParent(void) const
Return a pointer to the parent node of this object or NULL if the object has no parent (ie.
virtual void unlinkRefNode(const X3DNODE *aNode)
Remove pointers to a referenced node; it is invoked by the referenced node upon destruction to ensure...
std::string GetError(void)
void delNodeRef(X3DNODE *aNode)
Remove a pointer to a node which references, but does not own, this node.
virtual void unlinkChildNode(const X3DNODE *aNode)
Remove references to an owned child; it is invoked by the child upon destruction to ensure that the p...
bool DelName(const wxString &aName, X3DNODE *aNode)
std::map< wxString, X3DNODE * > reg
bool AddName(const wxString &aName, X3DNODE *aNode)
X3DNODE * FindName(const wxString &aName)
const wxChar *const traceVrmlPlugin
Flag to enable VRML plugin trace output.
declares some compound types used for VRML
declares base class of X3D tree