Polaris: AssertLoopLabel Class Reference

AssertLoopLabel Class Reference

a class to store loop labels. More...

#include <AssertLoopLabel.h>

Inheritance diagram for AssertLoopLabel:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AssertLoopLabel ()
 Construct a AssertLoopLabel.
 AssertLoopLabel (const AssertLoopLabel &a)
 Construct a AssertLoopLabel with a copy of another AssertLoopLabel's current value.
virtual ~AssertLoopLabel ()
 destructor
virtual void print (ostream &o) const
 print the object.
virtual Assertionclone () const
 clone the assertion
virtual AssertLoopLabeloperator= (const AssertLoopLabel &a)
 assignment operator.
virtual Listablelistable_clone () const
 needed for Listable

Detailed Description

a class to store loop labels.

C Polaris

See also:
Directive/AssertLoopLabel.h

Directive/AssertLoopLabel.h

Description

The AssertLoopLabel class is meant to provide a specific class for to store the loop labels for a particular loop. These labels are made according to a specific set of rules:

For DO loops with target labels, e.g. DO 100 I=1,N (100 is the do-target) <routine-name>_do<do-target> For DO loops without target labels, e.g. DO I=1,N <routine-name>_do#<sequential-loop-number> (sequential-loop-number starts at 1) Counting down from the top of the program, this is the <sequential-loop-number>-th DO loop

Bugs

No known bugs.

Definition at line 38 of file AssertLoopLabel.h.


Constructor & Destructor Documentation

AssertLoopLabel::AssertLoopLabel  ) 
 

Construct a AssertLoopLabel.

Definition at line 577 of file Assertion.cc.

References AS_LOOPLABEL.

Referenced by clone(), and listable_clone().

AssertLoopLabel::AssertLoopLabel const AssertLoopLabel a  ) 
 

Construct a AssertLoopLabel with a copy of another AssertLoopLabel's current value.

Definition at line 582 of file Assertion.cc.

References StringAssertion::operator=().

AssertLoopLabel::~AssertLoopLabel  )  [virtual]
 

destructor

... nothing to do

Definition at line 587 of file Assertion.cc.


Member Function Documentation

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

print the object.

Reimplemented from Assertion.

Definition at line 593 of file Assertion.cc.

References Iterator< T >::current(), StringAssertion::string_arg_list_guarded(), and Iterator< T >::valid().

Assertion * AssertLoopLabel::clone  )  const [virtual]
 

clone the assertion

Reimplemented from StringAssertion.

Definition at line 624 of file Assertion.cc.

References AssertLoopLabel().

AssertLoopLabel & AssertLoopLabel::operator= const AssertLoopLabel a  )  [virtual]
 

assignment operator.

Definition at line 609 of file Assertion.cc.

References StringAssertion::operator=().

Listable * AssertLoopLabel::listable_clone  )  const [virtual]
 

needed for Listable

Reimplemented from Assertion.

Definition at line 618 of file Assertion.cc.

References AssertLoopLabel().


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:06:48 2005