Public Methods | |
| MiniClient () | |
| MiniClient (std::string name) | |
| const std::string & | getName () |
| void | handleChild (DOM_Node node) |
| ~MiniClient () | |
Private Attributes | |
| std::string | m_name |
|
|
Definition at line 20 of file test_docMan.cxx. References m_name.
00020 {m_name = "miniClient";}
|
|
|
Definition at line 21 of file test_docMan.cxx. References m_name.
00021 : m_name(name) {} |
|
|
Definition at line 24 of file test_docMan.cxx.
00024 {};
|
|
|
Definition at line 22 of file test_docMan.cxx. References m_name.
00022 { return m_name;}
|
|
|
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 }
|
|
|
Definition at line 26 of file test_docMan.cxx. Referenced by getName(), handleChild(), and MiniClient(). |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001