Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACEXML_Debug_Attribute_Builder Class Reference

This class prints out the Attribute definition for debugging purpose. More...

#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 Methods

 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)
 Specify the name of the attribute. More...

virtual const ACEXML_ChargetName (void)
 Get the name of the attribute. More...

virtual int setAttType (const ATT_TYPE type, ACEXML_Env &xmlenv)
 Set the attribute type. More...

virtual int insertList (const ACEXML_Char *Name, ACEXML_Env &xmlenv)
 Insert an element for NOTATION or ENUMERATION type attribute. More...

virtual int setDefault (const DEFAULT_DECL def, const ACEXML_Char *value, ACEXML_Env &xmlenv)
 Set default attribute declaration. More...

virtual int validAttr (void)
 Check validity of the current attribute definition being built. More...

virtual void dump (void)
 Dump the content of the attribute definition. More...


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...


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.

Reimplemented from ACEXML_Attribute_Def_Builder.

const ACEXML_Char * ACEXML_Debug_Attribute_Builder::getName void    [virtual]
 

Get the name of the attribute.

Reimplemented from ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::insertList const ACEXML_Char   n,
ACEXML_Env   xmlenv
[virtual]
 

Insert an element for NOTATION or ENUMERATION type attribute.

Reimplemented from ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::setAttType const ATT_TYPE    type,
ACEXML_Env   xmlenv
[virtual]
 

Set the attribute type.

Reimplemented from ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::setDefault const DEFAULT_DECL    def,
const ACEXML_Char   value,
ACEXML_Env   xmlenv
[virtual]
 

Set default attribute declaration.

Reimplemented from ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::setName const ACEXML_Char   n [virtual]
 

Specify the name of the attribute.

Reimplemented from ACEXML_Attribute_Def_Builder.

int ACEXML_Debug_Attribute_Builder::validAttr void    [virtual]
 

Check validity of the current attribute definition being built.

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

Reimplemented from ACEXML_Attribute_Def_Builder.


Member Data Documentation

ACEXML_STRING_QUEUE ACEXML_Debug_Attribute_Builder::att_value_queue_ [private]
 

Holds a queue of enumerated attribute values.

DEFAULT_DECL ACEXML_Debug_Attribute_Builder::default_decl_ [private]
 

Default value type.

ACEXML_String ACEXML_Debug_Attribute_Builder::default_value_ [private]
 

Default attribute value.

ACEXML_String ACEXML_Debug_Attribute_Builder::name_ [private]
 

Attribute name.

ATT_TYPE ACEXML_Debug_Attribute_Builder::type_ [private]
 

Type of attribute.


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 17:27:38 2002 for ACEXML by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001