This class can be used to model a facet (a constraint in the range of values). More...
#include <Facet.h>
Public Member Functions | |
Facet (FacetType fType, const std::string &value) | |
Constructor. More... | |
Facet (const Facet &rhs) | |
Copy constructor. More... | |
const std::string & | getName () const |
It returns the facet type name. More... | |
FacetType | getType () const |
It returns the facet type code. More... | |
const std::string & | getValue () |
It returns the facet value. More... | |
Facet & | operator= (const Facet &rhs) |
Assignment operator. More... | |
~Facet () | |
Destructor. More... | |
Private Attributes | |
FacetType | m_type |
The facet type. More... | |
std::string | m_value |
The facet associated value. More... | |
Static Private Attributes | |
static std::string | m_typeNames [12] |
The list of names for available facet types. More... | |
This class can be used to model a facet (a constraint in the range of values).
te::xsd::Facet::Facet | ( | FacetType | fType, |
const std::string & | value | ||
) |
te::xsd::Facet::Facet | ( | const Facet & | rhs | ) |
const std::string & te::xsd::Facet::getName | ( | ) | const |
te::xsd::FacetType te::xsd::Facet::getType | ( | ) | const |
const std::string & te::xsd::Facet::getValue | ( | ) |
te::xsd::Facet & te::xsd::Facet::operator= | ( | const Facet & | rhs | ) |
|
staticprivate |
The list of names for available facet types.
|
private |