Template Struct UniqueElements

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

inline std::vector<Message> run(const ADMData &adm) const
template<typename F>
inline void visit(F f)

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()