![]() |
JODA
0.13.1 (59b41972)
JSON On-Demand Analysis
|
#include <UnaryNumberProvider.h>
Public Member Functions | |
| UnaryNumberProvider (std::vector< std::unique_ptr< IValueProvider >> &¶meters) | |
| joda::query::IValueType | getReturnType () const override |
| std::string | getName () const override |
| std::string | toString () const override |
| std::unique_ptr< joda::query::IValueProvider > | duplicate () const override |
| bool | isConst () const override |
| RJValue | getAtomValue (const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) const override |
| const RJValue * | getValue (const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc) const override |
Public Member Functions inherited from joda::query::IValueProvider | |
| IValueProvider (std::vector< std::unique_ptr< IValueProvider >> &¶meters) | |
| IValueProvider () | |
| virtual | ~IValueProvider ()=default |
| virtual bool | isString () const |
| virtual bool | isNumber () const |
| virtual bool | isBool () const |
| virtual bool | isObject () const |
| virtual bool | isArray () const |
| virtual bool | isNull () const |
| virtual bool | isAny () const |
| virtual bool | isAtom () const |
| virtual std::vector< std::string > | getAttributes () const |
| virtual void | getAttributes (std::vector< std::string > &vec) const |
| bool | equal (IValueProvider *other, const RapidJsonDocument &json) const |
| virtual bool | comparable () const |
| virtual bool | equalizable () const |
Protected Member Functions | |
| void | checkAllParamTypes () |
Protected Member Functions inherited from joda::query::IValueProvider | |
| bool | getParamString (std::string &ret, const std::unique_ptr< IValueProvider > &val, const RapidJsonDocument &json) const |
| void | checkParamSize (unsigned int expected) |
| void | checkMinParamSize (unsigned int expected) |
| void | checkParamType (unsigned int i, IValueType expected) |
| void | checkOptionalParamType (unsigned int i, IValueType expected) |
| std::vector< std::unique_ptr< IValueProvider > > | duplicateParameters () const |
| std::string | getParameterStringRepresentation () const |
Additional Inherited Members | |
Static Public Member Functions inherited from joda::query::IValueProvider | |
| static void | replaceConstSubexpressions (std::unique_ptr< IValueProvider > &val) |
| static bool | constBoolCheck (std::unique_ptr< IValueProvider > &val) |
Protected Attributes inherited from joda::query::IValueProvider | |
| std::vector< std::unique_ptr< IValueProvider > > | params |
Template class used for all unary mathamatical functions. The template argument has to be a struct with the following attributes/functions.
|
inlineexplicit |
|
inlineprotected |
|
inlineoverridevirtual |
Implements joda::query::IValueProvider.
|
inlineoverridevirtual |
Gets an atomic value
| json | The Rapidjsondocument to retrieve values from. (Or an empty RapidJsonDocument for const values) |
| alloc | A MemoryPoolAllocator to create the values with |
Implements joda::query::IValueProvider.
|
inlineoverridevirtual |
Implements joda::query::IValueProvider.
|
inlineoverridevirtual |
Implements joda::query::IValueProvider.
|
inlineoverridevirtual |
Gets an value
| json | The Rapidjsondocument to retrieve values from. (Or an empty RapidJsonDocument for const values) |
| alloc | A MemoryPoolAllocator to create the values with |
Implements joda::query::IValueProvider.
|
inlineoverridevirtual |
Implements joda::query::IValueProvider.
|
inlineoverridevirtual |
Reimplemented from joda::query::IValueProvider.