Skip to content

VectorElement

template <typename T, template <typename ELEM, typename = std::allocator<ELEM>> class CONT = std::vector> class VectorElement : public LeafElement<VectorElement<T, CONT>, CONT<T>>

@brief The VectorElement can be used to hold a sequence of SimpleElements

Functions

Name Description
minSize Specify a minimum number of entries the vector element needs to have to pass validation value : Return :
maxSize Specify a maximum number of entries the vector element needs to have to pass validation value : Return :
readOnly The readOnly method serves for setting up an access type property that allows the element to be included in monitoring schema only.

Function Details

maxSize

VectorElement& maxSize(const unsigned int& value)

Specify a maximum number of entries the vector element needs to have to pass validation

value :

Return :

minSize

VectorElement& minSize(const unsigned int& value)

Specify a minimum number of entries the vector element needs to have to pass validation

value :

Return :

readOnly

virtual ReadOnlySpecific<VectorElement, CONT<T>>& readOnly()

The readOnly method serves for setting up an access type property that allows the element to be included in monitoring schema only.

Return : reference to the Element (to allow method's chaining)