Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SimpleType Class Reference

#include <SimpleType.h>

Inheritance diagram for SimpleType:

Inheritance graph
[legend]
Collaboration diagram for SimpleType:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  NONE = 0,
  LENGTH = 0x1,
  MINLEN = 0x2,
  MAXLEN = 0x4,
  ENUM = 0x8,
  WSP = 0x10,
  MAXINC = 0x20,
  MININC = 0x40,
  MAXEX = 0x80,
  MINEX = 0x100,
  TOTALDIGITS = 0x200,
  FRAC = 0x400,
  PATTERN = 0x800
}
enum  {
  PRESERVE,
  REPLACE,
  COLLAPSE
}

Public Member Functions

Constructors and Destructors
 SimpleType (const std::string &ns)
 ~SimpleType ()
Various Getter methods
bool isList () const
bool isUnion () const
bool isSimple () const
bool isvalidFacet (std::string facet)
bool isValidInt (int val) const
bool isValidFloat (float val) const
bool isValidString (std::string val) const
bool getFacetValue (int facet, void **val)
const std::list< int > * unionTypes () const
void setUnionType (int id)
 Various setter and utility methods.
void setListType (int id)
void setFacetValue (std::string facet, std::string val)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
NONE 
LENGTH 
MINLEN 
MAXLEN 
ENUM 
WSP 
MAXINC 
MININC 
MAXEX 
MINEX 
TOTALDIGITS 
FRAC 
PATTERN 

anonymous enum
 

Enumeration values:
PRESERVE 
REPLACE 
COLLAPSE 


Constructor & Destructor Documentation

SimpleType::SimpleType const std::string &  ns  ) 
 

Parameters:
the namespace uri of the simple type

SimpleType::~SimpleType  ) 
 


Member Function Documentation

bool SimpleType::isList  )  const [inline]
 

isList

Returns:
:is this a list type

bool SimpleType::isUnion  )  const [inline]
 

isUnion

Returns:
:is this a union type

bool SimpleType::isSimple  )  const [inline, virtual]
 

isSimple return false

Implements XSDType.

bool SimpleType::isvalidFacet std::string  facet  ) 
 

bool SimpleType::isValidInt int  val  )  const
 

bool SimpleType::isValidFloat float  val  )  const
 

bool SimpleType::isValidString std::string  val  )  const
 

bool SimpleType::getFacetValue int  facet,
void **  val
 

const std::list< int > * SimpleType::unionTypes  )  const [inline]
 

void SimpleType::setUnionType int  id  )  [inline]
 

Various setter and utility methods.

void SimpleType::setListType int  id  )  [inline]
 

void SimpleType::setFacetValue std::string  facet,
std::string  val
 


The documentation for this class was generated from the following files:
Generated on Sun Oct 16 10:11:52 2005 for wsdlpull by  doxygen 1.3.9.1