Skip to main content
Part of MOP json This class provides functions to work with a singleton parameter of the givien type.

Static Public Member Functions

Detailed Description

template<typename Type> struct Parameter< Type >

This class provides functions to work with a singleton parameter of the givien type. Template Parameters

Member Function Documentation

load()

static Static function that deserializaes the value of a parameter with the given type. Parameters Returns An instance of Type containing the value present in the serialization

save() [1/3]

static Static function that takes an instance of a type and renders a Json representation. It uses the default range given in the SerializationTraits. Parameters Returns The Json serialization

save() [2/3]

static Static function that takes an instance of a type and renders a Json representation. It uses the specific range given by the user. Parameters Returns The Json serialization

save() [3/3]

static Static function that takes an instance of a type and renders a Json representation. It uses the specific min, max and auto values given by the user. Parameters Returns The Json serialization