Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

cfg::configdocBuilder Class Reference

#include <configdocBuilder.h>

Inheritance diagram for cfg::configdocBuilder:

xmli::Builder List of all members.

Public Member Functions

 configdocBuilder (const char *tag)
void Build (const xmli::AttributeList &attr, const std::string &buffer)

Constructor & Destructor Documentation

cfg::configdocBuilder::configdocBuilder const char *  tag  ) 
 

Definition at line 15 of file configdocBuilder.cxx.

00015                                                      : xmli::Builder(tag)
00016 { }


Member Function Documentation

void cfg::configdocBuilder::Build const xmli::AttributeList attr,
const std::string &  buffer
[virtual]
 

Builders must implement this method which constructs a C++ object from XML attributes

Parameters:
attr : The list of key/value pairs of XML attributes
buffer : The text appearing inside the XML tags
For example, this XML string:
        <beetle name="ringo" instrument="drums"> 
          Ringo is my favorite 
        </beetle>
        
is passed as two attributes name=ringo, and instrument=drums and with buffer='Ringo is my favorite'

Once C++ object is created, it should be placed on a xmli::Stack to be used by other pieces of code

See also:
xmli::Stack.h
For examples see
See also:
xmli::intBuilder.cxx

xmli::xmlfileBuilder.cxx

Implements xmli::Builder.

Definition at line 20 of file configdocBuilder.cxx.

00022 { }


The documentation for this class was generated from the following files:
Generated on Sun Nov 22 04:45:30 2009 for NOvA Offline by  doxygen 1.3.9.1