Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

A48::Markable Class Reference

The Markable class adds a mark to an object. More...

#include <a48.h>

Inheritance diagram for A48::Markable:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Markable (void)
 The constructor initialize the state to false.

void set_mark (bool m)
 Update the state of variable class.

bool is_marked (void) const
 Return the variable class state.


Private Attributes

bool mark_
 Store the edge or vertex state (processed or not processed).


Detailed Description

The Markable class adds a mark to an object.

This class is used to store the information about vertex and edge state. The state specifies if a vertex or a edge was processed or not processed.

Definition at line 105 of file a48.h.


Member Function Documentation

bool A48::Markable::is_marked void   )  const [inline]
 

Return the variable class state.

Returns:
Return a boolean type (true or false).

Definition at line 119 of file a48.h.

References mark_.

Referenced by A48::Mesh::make_triquad().

00119 { return mark_; };

void A48::Markable::set_mark bool  m  )  [inline]
 

Update the state of variable class.

Parameters:
m Specify the new state of the variable class (true or false).

Definition at line 115 of file a48.h.

References mark_, and set_mark().

Referenced by set_mark().

00115 { mark_ = m; };


The documentation for this class was generated from the following file:
Generated on Mon Oct 11 19:32:30 2004 for A48 by doxygen 1.3.7