40 std::map< wxString, X3DNODE* >::iterator ir =
reg.find( aName );
45 reg.emplace( aName, aNode );
56 std::map< wxString, X3DNODE* >::iterator ir =
reg.find( aName );
58 if( ir !=
reg.end() && ir->second == aNode )
73 std::map< wxString, X3DNODE* >::iterator ir =
reg.find( aName );
104 std::list< X3DNODE* >::iterator sL =
m_Children.begin();
105 std::list< X3DNODE* >::iterator eL =
m_Children.end();
124 std::list< X3DNODE* >::iterator sL =
m_Refs.begin();
125 std::list< X3DNODE* >::iterator eL =
m_Refs.end();
167 std::list< X3DNODE* >::iterator np =
177 " * [BUG] delNodeRef() did not find its target." ),
178 __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