Template Struct UniqueElements
Defined in File validate.hpp
Struct Documentation
-
template<typename T>
struct UniqueElements check elements for uniqueness
for each element visited by path1, the elements from that visited by path2 must be unique
T is the type of the unwrapped element to check, e.g. string
Public Types
-
using Message = UniqueElementsMessage<T>
Public Functions
Public Members
-
std::vector<std::string> path1
path to the element which contains the unique values
-
std::vector<std::string> path2
path from the elements visited by path1 to the elements to check
Public Static Functions
-
static inline std::string name()
-
using Message = UniqueElementsMessage<T>