#include <Element.h>

Public Member Functions | |
| Element (const std::string &name, const std::string &elemNs, const std::string &typeNs, int type_id, int minimum=1, int maximum=1, bool qualified=false, std::string def="", std::string fixed="") | |
| Element (void) | |
| void | setType (int id) |
| std::string | getName () const |
| void | setTypeNamespace (const std::string &ns) |
| std::string | getTypeNamespace () const |
| void | setNamespace (const std::string &ns) |
| std::string | getNamespace () const |
| int | getType () const |
| int | getMax () const |
| int | getMin () const |
| std::string & | defaultVal () |
| std::string & | fixedVal () |
| bool | isQualified () const |
| Element & | operator= (const Element &e) |
| void | setMin (int m) |
| void | setMax (int m) |
| void | addConstraint (Constraint *c) |
| Constraint * | constraint () |
| const std::list< std::string > & | getConstraints () |
Public Attributes | |
| int | nOccurrences |
Definition at line 30 of file Element.h.
| Schema::Element::Element | ( | const std::string & | name, | |
| const std::string & | elemNs, | |||
| const std::string & | typeNs, | |||
| int | type_id, | |||
| int | minimum = 1, |
|||
| int | maximum = 1, |
|||
| bool | qualified = false, |
|||
| std::string | def = "", |
|||
| std::string | fixed = "" | |||
| ) | [inline] |
| std::string Schema::Element::getName | ( | ) | const [inline] |
Definition at line 125 of file Element.h.
Referenced by Schema::ContentModel::addElement(), and main().
| void Schema::Element::setTypeNamespace | ( | const std::string & | ns | ) | [inline] |
| std::string Schema::Element::getTypeNamespace | ( | ) | const [inline] |
| void Schema::Element::setNamespace | ( | const std::string & | ns | ) | [inline] |
| std::string Schema::Element::getNamespace | ( | ) | const [inline] |
| int Schema::Element::getType | ( | ) | const [inline] |
Definition at line 147 of file Element.h.
Referenced by Schema::ContentModel::addElement(), WsdlPull::Soap::handleElement(), main(), and WsdlPull::Part::type().
| int Schema::Element::getMax | ( | ) | const [inline] |
| bool Schema::Element::isQualified | ( | ) | const [inline] |
Definition at line 188 of file Element.h.
References cstr, dval, elemName, elemType, fval, isQualified(), and typeNamespace.
| void Schema::Element::addConstraint | ( | Constraint * | c | ) | [inline] |
| Constraint * Schema::Element::constraint | ( | ) | [inline] |
| const std::list<std::string>& Schema::Element::getConstraints | ( | ) |
1.5.5