00001
00002
00003 #ifndef XMLUTIL_IDOPTRUNCATE_H
00004 #define XMLUTIL_IDOPTRUNCATE_H
00005
00006 #include <string>
00007 #include "xmlUtil/id/IdOperation.h"
00008
00009
00010 namespace xmlUtil {
00012 class IdOpTruncate : public IdOperation {
00013 public:
00014 IdOpTruncate(DOM_Element trunc);
00015 ~IdOpTruncate() {}
00016
00017 virtual NamedId * convert(const NamedId& inputId);
00018 virtual std::string myOp() const {return std::string("TRUNCATE");}
00019 private:
00020 std::string start;
00021 bool beyond;
00022 };
00023 }
00024 #endif