#include <Element.h>
Collaboration diagram for Element:

Public Member Functions | |
| Element (const std::string &name, int type_id, int min=1, int max=1, bool qualified=false, std::string def="", std::string fixed="") | |
| Element (void) | |
| void | setType (int id) |
| std::string | getName () const |
| int | getType () const |
| int | max () const |
| int | min () const |
| std::string & | defaultVal () |
| std::string & | fixedVal () |
| bool | isQualified () const |
| Element & | operator= (const Element &e) |
| void | min (int m) |
| void | max (int m) |
| void | addConstraint (Constraint *c) |
| Constraint * | constraint () |
Public Attributes | |
| int | nOccurrences |
|
||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1