Public Types | |
enum | { NONE = 0, LENGTH = 0x1, MINLEN = 0x2, MAXLEN = 0x4, ENUM = 0x8, WSP = 0x10, MAXINC = 0x20, MININC = 0x40, MAXEX = 0x80, MINEX = 0x100, TOTALDIGITS = 0x200, FRAC = 0x400, PATTERN = 0x800 } |
enum | { PRESERVE, REPLACE, COLLAPSE } |
Public Member Functions | |
Constructors and Destructors | |
SimpleType (const std::string &ns) | |
~SimpleType () | |
Various Getter methods | |
bool | isList () const |
bool | isUnion () const |
bool | isSimple () const |
bool | isvalidFacet (std::string facet) |
bool | isValidInt (int val) const |
bool | isValidFloat (float val) const |
bool | isValidString (std::string val) const |
bool | getFacetValue (int facet, void *&val) |
const std::list< int > * | unionTypes () const |
void | setUnionType (int id) |
void | setListType (int id) |
void | setFacetValue (std::string facet, std::string val) |
Definition at line 53 of file SimpleType.h.
|
Definition at line 27 of file SimpleType.cpp. References Schema::facetValueType::numEnums, and Schema::XSDType::setContentModel(). |
|
isList
Definition at line 141 of file SimpleType.h. |
|
isSimple return false Implements Schema::XSDType. Definition at line 174 of file SimpleType.h. |
|
isUnion
Definition at line 148 of file SimpleType.h. |