44#ifdef HAPI_USE_PUGIXML
46 m_node = new PugiXMLNode( static_cast<PugiXMLNode const &>( *a_node.m_node ) );
51 m_node = new HDFNode( static_cast<HDFNode const &>( *a_node.m_node ) );
54 if( m_node ==
nullptr )
throw LUPI::Exception(
"Unsupported m_node type." );
76 return Node( m_node->child( a_name ) );
86 return Node( m_node->first_child( ) );
102 return Node( sibling );
114 m_node->to_next_sibling( );
124 if (NULL != other.m_node)
125 this->m_node = other.m_node->
copy();
139 return std::string(
"");
140 return m_node->name();
154 return m_node->empty();
168 return m_node->text();
182 return Data( m_node->data() );
NodeInteralType type() const
virtual Node_internal * next_sibling()=0
virtual Node_internal * copy()=0
Node next_sibling() const
void to_next_sibling() const
Node & operator=(const Node &other)
Node child(const char *name) const