Skip to content
Snippets Groups Projects
Commit 4bfcfc2e authored by PeiYong Zhang's avatar PeiYong Zhang
Browse files

Make DOMWriterFilter pure abstract class w/o implementing any method

and data


git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@173792 13f79535-47bb-0310-9956-ffa450edef68
parent 4d417414
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,10 @@ ...@@ -57,6 +57,10 @@
/* /*
* $Id$ * $Id$
* $Log$ * $Log$
* Revision 1.5 2002/06/04 14:24:04 peiyongz
* Make DOMWriterFilter pure abstract class w/o implementing any method
* and data
*
* Revision 1.4 2002/06/03 22:34:53 peiyongz * Revision 1.4 2002/06/03 22:34:53 peiyongz
* DOMWriterFilter: setter provided, and allows any SHOW setting * DOMWriterFilter: setter provided, and allows any SHOW setting
* *
...@@ -115,16 +119,15 @@ public: ...@@ -115,16 +119,15 @@ public:
* <p><b>"Experimental - subject to change"</b></p> * <p><b>"Experimental - subject to change"</b></p>
*/ */
//@{ //@{
unsigned long getWhatToShow() const {return fWhatToShow;}; virtual unsigned long getWhatToShow() const =0;
void setWhatToShow(unsigned long toShow) {fWhatToShow = toShow;}; virtual void setWhatToShow(unsigned long toShow) =0;
//@} //@}
protected: protected:
/** @name Constructors */ /** @name Constructors */
//@{ //@{
DOMWriterFilter(unsigned long whatToShow = DOMNodeFilter::SHOW_ALL) DOMWriterFilter(){};
:fWhatToShow(whatToShow){};
//@} //@}
private: private:
...@@ -150,8 +153,10 @@ private: ...@@ -150,8 +153,10 @@ private:
// //
// Those nodes will never be passed to a DOMWriterFilter. // Those nodes will never be passed to a DOMWriterFilter.
// //
// Derived class shall add this data member:
//
// unsigned long fWhatToShow;
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
unsigned long fWhatToShow;
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment