Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

sym_const Class Reference

Class to represent named constants and enumerations. More...

#include <dsym.h>

Inheritance diagram for sym_const:

Inheritance graph
[legend]
Collaboration diagram for sym_const:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 sym_const (STRING n)
 sym_const ()
const uint get_sy_kind (void)
void set_const (pConst c)
const pConst get_const (void)

Private Attributes

pConst konst

Detailed Description

Class to represent named constants and enumerations.

See const.h for a definition of the const and pConst types.

Definition at line 46 of file dsym.h.


Constructor & Destructor Documentation

sym_const::sym_const STRING  n  )  [inline]
 

Definition at line 51 of file dsym.h.

References konst, and NULL.

00051                         : sym( n )
00052     { 
00053         konst = NULL; 
00054     }

sym_const::sym_const  )  [inline]
 

Definition at line 56 of file dsym.h.

References konst, and NULL.

00057     {
00058         konst = NULL;
00059     }


Member Function Documentation

const pConst sym_const::get_const void   )  [inline, virtual]
 

Reimplemented from sym.

Definition at line 67 of file dsym.h.

References konst.

00068     {
00069         return konst;
00070     }

const uint sym_const::get_sy_kind void   )  [inline, virtual]
 

Reimplemented from sym.

Definition at line 61 of file dsym.h.

References sy_const, and uint.

00061 { return sy_const; }

void sym_const::set_const pConst  c  )  [inline, virtual]
 

Reimplemented from sym.

Definition at line 63 of file dsym.h.

References konst.

00064     {
00065         konst = c;
00066     }


Member Data Documentation

pConst sym_const::konst [private]
 

Definition at line 48 of file dsym.h.

Referenced by get_const(), set_const(), and sym_const().


The documentation for this class was generated from the following file:
Generated on Wed Mar 31 21:16:10 2004 for Data Structures for a VHDL Compiler by doxygen 1.3.3