Public Member Functions | Private Attributes
FIX::PUGIXML_DOMNode Class Reference

XML node as represented by pugixml. More...

#include <PUGIXML_DOMDocument.h>

Inheritance diagram for FIX::PUGIXML_DOMNode:
Inheritance graph
[legend]
Collaboration diagram for FIX::PUGIXML_DOMNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PUGIXML_DOMNode (pugi::xml_node pNode)
 ~PUGIXML_DOMNode ()
DOMNodePtr getFirstChildNode ()
DOMNodePtr getNextSiblingNode ()
DOMAttributesPtr getAttributes ()
std::string getName ()
std::string getText ()

Private Attributes

pugi::xml_node m_pNode

Detailed Description

XML node as represented by pugixml.

Definition at line 46 of file PUGIXML_DOMDocument.h.


Constructor & Destructor Documentation

FIX::PUGIXML_DOMNode::PUGIXML_DOMNode ( pugi::xml_node  pNode) [inline]

Definition at line 49 of file PUGIXML_DOMDocument.h.

Referenced by getFirstChildNode(), and getNextSiblingNode().

    : m_pNode(pNode) {}

Definition at line 51 of file PUGIXML_DOMDocument.h.

{}

Member Function Documentation

Implements FIX::DOMNode.

Definition at line 58 of file PUGIXML_DOMDocument.cpp.

References m_pNode.

  {
    return DOMAttributesPtr(new PUGIXML_DOMAttributes(m_pNode));
  }

Implements FIX::DOMNode.

Definition at line 44 of file PUGIXML_DOMDocument.cpp.

References m_pNode, and PUGIXML_DOMNode().

  {
    pugi::xml_node pNode = m_pNode.first_child();
    if( !pNode ) return DOMNodePtr();
    return DOMNodePtr(new PUGIXML_DOMNode(pNode));
  }
std::string FIX::PUGIXML_DOMNode::getName ( ) [virtual]

Implements FIX::DOMNode.

Definition at line 63 of file PUGIXML_DOMDocument.cpp.

References m_pNode.

  {
    return m_pNode.name();
  }

Implements FIX::DOMNode.

Definition at line 51 of file PUGIXML_DOMDocument.cpp.

References m_pNode, and PUGIXML_DOMNode().

  {
    pugi::xml_node pNode = m_pNode.next_sibling();
    if( !pNode ) return DOMNodePtr();
    return DOMNodePtr(new PUGIXML_DOMNode(pNode));
  }
std::string FIX::PUGIXML_DOMNode::getText ( ) [virtual]

Implements FIX::DOMNode.

Definition at line 68 of file PUGIXML_DOMDocument.cpp.

References m_pNode.

  {
    return m_pNode.value();
  }

Member Data Documentation

pugi::xml_node FIX::PUGIXML_DOMNode::m_pNode [private]

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

Generated on Mon Sep 15 2014 01:23:57 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001