A class for representing built-in XML Schema types. More...
#include <SimpleBuiltInType.h>
Public Member Functions | |
Type * | clone () const |
const std::string & | getName () const |
It returns the built-in type name. More... | |
BuiltInType | getType () const |
It returns the built-in type code. More... | |
SimpleBuiltInType & | operator= (const SimpleBuiltInType &rhs) |
Assignment operator. More... | |
SimpleBuiltInType (BuiltInType type) | |
Constructor. More... | |
SimpleBuiltInType (const SimpleBuiltInType &rhs) | |
Copy constructor. More... | |
~SimpleBuiltInType () | |
Destructor. More... | |
Private Attributes | |
BuiltInType | m_type |
The built-in type. More... | |
Static Private Attributes | |
static std::string | m_typeNames [1] |
The list of names for available types. More... | |
A class for representing built-in XML Schema types.
It represents atomic types like: string, int, byte and others.
Definition at line 44 of file SimpleBuiltInType.h.
te::xsd::SimpleBuiltInType::SimpleBuiltInType | ( | BuiltInType | type | ) |
Constructor.
t | The built-in type code. |
te::xsd::SimpleBuiltInType::SimpleBuiltInType | ( | const SimpleBuiltInType & | rhs | ) |
Copy constructor.
rhs | Right-hand-side object. |
te::xsd::SimpleBuiltInType::~SimpleBuiltInType | ( | ) |
Destructor.
|
virtual |
Implements te::xsd::Type.
const std::string& te::xsd::SimpleBuiltInType::getName | ( | ) | const |
It returns the built-in type name.
BuiltInType te::xsd::SimpleBuiltInType::getType | ( | ) | const |
It returns the built-in type code.
SimpleBuiltInType& te::xsd::SimpleBuiltInType::operator= | ( | const SimpleBuiltInType & | rhs | ) |
Assignment operator.
rhs | Right-hand-side object. |
|
private |
The built-in type.
Definition at line 92 of file SimpleBuiltInType.h.
|
staticprivate |
The list of names for available types.
Definition at line 93 of file SimpleBuiltInType.h.