Schema::ContentModel Class Reference

#include <ContentModel.h>

List of all members.

Public Types

enum  ContentDiscriminator { Particle, ParticleGroup, Container }
typedef std::pair< ContentType,
typedef std::list< ContentHolderContents
typedef std::list
< ContentHolder >::iterator 

Public Member Functions

 ContentModel (Schema::Compositor)
 ~ContentModel ()
Schema::Compositor getCompositor () const
ContentsIterator begin ()
ContentsIterator end ()
void addElement (const Element &e)
void addGroup (const Group &e, bool own=false)
void addContentModel (const ContentModel *c)
void setMin (const int &m)
void setMax (const int &m)
int getMin () const
int getMax () const
int getNumParticles () const
bool anyContents () const
void matchforwardRef (const std::string &name, Element &e)


union  ContentType

Detailed Description

Definition at line 36 of file ContentModel.h.

Member Typedef Documentation

Definition at line 53 of file ContentModel.h.

Definition at line 54 of file ContentModel.h.

Definition at line 55 of file ContentModel.h.

Member Enumeration Documentation


Definition at line 47 of file ContentModel.h.

Constructor & Destructor Documentation

Schema::ContentModel::ContentModel ( Schema::Compositor  c  ) 

Definition at line 79 of file ContentModel.cpp.

Schema::ContentModel::~ContentModel (  ) 

Definition at line 89 of file ContentModel.cpp.

References begin(), Container, end(), Particle, and ParticleGroup.

Member Function Documentation

Schema::Compositor Schema::ContentModel::getCompositor (  )  const [inline]

Definition at line 84 of file ContentModel.h.

ContentModel::ContentsIterator Schema::ContentModel::begin (  )  [inline]

ContentModel::ContentsIterator Schema::ContentModel::end (  )  [inline]

void Schema::ContentModel::addElement ( const Element e  ) 

void Schema::ContentModel::addGroup ( const Group e,
bool  own = false 

void Schema::ContentModel::addContentModel ( const ContentModel c  ) 

Definition at line 66 of file ContentModel.cpp.

References Schema::All, Schema::ContentModel::ContentType::c, and Container.

void Schema::ContentModel::setMin ( const int &  m  )  [inline]

Definition at line 122 of file ContentModel.h.

void Schema::ContentModel::setMax ( const int &  m  )  [inline]

Definition at line 130 of file ContentModel.h.

int Schema::ContentModel::getMin (  )  const [inline]

Definition at line 106 of file ContentModel.h.

int Schema::ContentModel::getMax (  )  const [inline]

Definition at line 114 of file ContentModel.h.

int Schema::ContentModel::getNumParticles (  )  const [inline]

Definition at line 138 of file ContentModel.h.

bool Schema::ContentModel::anyContents (  )  const [inline]

Definition at line 145 of file ContentModel.h.

void Schema::ContentModel::matchforwardRef ( const std::string &  name,
Element e 

Definition at line 103 of file ContentModel.cpp.

References begin(), end(), and Particle.

Referenced by Schema::ComplexType::matchElementRef().

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