Public Member Functions | Private Attributes | List of all members
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]

Public Member Functions

 PUGIXML_DOMNode (pugi::xml_node pNode)
 
 ~PUGIXML_DOMNode ()
 
DOMNodePtr getFirstChildNode ()
 
DOMNodePtr getNextSiblingNode ()
 
DOMAttributesPtr getAttributes ()
 
std::string getName ()
 
std::string getText ()
 
- Public Member Functions inherited from FIX::DOMNode
virtual ~DOMNode ()
 

Private Attributes

pugi::xml_node m_pNode
 

Detailed Description

XML node as represented by pugixml.

Definition at line 63 of file PUGIXML_DOMDocument.h.

Constructor & Destructor Documentation

◆ PUGIXML_DOMNode()

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

Definition at line 66 of file PUGIXML_DOMDocument.h.

66  :
67  PUGIXML_DOMDocument() throw( ConfigError );

◆ ~PUGIXML_DOMNode()

FIX::PUGIXML_DOMNode::~PUGIXML_DOMNode ( )
inline

Definition at line 68 of file PUGIXML_DOMDocument.h.

Member Function Documentation

◆ getAttributes()

DOMAttributesPtr FIX::PUGIXML_DOMNode::getAttributes ( )
virtual

Implements FIX::DOMNode.

Definition at line 75 of file PUGIXML_DOMDocument.cpp.

78  {

◆ getFirstChildNode()

DOMNodePtr FIX::PUGIXML_DOMNode::getFirstChildNode ( )
virtual

Implements FIX::DOMNode.

Definition at line 61 of file PUGIXML_DOMDocument.cpp.

64  {
65  return m_pNode.name();
66  }

◆ getName()

std::string FIX::PUGIXML_DOMNode::getName ( )
virtual

Implements FIX::DOMNode.

Definition at line 80 of file PUGIXML_DOMDocument.cpp.

83  {

◆ getNextSiblingNode()

DOMNodePtr FIX::PUGIXML_DOMNode::getNextSiblingNode ( )
virtual

Implements FIX::DOMNode.

Definition at line 68 of file PUGIXML_DOMDocument.cpp.

69  {
70  return m_pNode.value();
71  }
72 
73  PUGIXML_DOMDocument::PUGIXML_DOMDocument() throw( ConfigError )

References m_pNode.

◆ getText()

std::string FIX::PUGIXML_DOMNode::getText ( )
virtual

Implements FIX::DOMNode.

Definition at line 85 of file PUGIXML_DOMDocument.cpp.

85  {
86  return m_pDoc.load(stream);
87  }
88  catch( ... ) { return false; }

References FIX::PUGIXML_DOMDocument::m_pDoc.

Member Data Documentation

◆ m_pNode

pugi::xml_node FIX::PUGIXML_DOMNode::m_pNode
private

Definition at line 77 of file PUGIXML_DOMDocument.h.

Referenced by getNextSiblingNode().


The documentation for this class was generated from the following files:
FIX::PUGIXML_DOMNode::m_pNode
pugi::xml_node m_pNode
Definition: PUGIXML_DOMDocument.h:77
FIX::PUGIXML_DOMDocument::PUGIXML_DOMDocument
PUGIXML_DOMDocument()
Definition: PUGIXML_DOMDocument.cpp:90

Generated on Wed Apr 29 2020 19:41:30 for QuickFIX by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2001