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

const_agg Class Reference

An aggragate constant. More...

#include <const.h>

Inheritance diagram for const_agg:

Inheritance graph
[legend]
Collaboration diagram for const_agg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 const_agg (void)
void set_agg_ty (pType ty)
const pType get_agg_ty (void)
void set_tree (NODE *tree)
const NODEget_tree (void)
const uint get_cn_kind (void)
 shared virtual functions


Private Attributes

pType ty_aggragate
NODEagg_tree

Detailed Description

An aggragate constant.

The type (e.g, array or record) is determined by checking the aggragate type.

The aggragate is represented as a tree. If a decision has been made to allocate the aggragate in static data, the tree pointer will be NULL and the data pointer will have an address.

Definition at line 264 of file const.h.


Constructor & Destructor Documentation

const_agg::const_agg void   )  [inline]
 

Definition at line 269 of file const.h.

References agg_tree, NULL, and ty_aggragate.

00270     { 
00271         ty_aggragate = NULL;
00272         agg_tree = NULL;
00273     }


Member Function Documentation

const pType const_agg::get_agg_ty void   )  [inline, virtual]
 

Reimplemented from vhdl_const.

Definition at line 279 of file const.h.

References ty_aggragate.

00280     {
00281         return ty_aggragate;
00282     }

const uint const_agg::get_cn_kind void   )  [inline, virtual]
 

shared virtual functions

Reimplemented from vhdl_const.

Definition at line 293 of file const.h.

References cn_aggregate, and uint.

00293 { return cn_aggregate; }

const NODE* const_agg::get_tree void   )  [inline, virtual]
 

Reimplemented from vhdl_const.

Definition at line 289 of file const.h.

References agg_tree.

00290     {
00291         return agg_tree;
00292     }

void const_agg::set_agg_ty pType  ty  )  [inline, virtual]
 

Reimplemented from vhdl_const.

Definition at line 275 of file const.h.

References ty_aggragate.

00276     {
00277         ty_aggragate = ty;
00278     }    

void const_agg::set_tree NODE tree  )  [inline, virtual]
 

Reimplemented from vhdl_const.

Definition at line 284 of file const.h.

References agg_tree, and NULL.

00285     {
00286         assert( tree != NULL );
00287         agg_tree = tree;
00288     }


Member Data Documentation

NODE* const_agg::agg_tree [private]
 

Definition at line 267 of file const.h.

Referenced by const_agg(), get_tree(), and set_tree().

pType const_agg::ty_aggragate [private]
 

Definition at line 266 of file const.h.

Referenced by const_agg(), get_agg_ty(), and set_agg_ty().


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