te::xsd::SimpleBuiltInType Class Reference

A class for representing built-in XML Schema types. More...

#include <SimpleBuiltInType.h>

Inheritance diagram for te::xsd::SimpleBuiltInType:
te::xsd::Type

Public Member Functions

Typeclone () 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...
 
SimpleBuiltInTypeoperator= (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

te::xsd::SimpleBuiltInType::SimpleBuiltInType ( BuiltInType  type)

Constructor.

Parameters
tThe built-in type code.
te::xsd::SimpleBuiltInType::SimpleBuiltInType ( const SimpleBuiltInType rhs)

Copy constructor.

Parameters
rhsRight-hand-side object.
te::xsd::SimpleBuiltInType::~SimpleBuiltInType ( )

Destructor.

Member Function Documentation

Type* te::xsd::SimpleBuiltInType::clone ( ) const
virtual

Implements te::xsd::Type.

const std::string& te::xsd::SimpleBuiltInType::getName ( ) const

It returns the built-in type name.

Returns
The built-in type name.
BuiltInType te::xsd::SimpleBuiltInType::getType ( ) const

It returns the built-in type code.

Returns
The built-in type code.
SimpleBuiltInType& te::xsd::SimpleBuiltInType::operator= ( const SimpleBuiltInType rhs)

Assignment operator.

Parameters
rhsRight-hand-side object.
Returns
A reference to this object.

Member Data Documentation

BuiltInType te::xsd::SimpleBuiltInType::m_type
private

The built-in type.

Definition at line 92 of file SimpleBuiltInType.h.

std::string te::xsd::SimpleBuiltInType::m_typeNames[1]
staticprivate

The list of names for available types.

Definition at line 93 of file SimpleBuiltInType.h.


The documentation for this class was generated from the following file: