Skip to content

TableDefaultValue

template <typename Element> class TableDefaultValue

@brief The TableDefaultValue class defines a default value for the TableElement.

Functions

Name Description
defaultValue The defaultValue method serves for setting up the default value to be used when User configuration does not specify another value.
noDefaultValue The noDefaultValue serves for setting up the element that does not have a default value.

Function Details

defaultValue

Element& defaultValue(const std::vector<Hash>& defaultValue)

The defaultValue method serves for setting up the default value to be used when User configuration does not specify another value.

val : Default value

Return : reference to the Element for proper methods chaining

noDefaultValue

Element& noDefaultValue()

The noDefaultValue serves for setting up the element that does not have a default value.

Return : reference to the Element for proper methods chaining