Polaris: SharedDims Class Reference

SharedDims Class Reference

a list of SharedBounds More...

#include <SharedDims.h>

Inheritance diagram for SharedDims:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SharedDims ()
 SharedDims (const BinRep &binstr, ExprTable &exprs)
virtual ~SharedDims ()
void convert (const BinRep &binstr, ExprTable &exprs)
virtual void print (ostream &o) const
 print onto stream
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.

Friends

ostream & operator<< (ostream &o, const SharedDims &dims)

Detailed Description

a list of SharedBounds

Polaris C++ VDL

See also:
SharedDims.h

SharedDims.h

SharedDims.cc

Description

SharedDims is a list of SharedBounds with a few other functions. It has the ability to initialize itself from a binstr.

Implementation Notes

For an explanation of _first_pass, etc., see the Implementation Notes section of Symbol/Symbol.h.

Definition at line 38 of file SharedDims.h.


Constructor & Destructor Documentation

SharedDims::SharedDims  ) 
 

Definition at line 60 of file SharedDims.cc.

References register_instance().

SharedDims::SharedDims const BinRep binstr,
ExprTable exprs
 

Definition at line 67 of file SharedDims.cc.

References convert(), exprs, and register_instance().

SharedDims::~SharedDims  )  [virtual]
 

Definition at line 12 of file SharedDims.cc.

References unregister_instance().


Member Function Documentation

void SharedDims::convert const BinRep binstr,
ExprTable exprs
 

... Erase any old entries if there are any

Definition at line 20 of file SharedDims.cc.

References List< SharedBounds >::clear(), exprs, and List< SharedBounds >::ins_last().

Referenced by SharedDims().

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

print onto stream

Reimplemented from List< SharedBounds >.

Definition at line 30 of file SharedDims.cc.

References Iterator< T >::current(), Iterator< T >::end(), and Iterator< T >::next().

int SharedDims::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 List< SharedBounds >.

Definition at line 49 of file SharedDims.cc.


Friends And Related Function Documentation

ostream& operator<< ostream &  o,
const SharedDims dims
[friend]
 

Definition at line 77 of file SharedDims.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:08:11 2005