Template Struct basic_field¶
Defined in File forms.h
Inheritance Relationships¶
Base Type¶
public udho::forms::detail::field_data< ValueT >(Template Struct field_data)
Struct Documentation¶
-
template<typename
ValueT, typenameDerivedT>
structudho::forms::detail::basic_field: public udho::forms::detail::field_data<ValueT>¶ Public Types
-
typedef field_data<ValueT>
data_type¶
Public Functions
-
basic_field(const std::string &name)¶
-
derived_type &
absent(const std::string &message)¶
-
derived_type &
unparsable(const std::string &message)¶
-
template<typename
ValidatorT>
detail::constrained_field<ValidatorT, derived_type>constrain(const ValidatorT &validator)¶
-
template<template<typename> class
ValidatorT, typename ...ArgsT>
detail::constrained_field<ValidatorT<value_type>, derived_type>constrain(ArgsT&&... args)¶
Protected Functions
-
template<typename
ValidatorT>
boolvalidate(const ValidatorT &validator)¶
-
derived_type &
self()¶
-
const derived_type &
self() const¶
-
typedef field_data<ValueT>