BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/xmlBase/include/xmlBase/docMan/DocClient.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/xmlBase/xmlBase/docMan/DocClient.h,v 1.1.1.1
2// 2005/10/17 06:10:27 maqm Exp $
3#ifndef xmlBase_DocClient_h
4#define xmlBase_DocClient_h
5
6// #include <xercesc/dom/DOMElement.hpp>
7#include <xercesc/util/XercesDefs.hpp>
8
9XERCES_CPP_NAMESPACE_BEGIN
10class DOMNode;
11XERCES_CPP_NAMESPACE_END
12
13namespace xmlBase {
14 //! Pure virtual class whose only purpose is to provide a
15 //! handler for clients of DocMan
16 class DocClient {
17 public:
19 virtual ~DocClient() {}
20
21 //! Must be overridden by derived classes
22 virtual void handleChild( XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* node ) = 0;
23
24 //! Give DocMan a way to identify clients and detect duplicates;
25 //! must be overridden by derived classes
26 virtual const std::string& getName() = 0;
27 };
28} // namespace xmlBase
29
30#endif
virtual void handleChild(XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node)=0
Must be overridden by derived classes.
virtual const std::string & getName()=0