5 #ifndef JODA_IPROJECTOR_H
6 #define JODA_IPROJECTOR_H
8 #include <rapidjson/pointer.h>
36 auto val = this->
getVal(json, newDoc.GetAllocator());
37 if (!val.IsNull())
ptr.Set(newDoc, val);
rapidjson::GenericDocument< RJChar, RJMemoryPoolAlloc, RJBaseAlloc > RJDocument
Definition: RJFwd.h:28
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericPointer< RJValue, RJBaseAlloc > RJPointer
Definition: RJFwd.h:30
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: RapidJsonDocument.h:22
Definition: IProjector.h:15
virtual RJValue getVal(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc)=0
virtual std::string toString()
Definition: IProjector.h:62
virtual std::string getType()=0
const RJPointer & getRawToPointer() const
Definition: IProjector.h:49
std::string ptr_str
Definition: IProjector.h:76
virtual std::vector< std::string > getMaterializeAttributes() const =0
IProjector(const std::string &to)
Definition: IProjector.h:22
virtual void project(const RapidJsonDocument &json, RJDocument &newDoc, bool view=false)
Definition: IProjector.h:34
std::string getToPointer() const
Definition: IProjector.h:44
RJPointer ptr
Definition: IProjector.h:75
virtual ~IProjector()=default
Definition: AttributeStatAggregator.h:12