Public Member Functions

wali::Markable Class Reference

List of all members.

Public Member Functions

 Markable ()
 Markable (const Markable &m)
Markableoperator= (const Markable &m)
virtual ~Markable ()
virtual void mark () const throw ()
virtual void unmark () const throw ()
virtual bool marked () const throw ()

Detailed Description

Class Markable is a mixin for worklist algorithms. Each instantiation of Markable begins in the unmarked state. A Markable's state may only be changed through mark() and unmark().

See also:
Worklist

Constructor & Destructor Documentation

wali::Markable::Markable (  ) 

Creates a new Markable in the unmarked state

wali::Markable::Markable ( const Markable m  ) 

This copy constructor actually acts just like the default constructor. This input Markable m is ignored. Any time a Markable is created it is "born" in the unmarked state.

Parameters:
m is ignored
wali::Markable::~Markable (  )  [virtual]

Member Function Documentation

Markable& wali::Markable::operator= ( const Markable m  ) 

Markable::operator= has no effect. The input is ignored. This is because Markable specifies that state may only be changed by mark and unmark operations.

void wali::Markable::mark (  )  const throw () [virtual]
void wali::Markable::unmark (  )  const throw () [virtual]
bool wali::Markable::marked (  )  const throw () [virtual]

The documentation for this class was generated from the following files: