Template Struct ElementInList

Struct Documentation

template<typename T>
struct ElementInList

check that an element is one of a given list of values

T is the unwrapped element type, e.g. string

Public Types

using Message = ElementInListMessage<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> path

path to the elements to check

std::vector<T> options

acceptable options

Public Static Functions

static inline std::string name()