#include <ContentModel.h>
Public Types | |
| typedef pair< ContentType, ContentDiscriminator > | ContentHolder |
| typedef list< ContentHolder > | Contents |
| typedef list< ContentHolder >::iterator | ContentsIterator |
| enum | ContentDiscriminator { Particle, ParticleGroup, Container } |
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 | min () const |
| int | max () const |
| int | getNumParticles () const |
| bool | anyContents () const |
| void | matchforwardRef (const std::string &name, Element &e) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
1.3.9.1