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

XML attribute as represented by pugixml. More...

#include <PUGIXML_DOMDocument.h>

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

List of all members.

Public Member Functions

 PUGIXML_DOMAttributes (pugi::xml_node pNode)
bool get (const std::string &, std::string &)
DOMAttributes::map toMap ()

Private Attributes

pugi::xml_node m_pNode

Detailed Description

XML attribute as represented by pugixml.

Definition at line 32 of file PUGIXML_DOMDocument.h.


Constructor & Destructor Documentation

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

Definition at line 35 of file PUGIXML_DOMDocument.h.

    : m_pNode(pNode) {}

Member Function Documentation

bool FIX::PUGIXML_DOMAttributes::get ( const std::string &  name,
std::string &  value 
) [virtual]

Implements FIX::DOMAttributes.

Definition at line 31 of file PUGIXML_DOMDocument.cpp.

References m_pNode.

  {
    pugi::xml_attribute result = m_pNode.attribute(name.c_str());
    if( !result ) return false;
    value = result.value();
    return true;
  }

Implements FIX::DOMAttributes.

Definition at line 39 of file PUGIXML_DOMDocument.cpp.

  {
    return DOMAttributes::map();
  }

Member Data Documentation

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

Definition at line 42 of file PUGIXML_DOMDocument.h.

Referenced by get().


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