00001 // $Header: /nfs/slac/g/glast/ground/cvs/xmlUtil/xmlUtil/id/IdOpDisappear.h,v 1.4 2002/06/04 22:43:59 jrb Exp $ 00002 00003 #ifndef XMLUTIL_IDOPDISAPPEAR_H 00004 #define XMLUTIL_IDOPDISAPPEAR_H 00005 00006 #include "xmlUtil/id/IdOperation.h" 00007 00008 namespace xmlUtil { 00012 /* A better approach might be to throw an exception in the latter case 00013 and let convert return 0 . */ 00014 class IdOpDisappear : public IdOperation { 00015 public: 00016 IdOpDisappear(DOM_Element) {} 00017 ~IdOpDisappear() {} 00018 NamedId * convert(const NamedId& ) {return new NamedId();} 00019 virtual std::string myOp() const {return std::string("DISAPPEAR ");} 00020 }; 00021 } 00022 00023 00024 #endif 00025
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001