Polaris: AssertComment Class Reference

AssertComment Class Reference

a class to record comments. More...

#include <AssertComment.h>

Inheritance diagram for AssertComment:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

a class to record comments.

C Polaris

See also:
Directive/AssertComment.h

Directive/AssertComment.h

Description

The AssertComment class is meant to provide a specific class for to store comments about the program.

Bugs

No known bugs.

Definition at line 30 of file AssertComment.h.


Constructor & Destructor Documentation

AssertComment::AssertComment  ) 
 

Construct a AssertComment.

Definition at line 1235 of file Assertion.cc.

References AS_COMMENT.

Referenced by clone(), and listable_clone().

AssertComment::AssertComment const AssertComment a  ) 
 

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

Definition at line 1240 of file Assertion.cc.

References StringAssertion::operator=().

AssertComment::~AssertComment  )  [virtual]
 

destructor

... nothing to do

Definition at line 1245 of file Assertion.cc.


Member Function Documentation

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

print the object.

Reimplemented from Assertion.

Definition at line 1251 of file Assertion.cc.

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

Assertion * AssertComment::clone  )  const [virtual]
 

clone the assertion

Reimplemented from StringAssertion.

Definition at line 1284 of file Assertion.cc.

References AssertComment().

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

assignment operator.

Definition at line 1269 of file Assertion.cc.

References StringAssertion::operator=().

Listable * AssertComment::listable_clone  )  const [virtual]
 

needed for Listable

Reimplemented from Assertion.

Definition at line 1278 of file Assertion.cc.

References AssertComment().


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