8 #include <glog/logging.h>
10 #include <boost/operators.hpp>
45 <<
"Origin not reparsable, should be checked before calling function";
53 virtual std::unique_ptr<IOrigin>
clone()
const = 0;
59 return typeid(*this).before(
typeid(x));
71 return (*
this < x) || (*
this == x);
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
virtual bool operator>(const IOrigin &x) const
Definition: IOrigin.h:74
virtual bool operator>=(const IOrigin &x) const
Definition: IOrigin.h:76
virtual std::unique_ptr< RJDocument > reparse(RJMemoryPoolAlloc &alloc) const
Definition: IOrigin.h:43
virtual bool operator<(const IOrigin &x) const
Definition: IOrigin.h:58
virtual std::unique_ptr< IOrigin > clone() const =0
virtual std::string toString() const =0
virtual bool isReparsable() const
Definition: IOrigin.h:29
bool operator==(const IOrigin &x) const
Definition: IOrigin.h:62
virtual ~IOrigin()=default
virtual bool operator<=(const IOrigin &x) const
Definition: IOrigin.h:70