AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::val::MaxProperties Struct Reference

Maximum number of map entries constraint ( maxProperties ). More...

#include <constraints.hpp>

Collaboration diagram for anch::val::MaxProperties:

Public Member Functions

template<anch::val::MapLike V>
bool check (const V &map, std::string &message) const

Public Attributes

std::size_t value

Detailed Description

Maximum number of map entries constraint ( maxProperties ).

Author
Vincent Lachenal
Since
0.2

Member Function Documentation

◆ check()

template<anch::val::MapLike V>
bool anch::val::MaxProperties::check ( const V & map,
std::string & message ) const

Check value

Template Parameters
Vthe value type
Parameters
mapthe value
messagethe error message (set when value is invalid)
Returns
true when value is valid

Member Data Documentation

◆ value

std::size_t anch::val::MaxProperties::value

Maximum number of entries


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