|
wsdlpull svntrunk
|
#include <ContentModel.h>
Classes | |
| union | ContentType |
Public Types | |
| enum | ContentDiscriminator { Particle , ParticleGroup , Container } |
| typedef std::pair< ContentType, ContentDiscriminator > | ContentHolder |
| typedef std::list< ContentHolder > | Contents |
| typedef std::list< ContentHolder >::iterator | ContentsIterator |
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) |
Definition at line 36 of file ContentModel.h.
| typedef std::pair<ContentType,ContentDiscriminator> Schema::ContentModel::ContentHolder |
Definition at line 53 of file ContentModel.h.
| typedef std::list<ContentHolder> Schema::ContentModel::Contents |
Definition at line 54 of file ContentModel.h.
| typedef std::list<ContentHolder>::iterator Schema::ContentModel::ContentsIterator |
Definition at line 55 of file ContentModel.h.
| Enumerator | |
|---|---|
| Particle | |
| ParticleGroup | |
| Container | |
Definition at line 47 of file ContentModel.h.
| 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.
|
inline |
Definition at line 84 of file ContentModel.h.
|
inline |
Definition at line 91 of file ContentModel.h.
Referenced by Schema::TypeContainer::getChildContainer(), Schema::TypeContainer::getValue(), matchforwardRef(), Schema::TypeContainer::rewind(), and ~ContentModel().
|
inline |
Definition at line 98 of file ContentModel.h.
Referenced by Schema::TypeContainer::getChildContainer(), Schema::TypeContainer::getValue(), matchforwardRef(), Schema::TypeContainer::rewind(), and ~ContentModel().
| void Schema::ContentModel::addElement | ( | const Element & | e | ) |
Definition at line 27 of file ContentModel.cpp.
References Schema::All, Schema::ContentModel::ContentType::e, Schema::Element::getMax(), Schema::Element::getName(), Schema::Element::getType(), Particle, and Schema::XSD_ANY.
| void Schema::ContentModel::addGroup | ( | const Group & | e, |
| bool | own = false |
||
| ) |
Definition at line 51 of file ContentModel.cpp.
References Schema::All, Schema::ContentModel::ContentType::g, Schema::Group::getContents(), ParticleGroup, and Schema::Group::setContents().
| void Schema::ContentModel::addContentModel | ( | const ContentModel * | c | ) |
Definition at line 66 of file ContentModel.cpp.
References Schema::All, Schema::ContentModel::ContentType::c, and Container.
|
inline |
Definition at line 122 of file ContentModel.h.
|
inline |
Definition at line 130 of file ContentModel.h.
|
inline |
Definition at line 106 of file ContentModel.h.
|
inline |
Definition at line 114 of file ContentModel.h.
|
inline |
Definition at line 138 of file ContentModel.h.
|
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().