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 61 of file PUGIXML_DOMDocument.h.

Constructor & Destructor Documentation

◆ PUGIXML_DOMNode()

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

Definition at line 64 of file PUGIXML_DOMDocument.h.

64  : public DOMDocument
65  {

◆ ~PUGIXML_DOMNode()

FIX::PUGIXML_DOMNode::~PUGIXML_DOMNode ( )
inline

Definition at line 66 of file PUGIXML_DOMDocument.h.

66 :
67  PUGIXML_DOMDocument() throw( ConfigError );

Member Function Documentation

◆ getAttributes()

DOMAttributesPtr FIX::PUGIXML_DOMNode::getAttributes ( )
virtual

Implements FIX::DOMNode.

Definition at line 73 of file PUGIXML_DOMDocument.cpp.

74  {
75  }
76 

◆ getFirstChildNode()

DOMNodePtr FIX::PUGIXML_DOMNode::getFirstChildNode ( )
virtual

Implements FIX::DOMNode.

Definition at line 59 of file PUGIXML_DOMDocument.cpp.

59  {
60  return DOMAttributesPtr(new PUGIXML_DOMAttributes(m_pNode));
61  }
62 
63  std::string PUGIXML_DOMNode::getName()
64  {

References m_pNode.

◆ getName()

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

Implements FIX::DOMNode.

Definition at line 78 of file PUGIXML_DOMDocument.cpp.

78  {
79  //xmlFreeDoc(m_pDoc);
80  }
81 

◆ getNextSiblingNode()

DOMNodePtr FIX::PUGIXML_DOMNode::getNextSiblingNode ( )
virtual

Implements FIX::DOMNode.

Definition at line 66 of file PUGIXML_DOMDocument.cpp.

69  {
70  return m_pNode.value();
71  }

◆ getText()

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

Implements FIX::DOMNode.

Definition at line 83 of file PUGIXML_DOMDocument.cpp.

83  {
84  try
85  {
86  return m_pDoc.load(stream);

References FIX::PUGIXML_DOMDocument::m_pDoc.

Member Data Documentation

◆ m_pNode

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

Definition at line 75 of file PUGIXML_DOMDocument.h.

Referenced by getFirstChildNode().


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:75
FIX::DOMAttributesPtr
SmartPtr< DOMAttributes > DOMAttributesPtr
Definition: DOMDocument.h:45
FIX::PUGIXML_DOMNode::getName
std::string getName()
Definition: PUGIXML_DOMDocument.cpp:78

Generated on Thu Apr 23 2020 04:32:03 for QuickFIX by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2001