ACEXML
6.4.1
|
#include "parser/debug_validator/Debug_Attributes_Builder.h"
Public Member Functions | |
ACEXML_Debug_Attribute_Builder () | |
ACEXML_Debug_Attribute_Builder (const ACEXML_Debug_Attribute_Builder &rhs) | |
virtual | ~ACEXML_Debug_Attribute_Builder () |
virtual int | setName (const ACEXML_Char *n) |
virtual const ACEXML_Char * | getName (void) |
virtual int | setAttType (const ATT_TYPE type) |
virtual int | insertList (const ACEXML_Char *Name) |
virtual int | setDefault (const DEFAULT_DECL def, const ACEXML_Char *value) |
virtual int | validAttr (void) |
virtual void | dump (void) |
Public Member Functions inherited from ACEXML_Attribute_Def_Builder | |
virtual | ~ACEXML_Attribute_Def_Builder ()=0 |
virtual int | setAttType (const ATT_TYPE type)=0 |
Private Attributes | |
ACEXML_String | name_ |
Attribute name. More... | |
ATT_TYPE | type_ |
Type of attribute. More... | |
DEFAULT_DECL | default_decl_ |
Default value type. More... | |
ACEXML_String | default_value_ |
Default attribute value. More... | |
ACEXML_STRING_QUEUE | att_value_queue_ |
Holds a queue of enumerated attribute values. More... | |
Additional Inherited Members | |
Public Types inherited from ACEXML_Attribute_Def_Builder | |
enum | ATT_TYPE { CDATA, ID, IDREF, IDREFS, ENTITY, ENTITIES, NMTOKEN, NMTOKENS, NOTATION, ENUMERATION, ERROR_TYPE } |
enum | DEFAULT_DECL { REQUIRED, IMPLIED, FIXED, INVALID } |
typedef auto_ptr< ACEXML_Attribute_Def_Builder > | VAR |
This class prints out the Attribute definition for debugging purpose.
ACEXML_Debug_Attribute_Builder::ACEXML_Debug_Attribute_Builder | ( | ) |
ACEXML_Debug_Attribute_Builder::ACEXML_Debug_Attribute_Builder | ( | const ACEXML_Debug_Attribute_Builder & | rhs | ) |
|
virtual |
|
virtual |
Dump the content of the attribute definition.
Implements ACEXML_Attribute_Def_Builder.
|
virtual |
Get the name of the attribute.
Implements ACEXML_Attribute_Def_Builder.
|
virtual |
Insert an element for NOTATION or ENUMERATION type attribute.
Implements ACEXML_Attribute_Def_Builder.
|
virtual |
Set the attribute type.
|
virtual |
Set default attribute declaration.
Implements ACEXML_Attribute_Def_Builder.
|
virtual |
Specify the name of the attribute.
Implements ACEXML_Attribute_Def_Builder.
|
virtual |
Check validity of the current attribute definition being built.
0 | if the attribute is not a valid combo. |
Implements ACEXML_Attribute_Def_Builder.
|
private |
Holds a queue of enumerated attribute values.
|
private |
Default value type.
|
private |
Default attribute value.
|
private |
Attribute name.
|
private |
Type of attribute.