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