5 #ifndef JODA_IDPOSITIONORIGIN_H
6 #define JODA_IDPOSITIONORIGIN_H
37 std::unique_ptr<IOrigin>
clone()
const override = 0;
unsigned long FILEID
Definition: FileNameRepo.h:12
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
Definition: IDPositionOrigin.h:16
int index
Definition: IDPositionOrigin.h:47
int getIndex() const
Definition: IDPositionOrigin.cpp:22
long getStart() const
Definition: IDPositionOrigin.cpp:14
std::unique_ptr< RJDocument > reparse(RJMemoryPoolAlloc &alloc) const override
Definition: IDPositionOrigin.cpp:9
void setEnd(long end)
Definition: IDPositionOrigin.cpp:20
std::unique_ptr< IOrigin > clone() const override=0
bool isReparsable() const override
Definition: IDPositionOrigin.cpp:7
void setStart(long start)
Definition: IDPositionOrigin.cpp:16
long end
Definition: IDPositionOrigin.h:46
virtual ~IDPositionOrigin() override=default
void setIndex(int index)
Definition: IDPositionOrigin.cpp:24
virtual std::string getStreamName() const =0
IDPositionOrigin(FILEID id)
Definition: IDPositionOrigin.cpp:26
bool operator==(const IDPositionOrigin &other) const
Definition: IDPositionOrigin.cpp:47
long start
Definition: IDPositionOrigin.h:45
FILEID id
Definition: IDPositionOrigin.h:44
std::string toString() const override=0
long getEnd() const
Definition: IDPositionOrigin.cpp:18
virtual bool operator<(const IOrigin &x) const override final
Definition: IDPositionOrigin.cpp:31