Schema::ComplexType Class Reference

#include <ComplexType.h>

Inheritance diagram for Schema::ComplexType:

Inheritance graph
[legend]
Collaboration diagram for Schema::ComplexType:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ComplexType (const std::string &)
 ~ComplexType ()
bool isSimple () const
int getContentType () const
int getNumAttributes () const
int getAttributeType (int index)
std::string getAttributeName (int index) const
ContentModelgetContents () const
const AttributegetAttribute (const std::string &name) const
const AttributegetAttribute (int index) const
std::list< Attribute > & pAttributeList ()
void setSimpleContentType (int id)
void setContents (ContentModel *ct)
void addAttribute (const Attribute &a, bool fwdRef=false)
void addAttributeGroupName (const Qname &qn)
void matchAttributeRef (const std::string &name, Attribute &a)
void matchElementRef (const std::string &name, Element &e)
bool checkOccurrences (void)
void resetCounters (void)


Detailed Description

Definition at line 34 of file ComplexType.h.


Constructor & Destructor Documentation

Schema::ComplexType::ComplexType ( const std::string &  ns  ) 

Definition at line 26 of file ComplexType.cpp.

References Schema::Complex, and Schema::XSDType::setContentModel().

Schema::ComplexType::~ComplexType (  )  [inline]

Definition at line 170 of file ComplexType.h.


Member Function Documentation

bool Schema::ComplexType::isSimple (  )  const [inline, virtual]

Implements Schema::XSDType.

Definition at line 111 of file ComplexType.h.

int Schema::ComplexType::getContentType (  )  const [inline]

int Schema::ComplexType::getNumAttributes (  )  const [inline]

Definition at line 118 of file ComplexType.h.

Referenced by Schema::TypeContainer::getAttributeContainer().

int Schema::ComplexType::getAttributeType ( int  index  )  [inline]

std::string Schema::ComplexType::getAttributeName ( int  index  )  const [inline]

ContentModel * Schema::ComplexType::getContents (  )  const [inline]

const Attribute * Schema::ComplexType::getAttribute ( const std::string &  name  )  const

const Attribute * Schema::ComplexType::getAttribute ( int  index  )  const

Definition at line 102 of file ComplexType.cpp.

std::list< Attribute > & Schema::ComplexType::pAttributeList (  )  [inline]

Definition at line 139 of file ComplexType.h.

void Schema::ComplexType::setSimpleContentType ( int  id  )  [inline]

Definition at line 147 of file ComplexType.h.

void Schema::ComplexType::setContents ( ContentModel ct  )  [inline]

Definition at line 163 of file ComplexType.h.

void Schema::ComplexType::addAttribute ( const Attribute a,
bool  fwdRef = false 
)

Definition at line 38 of file ComplexType.cpp.

References getAttribute(), and Schema::Attribute::getName().

void Schema::ComplexType::addAttributeGroupName ( const Qname qn  ) 

Definition at line 53 of file ComplexType.cpp.

void Schema::ComplexType::matchAttributeRef ( const std::string &  name,
Attribute a 
)

Definition at line 69 of file ComplexType.cpp.

References getAttribute().

void Schema::ComplexType::matchElementRef ( const std::string &  name,
Element e 
)

Definition at line 61 of file ComplexType.cpp.

References Schema::ContentModel::matchforwardRef().

bool Schema::ComplexType::checkOccurrences ( void   ) 

void Schema::ComplexType::resetCounters ( void   ) 


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

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