Schema::TypeContainer Class Reference

Collaboration diagram for Schema::TypeContainer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeContainer (int typeId, const SchemaParser *sp)
 TypeContainer::TypeContainer (ContentModel *cm, const SchemaParser *sp)
 ~TypeContainer ()
TypeContainergetAttributeContainer (std::string attName, bool create=false)
TypeContainergetBaseTypeContainer (bool create=false)
TypeContainergetChildContainer (std::string elemName, bool create=false)
TypeContainergetChildContainer (ContentModel *cm, bool create=false)
void * getValue ()
void rewind ()
 resets the access counters so that all access starts from first child
void * getValue (const std::string &name, Schema::Type &type)
const SchemaParserschemaParser () const
bool isValueValid () const
int getTypeId () const
ContentModelgetContentModel () const
void setValue (const std::string &sValue, bool valid=true)
void setValue (int iValue, bool valid=true)
void setValue (char cValue, bool valid=true)
void setValue (long lValue, bool valid=true)
void setValue (unsigned long long ulValue, bool valid=true)
void setValue (float fValue, bool valid=true)
void setValue (double dbValue, bool valid=true)
void setValue (bool bValue, bool valid=true)
void setValue (Qname &qnValue, bool valid=true)
void setValAsString (const std::string &v)
void print (std::ostream &os)

Static Public Attributes

static bool printTypeNames_ = true

Friends

std::ostream & operator<< (std::ostream &os, TypeContainer &tc)

Detailed Description

Definition at line 44 of file TypeContainer.h.


Constructor & Destructor Documentation

Schema::TypeContainer::TypeContainer int  id,
const SchemaParser sp
 

This is a union so setting one pointer will set all to 0

Definition at line 27 of file TypeContainer.cpp.

Referenced by getAttributeContainer(), getBaseTypeContainer(), and getChildContainer().


The documentation for this class was generated from the following files:
Generated on Sun Nov 26 03:05:01 2006 for wsdlpull by  doxygen 1.4.6