Schema::TypesTable Class Reference

#include <TypesTable.h>

Collaboration diagram for Schema::TypesTable:

Collaboration graph

List of all members.

Public Member Functions

 TypesTable ()
 ~TypesTable ()
void clean ()
int addType (XSDType *type)
int addExtType (XSDType *type, int id)
int getTypeId (const Qname &name, bool create=false)
std::string getAtomicTypeName (Schema::Type t) const
int addExternalTypeId (const Qname &type, const XSDType *pType)
int getNumExtRefs ()
QnamegetExtRefName (int index)
int getExtRefType (int index)
void resolveForwardElementRefs (const std::string &name, Element &e)
void resolveForwardAttributeRefs (const std::string &name, Attribute &a)
int getCompleteXpath (int elemId, std::string &childName, int *xPath, int limits, int &offset)
XSDTypegetTypePtr (int id) const
int getNumTypes (void) const
bool detectUndefinedTypes (void)
void setTargetNamespace (std::string Uri)
std::string getTargetNamespace (void)
void printUndefinedTypes (std::ostream &out)


struct  extRefs

Detailed Description

Definition at line 35 of file TypesTable.h.

Constructor & Destructor Documentation

Schema::TypesTable::TypesTable (  ) 

Schema::TypesTable::~TypesTable (  ) 

Definition at line 66 of file TypesTable.cpp.

References clean().

Member Function Documentation

void Schema::TypesTable::clean (  ) 

Definition at line 89 of file TypesTable.cpp.

References getTypePtr().

Referenced by Schema::SchemaParser::~SchemaParser(), and ~TypesTable().

int Schema::TypesTable::addType ( XSDType type  ) 

int Schema::TypesTable::addExtType ( XSDType type,
int  id 

Definition at line 215 of file TypesTable.cpp.

References Schema::XSD_ANYURI.

Referenced by Schema::SchemaParser::finalize().

int Schema::TypesTable::getTypeId ( const Qname name,
bool  create = false 

std::string Schema::TypesTable::getAtomicTypeName ( Schema::Type  t  )  const

Definition at line 73 of file TypesTable.cpp.

Referenced by Schema::SchemaParser::getTypeName().

int Schema::TypesTable::addExternalTypeId ( const Qname type,
const XSDType pType 

Definition at line 196 of file TypesTable.cpp.

References Schema::XSDType::getQname().

Referenced by Schema::SchemaParser::getTypeId().

int Schema::TypesTable::getNumExtRefs (  )  [inline]

Definition at line 55 of file TypesTable.h.

Referenced by Schema::SchemaParser::finalize().

Qname& Schema::TypesTable::getExtRefName ( int  index  )  [inline]

Definition at line 59 of file TypesTable.h.

Referenced by Schema::SchemaParser::finalize().

int Schema::TypesTable::getExtRefType ( int  index  )  [inline]

Definition at line 63 of file TypesTable.h.

Referenced by Schema::SchemaParser::finalize().

void Schema::TypesTable::resolveForwardElementRefs ( const std::string &  name,
Element e 

void Schema::TypesTable::resolveForwardAttributeRefs ( const std::string &  name,
Attribute a 

int Schema::TypesTable::getCompleteXpath ( int  elemId,
std::string &  childName,
int *  xPath,
int  limits,
int &  offset 

XSDType * Schema::TypesTable::getTypePtr ( int  id  )  const

int Schema::TypesTable::getNumTypes ( void   )  const [inline]

Definition at line 77 of file TypesTable.h.

Referenced by Schema::SchemaParser::getNumTypes().

bool Schema::TypesTable::detectUndefinedTypes ( void   ) 

Definition at line 299 of file TypesTable.cpp.

Referenced by Schema::SchemaParser::finalize().

void Schema::TypesTable::setTargetNamespace ( std::string  Uri  )  [inline]

Definition at line 82 of file TypesTable.h.

Referenced by Schema::SchemaParser::parseSchemaTag().

std::string Schema::TypesTable::getTargetNamespace ( void   )  [inline]

Definition at line 86 of file TypesTable.h.

void Schema::TypesTable::printUndefinedTypes ( std::ostream &  out  ) 

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

Generated on Sat Jan 10 19:07:17 2009 for wsdlpull by  doxygen 1.5.5