ACEXML  6.1.0
Public Member Functions | Private Attributes
ACEXML_Debug_Attribute_Builder Class Reference

#include <parser/debug_validator/Debug_Attributes_Builder.h>

Inheritance diagram for ACEXML_Debug_Attribute_Builder:
Inheritance graph
[legend]
Collaboration diagram for ACEXML_Debug_Attribute_Builder:
Collaboration graph
[legend]

List of all members.

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_ChargetName (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)

Private Attributes

ACEXML_String name_
 Attribute name.
ATT_TYPE type_
 Type of attribute.
DEFAULT_DECL default_decl_
 Default value type.
ACEXML_String default_value_
 Default attribute value.
ACEXML_STRING_QUEUE att_value_queue_
 Holds a queue of enumerated attribute values.

Detailed Description

This class prints out the Attribute definition for debugging purpose.


Constructor & Destructor Documentation

ACEXML_Debug_Attribute_Builder::ACEXML_Debug_Attribute_Builder ( )
ACEXML_Debug_Attribute_Builder::ACEXML_Debug_Attribute_Builder ( const ACEXML_Debug_Attribute_Builder rhs)
ACEXML_Debug_Attribute_Builder::~ACEXML_Debug_Attribute_Builder ( ) [virtual]

Member Function Documentation

void ACEXML_Debug_Attribute_Builder::dump ( void  ) [virtual]

Dump the content of the attribute definition.

Implements ACEXML_Attribute_Def_Builder.

const ACEXML_Char * ACEXML_Debug_Attribute_Builder::getName ( void  ) [virtual]

Get the name of the attribute.

Implements ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::insertList ( const ACEXML_Char Name) [virtual]

Insert an element for NOTATION or ENUMERATION type attribute.

Implements ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::setAttType ( const ATT_TYPE  type) [virtual]

Set the attribute type.

int ACEXML_Debug_Attribute_Builder::setDefault ( const DEFAULT_DECL  def,
const ACEXML_Char value 
) [virtual]

Set default attribute declaration.

Implements ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::setName ( const ACEXML_Char n) [virtual]

Specify the name of the attribute.

Implements ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::validAttr ( void  ) [virtual]

Check validity of the current attribute definition being built.

Return values:
0if the attribute is not a valid combo.

Implements ACEXML_Attribute_Def_Builder.


Member Data Documentation

Holds a queue of enumerated attribute values.

Default value type.

Default attribute value.

Attribute name.

Type of attribute.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines