JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <IOrigin.h>
Public Member Functions | |
virtual | ~IOrigin ()=default |
virtual bool | isReparsable () const |
virtual std::string | toString () const =0 |
virtual std::unique_ptr< RJDocument > | reparse (RJMemoryPoolAlloc &alloc) const |
virtual std::unique_ptr< IOrigin > | clone () const =0 |
virtual bool | operator< (const IOrigin &x) const |
bool | operator== (const IOrigin &x) const |
virtual bool | operator<= (const IOrigin &x) const |
virtual bool | operator> (const IOrigin &x) const |
virtual bool | operator>= (const IOrigin &x) const |
IOrigin represents the origin of a Document. It could be a file, a webstream, in-memory, ... This class manages the reparsing (if possible) or documents that have been evicted from memory.
|
virtualdefault |
|
pure virtual |
Clones the IOrigin for use in another document
Implemented in IDPositionOrigin, URLOrigin, TemporaryOrigin, and FileOrigin.
|
inlinevirtual |
Returns if the IOrigin is reparsable
Reimplemented in URLOrigin, TemporaryOrigin, IDPositionOrigin, and FileOrigin.
|
inlinevirtual |
Reimplemented in IDPositionOrigin.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reparses the origin into a new RJDocument. The allocator is used to increase performance
alloc | Allocator used for allocating memoty |
Reimplemented in URLOrigin, IDPositionOrigin, and FileOrigin.
|
pure virtual |
Returns a textual representation of the IOrigin
Implemented in IDPositionOrigin, URLOrigin, TemporaryOrigin, and FileOrigin.