Polaris: AssertionList Class Reference

AssertionList Class Reference

a list of assertions. More...

#include <AssertionList.h>

Inheritance diagram for AssertionList:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AssertionList ()
 Construct an empty AssertionList.
 AssertionList (Assertion *ap)
 Construct an AssertionList with a Assertion.
 AssertionList (const AssertionList &a)
 Construct a AssertionList as a copy of another AssertionList.
virtual ~AssertionList ()
 destructor
void print (ostream &o) const
 print the object.
void absorb (AssertionList *ap)
 merge the new directive list with the current list.
AssertionListoperator= (const AssertionList &a)
 assignment operator.

Friends

ostream & operator<< (ostream &o, const AssertionList &a)

Detailed Description

a list of assertions.

C Polaris

See also:
Directive/AssertionList.h

Directive/AssertionList.h

Description

The AssertionList class is meant to collect all of the functions that act on and create a list of assertions.

Bugs

No known bugs.

Definition at line 35 of file AssertionList.h.


Constructor & Destructor Documentation

AssertionList::AssertionList  ) 
 

Construct an empty AssertionList.

... nothing to do

Definition at line 421 of file Assertion.cc.

AssertionList::AssertionList Assertion ap  ) 
 

Construct an AssertionList with a Assertion.

Definition at line 426 of file Assertion.cc.

References List< Assertion >::ins_first().

AssertionList::AssertionList const AssertionList a  ) 
 

Construct a AssertionList as a copy of another AssertionList.

Definition at line 431 of file Assertion.cc.

References List< Assertion >::clear(), and List< T >::operator=().

AssertionList::~AssertionList  )  [virtual]
 

destructor

... nothing to do

Definition at line 437 of file Assertion.cc.


Member Function Documentation

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

print the object.

Reimplemented from List< Assertion >.

Definition at line 443 of file Assertion.cc.

References Assertion::print().

Referenced by DirectiveStmt::print_debug().

void AssertionList::absorb AssertionList ap  ) 
 

merge the new directive list with the current list.

Definition at line 450 of file Assertion.cc.

References List< Assertion >::ins_last().

AssertionList & AssertionList::operator= const AssertionList a  ) 
 

assignment operator.

Definition at line 459 of file Assertion.cc.

References List< Assertion >::clear(), and List< T >::operator=().


Friends And Related Function Documentation

ostream& operator<< ostream &  o,
const AssertionList a
[friend]
 

Definition at line 36 of file AssertionList.h.


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:47 2005