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

TypeContainer Class Reference

#include <TypeContainer.h>

Collaboration diagram for TypeContainer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeContainer (int typeId, const SchemaParser *sp)
 TypeContainer (ContentModel *cm, const SchemaParser *sp)
 ~TypeContainer ()
TypeContainergetAttributeContainer (string attName, bool create=false)
TypeContainergetBaseTypeContainer (bool create=false)
TypeContainergetChildContainer (string elemName, bool create=false)
TypeContainergetChildContainer (ContentModel *cm, bool create=false)
void * getValue ()
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 (ostream &os)

Friends

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

Constructor & Destructor Documentation

TypeContainer::TypeContainer int  id,
const SchemaParser sp
 

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

TypeContainer::TypeContainer ContentModel cm,
const SchemaParser sp
 

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

TypeContainer::~TypeContainer  ) 
 


Member Function Documentation

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

TypeContainer * TypeContainer::getBaseTypeContainer bool  create = false  ) 
 

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

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

void * TypeContainer::getValue  ) 
 

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

This is a helper method to get an element instance whose name is 'name' and is a simple type

const SchemaParser* TypeContainer::schemaParser  )  const
 

bool TypeContainer::isValueValid  )  const [inline]
 

int TypeContainer::getTypeId  )  const [inline]
 

ContentModel * TypeContainer::getContentModel  )  const [inline]
 

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

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

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

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

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

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

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

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

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

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

void TypeContainer::print ostream &  os  ) 
 


Friends And Related Function Documentation

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


The documentation for this class was generated from the following files:
Generated on Sun Oct 16 10:11:52 2005 for wsdlpull by  doxygen 1.3.9.1