#include <Attribute.h>
Public Member Functions | |
Attribute (const std::string &name, int type_id, bool qualified=false, std::string defaultVal="", std::string fixedVal="", bool use=false) | |
Attribute (void) | |
std::string | getName () const |
int | getType () const |
bool | isRequired () const |
std::string | defaultVal () const |
std::string | fixedVal () const |
bool | isQualified () const |
Attribute & | operator= (const Attribute &a) |
Definition at line 27 of file Attribute.h.
Schema::Attribute::Attribute | ( | const std::string & | name, | |
int | type_id, | |||
bool | qualified = false , |
|||
std::string | defaultVal = "" , |
|||
std::string | fixedVal = "" , |
|||
bool | use = false | |||
) | [inline] |
Definition at line 58 of file Attribute.h.
Schema::Attribute::Attribute | ( | void | ) | [inline] |
Definition at line 74 of file Attribute.h.
std::string Schema::Attribute::getName | ( | ) | const [inline] |
Definition at line 83 of file Attribute.h.
Referenced by Schema::ComplexType::addAttribute(), and Schema::ComplexType::getAttributeName().
int Schema::Attribute::getType | ( | ) | const [inline] |
Definition at line 90 of file Attribute.h.
Referenced by Schema::ComplexType::getAttributeType(), and Schema::SchemaValidator::validate().
bool Schema::Attribute::isRequired | ( | ) | const [inline] |
Definition at line 97 of file Attribute.h.
std::string Schema::Attribute::defaultVal | ( | ) | const [inline] |
Definition at line 104 of file Attribute.h.
std::string Schema::Attribute::fixedVal | ( | ) | const [inline] |
bool Schema::Attribute::isQualified | ( | ) | const [inline] |
Definition at line 125 of file Attribute.h.
References attName, attType, attUse, dval, fval, and isQualified().