JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Types | Static Public Member Functions | Static Public Attributes
joda::query::TemplateCalc Struct Reference

#include <TemplateProvider.h>

Public Types

typedef values::NoParameter< 0 > P0
 
typedef values::NoParameter< 1 > P1
 
typedef values::NoParameter< 2 > P2
 
typedef values::NoParameter< 3 > P3
 
typedef values::NoParameter< 4 > P4
 

Static Public Member Functions

static void checkParameters (const std::vector< std::unique_ptr< IValueProvider >> &parameters)
 
static RJValue calculate (const std::vector< std::unique_ptr< IValueProvider >> &parameters, const RapidJsonDocument &json, RJMemoryPoolAlloc &alloc)
 

Static Public Attributes

static constexpr IValueType retType = IV_Null
 
static constexpr auto name = "PLACEHOLDER"
 

Member Typedef Documentation

◆ P0

◆ P1

◆ P2

◆ P3

◆ P4

Member Function Documentation

◆ calculate()

static RJValue joda::query::TemplateCalc::calculate ( const std::vector< std::unique_ptr< IValueProvider >> &  parameters,
const RapidJsonDocument json,
RJMemoryPoolAlloc alloc 
)
inlinestatic

◆ checkParameters()

static void joda::query::TemplateCalc::checkParameters ( const std::vector< std::unique_ptr< IValueProvider >> &  parameters)
inlinestatic

Calls the check function of all parameters

Parameters
parametersthe list of passed parameter values
namethe name of the function

Field Documentation

◆ name

constexpr auto joda::query::TemplateCalc::name = "PLACEHOLDER"
staticconstexpr

◆ retType

constexpr IValueType joda::query::TemplateCalc::retType = IV_Null
staticconstexpr

The documentation for this struct was generated from the following file: