wsdlpull  1.23
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Schema::TypesTable Class Reference

#include <TypesTable.h>

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)

Detailed Description

Definition at line 35 of file TypesTable.h.


Constructor & Destructor Documentation

Definition at line 66 of file TypesTable.cpp.


Member Function Documentation

Definition at line 89 of file TypesTable.cpp.

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

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 
)

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().

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 
)

Definition at line 309 of file TypesTable.cpp.

References Schema::ComplexType::matchElementRef().

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

Definition at line 324 of file TypesTable.cpp.

References Schema::ComplexType::matchAttributeRef().

int Schema::TypesTable::getCompleteXpath ( int  elemId,
std::string &  childName,
int *  xPath,
int  limits,
int &  offset 
)
int Schema::TypesTable::getNumTypes ( void  ) const [inline]

Definition at line 77 of file TypesTable.h.

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

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)

Definition at line 339 of file TypesTable.cpp.

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


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