Public Types | |
typedef std::pair< ContentType, ContentDiscriminator > | ContentHolder |
typedef std::list< ContentHolder > | Contents |
typedef std::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 | getMin () const |
int | getMax () const |
int | getNumParticles () const |
bool | anyContents () const |
void | matchforwardRef (const std::string &name, Element &e) |
Classes | |
union | ContentType |
Definition at line 36 of file ContentModel.h.