Class template Dune::XT::Common::ValidateInList<T, ListImp>

Inherits from Dune::XT::Common::ValidatorInterface.

template<class T, class ListImp = std::vector<T>>
class Dune::XT::Common::ValidateInList<T, ListImp> : public ValidatorInterface<T, ValidateInList<T, ListImp>>

validates arg iff in given list

Method Dune::XT::Common::ValidateInList::operator()

template<class T, class ListImp = std::vector<T>>
inline bool Dune::XT::Common::ValidateInList<T, ListImp>::operator()(const T &rhs) const

No documentation provided.

Method Dune::XT::Common::ValidateInList::msg

template<class T, class ListImp = std::vector<T>>
std::string Dune::XT::Common::ValidateInList<T, ListImp>::msg(const T &value) const

No documentation provided.

Constructor Dune::XT::Common::ValidateInList::ValidateInList

template<class T, class ListImp = std::vector<T>>
explicit Dune::XT::Common::ValidateInList<T, ListImp>::ValidateInList(ListType valid_list)

No documentation provided.

Field Dune::XT::Common::ValidateInList::valid_list_

template<class T, class ListImp = std::vector<T>>
ListType Dune::XT::Common::ValidateInList<T, ListImp>::valid_list_

No documentation provided.

Type alias Dune::XT::Common::ValidateInList::ThisType

template<class T, class ListImp = std::vector<T>>
using Dune::XT::Common::ValidateInList<T, ListImp>::ThisType = ValidateInList<T, ListImp>

No documentation provided.

Type alias Dune::XT::Common::ValidateInList::BaseType

template<class T, class ListImp = std::vector<T>>
using Dune::XT::Common::ValidateInList<T, ListImp>::BaseType = ValidatorInterface<T, ThisType>

No documentation provided.

Type alias Dune::XT::Common::ValidateInList::ListType

template<class T, class ListImp = std::vector<T>>
using Dune::XT::Common::ValidateInList<T, ListImp>::ListType = ListImp

No documentation provided.