JODA  0.13.1 (59b41972)
JSON On-Demand Analysis
Public Types | Static Public Member Functions | Static Public Attributes
joda::query::providers::cast::StringCastCalculator Class Reference

#include <CastProvider.h>

Public Types

typedef values::AnyParameter< 0 > P0
 
typedef values::OptionalWithDefaultParameter< 1, values::BoolParameter< 1 >, DefaultBoolP1
 
typedef values::NoParameter< 2 > P2
 
typedef values::NoParameter< 3 > P3
 
typedef values::NoParameter< 4 > P4
 
typedef bool State
 

Static Public Member Functions

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

Static Public Attributes

static constexpr IValueType retType = IV_Number
 
static constexpr auto name = "STRING"
 

Member Typedef Documentation

◆ P0

◆ P1

◆ P2

◆ P3

◆ P4

◆ State

Member Function Documentation

◆ calculate()

static RJValue joda::query::providers::cast::StringCastCalculator::calculate ( const State state,
const std::vector< std::unique_ptr< IValueProvider >> &  parameters,
const RapidJsonDocument json,
RJMemoryPoolAlloc alloc 
)
inlinestatic
Here is the call graph for this function:

◆ checkParameters()

static void joda::query::providers::cast::StringCastCalculator::checkParameters ( State state,
const std::vector< std::unique_ptr< IValueProvider >> &  parameters 
)
inlinestatic

Checks additional parameter conditions

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

Field Documentation

◆ name

constexpr auto joda::query::providers::cast::StringCastCalculator::name = "STRING"
staticconstexpr

◆ retType

constexpr IValueType joda::query::providers::cast::StringCastCalculator::retType = IV_Number
staticconstexpr

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