Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

PANA_XMLData Class Reference

List of all members.

Public Member Functions

 PANA_XMLData (std::string &name, PANA_Cfg &data)
int svc (DOMNode *n)

Protected Attributes

PANA_Cfg & payload

Detailed Description

XML config data parser

Definition at line 45 of file pana_config_manager.cxx.


Constructor & Destructor Documentation

PANA_XMLData::PANA_XMLData std::string &  name,
PANA_Cfg &  data
[inline]
 

constructor

Parameters:
name element name
data payload data

Definition at line 53 of file pana_config_manager.cxx.

References payload.

00053                                                     :
00054                    PANA_XMLElementParser(name),
00055                        payload(data) { }


Member Function Documentation

int PANA_XMLData::svc DOMNode *  n  ) 
 

parsing service

Parameters:
n element node

Definition at line 562 of file pana_config_manager.cxx.

References payload.

00563 {
00564    std::string tagName;
00565 
00566    tagName = "general";
00567    PANA_XMLDataGeneral general(tagName, payload.general_);
00568    general.populate(n->getFirstChild());
00569 
00570    tagName = "client";
00571    PANA_XMLDataClient client(tagName, payload.client_);
00572    client.populate(n->getFirstChild());
00573 
00574    tagName = "auth_agent";
00575    PANA_XMLDataAuthAgent aa(tagName, payload.auth_agent_);
00576    aa.populate(n->getFirstChild());
00577 
00578    return (0);
00579 }


Member Data Documentation

PANA_Cfg& PANA_XMLData::payload [protected]
 

payload

Definition at line 66 of file pana_config_manager.cxx.

Referenced by PANA_XMLData(), and svc().


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:18:31 2004 for PANA by doxygen 1.3.5