30 std::string(
"FractionDigits"),
31 std::string(
"Length"),
32 std::string(
"MaxExclusive"),
33 std::string(
"MaxInclusive"),
34 std::string(
"MaxLength"),
35 std::string(
"MinExclusive"),
36 std::string(
"MinInclusive"),
37 std::string(
"MinLength"),
38 std::string(
"Pattern"),
39 std::string(
"TotalDigits"),
40 std::string(
"WhiteSpace")};
68 return m_typeNames[m_type];
const std::string & getValue()
It returns the facet value.
const std::string & getName() const
It returns the facet type name.
Facet(FacetType fType, const std::string &value)
Constructor.
static std::string m_typeNames[12]
The list of names for available facet types.
This class can be used to model a facet (a constraint in the range of values).
Facet & operator=(const Facet &rhs)
Assignment operator.
FacetType
It enumerates the available facet types.
This class can be used to model a facet (a constraint in the range of values).
FacetType getType() const
It returns the facet type code.