Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

MiniClient Class Reference

List of all members.

Public Methods

 MiniClient ()
 MiniClient (std::string name)
const std::string & getName ()
void handleChild (DOM_Node node)
 ~MiniClient ()

Private Attributes

std::string m_name

Constructor & Destructor Documentation

MiniClient::MiniClient   [inline]
 

Definition at line 20 of file test_docMan.cxx.

References m_name.

00020 {m_name = "miniClient";}

MiniClient::MiniClient std::string    name [inline]
 

Definition at line 21 of file test_docMan.cxx.

References m_name.

00021 : m_name(name) {}

MiniClient::~MiniClient   [inline]
 

Definition at line 24 of file test_docMan.cxx.

00024 {};


Member Function Documentation

const std::string& MiniClient::getName   [inline]
 

Definition at line 22 of file test_docMan.cxx.

References m_name.

00022 { return m_name;}

void MiniClient::handleChild DOM_Node    node
 

Definition at line 29 of file test_docMan.cxx.

References m_name.

00029                                           {
00030   if (node.getNodeType() == DOM_Node::ELEMENT_NODE) {
00031     DOM_Element& elt = static_cast<DOM_Element&>(node);
00032     DOMString eltName = node.getNodeName();
00033     std::cout << m_name 
00034               << " found element <" << xml::Dom::transToChar(eltName) << ">" 
00035               << std::endl;
00036     DOMString att = elt.getAttribute(DOMString("substituted"));
00037     if (att != DOMString()) {
00038       std::cout << "substituted = " << xml::Dom::transToChar(att) << std::endl;
00039     }
00040   }
00041   else         {// tilt!  
00042     std::cout << "User client passed non-element node:  TILT " << std::endl;
00043   }
00044 }


Member Data Documentation

std::string MiniClient::m_name [private]
 

Definition at line 26 of file test_docMan.cxx.

Referenced by getName(), handleChild(), and MiniClient().


The documentation for this class was generated from the following file:
Generated on Wed Oct 16 14:02:49 2002 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001