wsdlpull 1.23
Loading...
Searching...
No Matches
Schema::TypesTable Class Reference

#include <TypesTable.h>

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

◆ TypesTable()

◆ ~TypesTable()

Schema::TypesTable::~TypesTable ( )

Definition at line 66 of file TypesTable.cpp.

References clean().

Member Function Documentation

◆ clean()

void Schema::TypesTable::clean ( )

Definition at line 89 of file TypesTable.cpp.

References getTypePtr().

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

◆ addType()

◆ addExtType()

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

◆ getTypeId()

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

◆ getAtomicTypeName()

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

Definition at line 73 of file TypesTable.cpp.

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

◆ addExternalTypeId()

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

◆ getNumExtRefs()

int Schema::TypesTable::getNumExtRefs ( )
inline

Definition at line 55 of file TypesTable.h.

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

◆ getExtRefName()

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

Definition at line 59 of file TypesTable.h.

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

◆ getExtRefType()

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

Definition at line 63 of file TypesTable.h.

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

◆ resolveForwardElementRefs()

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

Definition at line 309 of file TypesTable.cpp.

References Schema::ComplexType::matchElementRef().

◆ resolveForwardAttributeRefs()

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

Definition at line 324 of file TypesTable.cpp.

References Schema::ComplexType::matchAttributeRef().

◆ getCompleteXpath()

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

◆ getTypePtr()

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

◆ getNumTypes()

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

Definition at line 77 of file TypesTable.h.

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

◆ detectUndefinedTypes()

bool Schema::TypesTable::detectUndefinedTypes ( void )

Definition at line 299 of file TypesTable.cpp.

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

◆ setTargetNamespace()

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

Definition at line 82 of file TypesTable.h.

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

◆ getTargetNamespace()

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

Definition at line 86 of file TypesTable.h.

◆ printUndefinedTypes()

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

Definition at line 339 of file TypesTable.cpp.

References getTypePtr().

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


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