Struct NumElements
Defined in File validate.hpp
Struct Documentation
-
struct NumElements
generic check for the number of elements within a containing element
this can check top-level elements, references, or real sub-elements
Public Types
-
using Message = NumElementsMessage
Public Functions
Public Members
-
std::vector<std::string> path
path to the containing element (empty to check top-level elements
-
std::string element
name of the element to count
-
CountRange range
acceptable number of elements
-
std::string relationship = "elements"
plural relationship type only used for formatting the check/message
Public Static Functions
-
static inline std::string name()
-
using Message = NumElementsMessage