JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
FileNameProvider.h
Go to the documentation of this file.
1 //
2 // Created by Nico Schäfer on 12/7/17.
3 //
4 
5 #ifndef JODA_FILENAMEPROVIDER_H
6 #define JODA_FILENAMEPROVIDER_H
7 
8 #include "IValueProvider.h"
9 
10 namespace joda::query {
15  public:
16  explicit FileNameProvider(
17  std::vector<std::unique_ptr<IValueProvider>> &&parameters);
18  std::unique_ptr<IValueProvider> duplicate() const override;
19  bool isConst() const override;
21  RJMemoryPoolAlloc &alloc) const override;
22  const RJValue *getValue(const RapidJsonDocument &json,
23  RJMemoryPoolAlloc &alloc) const override;
24 
25  std::string getName() const override;
26  IValueType getReturnType() const override;
27 
29 };
30 } // namespace joda::query
31 
32 #endif // JODA_FILENAMEPROVIDER_H
#define CREATE_FACTORY(FCLASS)
Definition: IValueProvider.h:20
rapidjson::MemoryPoolAllocator< RJBaseAlloc > RJMemoryPoolAlloc
Definition: RJFwd.h:26
rapidjson::GenericValue< RJChar, RJMemoryPoolAlloc > RJValue
Definition: RJFwd.h:29
Definition: RapidJsonDocument.h:22
Definition: FileNameProvider.h:14
std::unique_ptr< IValueProvider > duplicate() const override
Definition: FileNameProvider.cpp:9
IValueType getReturnType() const override
Definition: FileNameProvider.cpp:37
bool isConst() const override
Definition: FileNameProvider.cpp:13
const RJValue * getValue(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) const override
Definition: FileNameProvider.cpp:27
std::string getName() const override
Definition: FileNameProvider.cpp:33
FileNameProvider(std::vector< std::unique_ptr< IValueProvider >> &&parameters)
Definition: FileNameProvider.cpp:41
RJValue getAtomValue(const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) const override
Definition: FileNameProvider.cpp:15
Definition: IValueProvider.h:143
Definition: AttributeStatAggregator.h:12
IValueType
Definition: IValueProvider.h:33