Polaris: BlockDataSymbol Class Reference

BlockDataSymbol Class Reference

a Symbol of class BLOCK_DATA_CLASS More...

#include <BlockDataSymbol.h>

Inheritance diagram for BlockDataSymbol:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BlockDataSymbol (const char *name)
 < No additional data
 BlockDataSymbol (const BlockDataSymbol &other)
BlockDataSymboloperator= (const BlockDataSymbol &other)
 class BlockDataSymbol
virtual Symbolclone () const
 Clone constructor -- returns base pointer to a new clone of this Symbol.
virtual Symbolclone_all () const
 Clone constructor -- returns base pointer to a new clone of this Symbol.
virtual ~BlockDataSymbol ()
virtual const Typetype () const
 Define this to return UNDEFINED.
virtual void print (ostream &o) const
 Print onto stream 'o'.
virtual void fill_in (const BinRep &binstr, ExprTable &exprs, const Dictionary< VoidPtrDef > &stmts, const Dictionary< VoidPtrDef > &commons, const Dictionary< VoidPtrDef > &equivalences)
 Fill in all relevant info from a binstr object.
virtual void exchange_convert (VDL &vdl)
 Convert the Symbol into the exchange format.
int structures_OK () const
 Check the structure of the data for errors or inconsistency Return 0 and print error message if problems found, otherwise return 1 without message.
virtual void relink_dptrs (ProgramUnit &p)
 Change all pointers found in a BlockDataSymbol element to point into the given ProgramUnit.

Detailed Description

a Symbol of class BLOCK_DATA_CLASS

Polaris C++ VDL

See also:
Symbol.h

Symbol.h

BlockDataSymbol.h

Symbol.cc

Description

A BlockDataSymbol is a Symbol representing the identifier for a Fortran BLOCK DATA program unit

No additional fields are added to Symbol's fields.

The only virtual methods inherited from Symbol which are valid for this class (which will not give errors messages, with the exception of Symbol::is_array()) are those which are explicitly overridden here.

See Symbol for more information.

Definition at line 37 of file BlockDataSymbol.h.


Constructor & Destructor Documentation

BlockDataSymbol::BlockDataSymbol const char *  name  )  [inline]
 

< No additional data

< nothing else to do

Definition at line 81 of file BlockDataSymbol.h.

References BLOCK_DATA_CLASS.

Referenced by clone(), and clone_all().

BlockDataSymbol::BlockDataSymbol const BlockDataSymbol other  )  [inline]
 

Definition at line 88 of file BlockDataSymbol.h.

References BLOCK_DATA_CLASS.

BlockDataSymbol::~BlockDataSymbol  )  [virtual]
 

... nothing to do

Definition at line 2850 of file Symbol.cc.


Member Function Documentation

BlockDataSymbol & BlockDataSymbol::operator= const BlockDataSymbol other  ) 
 

class BlockDataSymbol

Definition at line 2824 of file Symbol.cc.

Symbol * BlockDataSymbol::clone  )  const [virtual]
 

Clone constructor -- returns base pointer to a new clone of this Symbol.

Implements Symbol.

Definition at line 2838 of file Symbol.cc.

References BlockDataSymbol().

Symbol * BlockDataSymbol::clone_all  )  const [virtual]
 

Clone constructor -- returns base pointer to a new clone of this Symbol.

Implements Symbol.

Definition at line 2844 of file Symbol.cc.

References BlockDataSymbol().

const Type & BlockDataSymbol::type  )  const [virtual]
 

Define this to return UNDEFINED.

Reimplemented from Symbol.

Definition at line 2856 of file Symbol.cc.

References make_type(), and UNDEFINED_TYPE.

void BlockDataSymbol::print ostream &  o  )  const [virtual]
 

Print onto stream 'o'.

... the _overflow field

Implements Symbol.

Definition at line 2863 of file Symbol.cc.

virtual void BlockDataSymbol::fill_in const BinRep binstr,
ExprTable exprs,
const Dictionary< VoidPtrDef > &  stmts,
const Dictionary< VoidPtrDef > &  commons,
const Dictionary< VoidPtrDef > &  equivalences
[virtual]
 

Fill in all relevant info from a binstr object.

Implements Symbol.

void BlockDataSymbol::exchange_convert VDL vdl  )  [virtual]
 

Convert the Symbol into the exchange format.

Reimplemented from Symbol.

Definition at line 2875 of file Symbol.cc.

References Symbol::exchange_convert(), BinRep::find_ref(), Set< T >::ins(), List< T >::ins_last(), Symbol::name_ref(), BinRep::to_set(), and BinRep::to_tuple().

int BlockDataSymbol::structures_OK  )  const [virtual]
 

Check the structure of the data for errors or inconsistency Return 0 and print error message if problems found, otherwise return 1 without message.

Reimplemented from Symbol.

Definition at line 2929 of file Symbol.cc.

void BlockDataSymbol::relink_dptrs ProgramUnit p  )  [virtual]
 

Change all pointers found in a BlockDataSymbol element to point into the given ProgramUnit.

Nothing to do

Implements RelinkableDef.

Definition at line 2938 of file Symbol.cc.


The documentation for this class was generated from the following files:
 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:07:03 2005