Polaris: NamelistSymbol Class Reference

NamelistSymbol Class Reference

a Symbol of class NAMELIST_CLASS More...

#include <NamelistSymbol.h>

Inheritance diagram for NamelistSymbol:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 NamelistSymbol (const char *name)
 < No additional data
 NamelistSymbol (const NamelistSymbol &other)
NamelistSymboloperator= (const NamelistSymbol &other)
 class NamelistSymbol
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 const Typetype () const
 Define this to return UNDEFINED.
virtual ~NamelistSymbol ()
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 NamelistSymbol element to point into the given ProgramUnit.

Detailed Description

a Symbol of class NAMELIST_CLASS

Polaris C++ VDL

See also:
Symbol.h

Symbol.h

NamelistSymbol.h

Symbol.cc

Description

A NamelistSymbol is a Symbol representing the identifier for the group of variables in a Fortran Namelist statement.

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


Constructor & Destructor Documentation

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

< No additional data

< nothing else to do

Definition at line 81 of file NamelistSymbol.h.

References NAMELIST_CLASS.

Referenced by clone(), and clone_all().

NamelistSymbol::NamelistSymbol const NamelistSymbol other  )  [inline]
 

Definition at line 88 of file NamelistSymbol.h.

References NAMELIST_CLASS.

NamelistSymbol::~NamelistSymbol  )  [virtual]
 

... nothing to do

Definition at line 2972 of file Symbol.cc.


Member Function Documentation

NamelistSymbol & NamelistSymbol::operator= const NamelistSymbol other  ) 
 

class NamelistSymbol

Definition at line 2947 of file Symbol.cc.

Symbol * NamelistSymbol::clone  )  const [virtual]
 

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

Implements Symbol.

Definition at line 2961 of file Symbol.cc.

References NamelistSymbol().

Symbol * NamelistSymbol::clone_all  )  const [virtual]
 

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

Implements Symbol.

Definition at line 2967 of file Symbol.cc.

References NamelistSymbol().

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

Define this to return UNDEFINED.

Reimplemented from Symbol.

Definition at line 2978 of file Symbol.cc.

References make_type(), and UNDEFINED_TYPE.

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

Print onto stream 'o'.

... the _overflow field

Implements Symbol.

Definition at line 2985 of file Symbol.cc.

virtual void NamelistSymbol::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 NamelistSymbol::exchange_convert VDL vdl  )  [virtual]
 

Convert the Symbol into the exchange format.

Reimplemented from Symbol.

Definition at line 2997 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 NamelistSymbol::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 3050 of file Symbol.cc.

void NamelistSymbol::relink_dptrs ProgramUnit p  )  [virtual]
 

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

Nothing to do

Implements RelinkableDef.

Definition at line 3059 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:50 2005