Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Schema::TypeContainer Class Reference

#include <TypeContainer.h>

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 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

bool printTypeNames_ = true

Friends

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

Constructor & Destructor Documentation

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

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

Schema::TypeContainer::~TypeContainer  ) 
 


Member Function Documentation

Schema::TypeContainer::TypeContainer::TypeContainer ContentModel cm,
const SchemaParser sp
 

TypeContainer * Schema::TypeContainer::getAttributeContainer std::string  attName,
bool  create = false
 

TypeContainer * Schema::TypeContainer::getBaseTypeContainer bool  create = false  ) 
 

TypeContainer * Schema::TypeContainer::getChildContainer std::string  elemName,
bool  create = false
 

TypeContainer * Schema::TypeContainer::getChildContainer ContentModel cm,
bool  create = false
 

void * Schema::TypeContainer::getValue  ) 
 

void Schema::TypeContainer::rewind  ) 
 

resets the access counters so that all access starts from first child

void * Schema::TypeContainer::getValue const std::string &  name,
Schema::Type type
 

const SchemaParser * Schema::TypeContainer::schemaParser  )  const
 

bool Schema::TypeContainer::isValueValid  )  const [inline]
 

int Schema::TypeContainer::getTypeId  )  const [inline]
 

ContentModel * Schema::TypeContainer::getContentModel  )  const [inline]
 

void Schema::TypeContainer::setValue const std::string &  sValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue int  iValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue char  cValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue long  lValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue unsigned long  ulValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue float  fValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue double  dbValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue bool  bValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValue Qname qnValue,
bool  valid = true
[inline]
 

void Schema::TypeContainer::setValAsString const std::string &  v  )  [inline]
 

void Schema::TypeContainer::print std::ostream &  os  ) 
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  os,
TypeContainer tc
[friend]
 


Member Data Documentation

bool Schema::TypeContainer::printTypeNames_ = true [static]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 12 18:51:56 2006 for wsdlpull by  doxygen 1.3.9.1