Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

BooleanSwitchFactory Class Reference

#include <boolean.h>


Detailed Description

Boolean switch factory

This class facilitates construction of boolean switch objects by the butterfly matrix.


Public Member Functions

 BooleanSwitchFactory (const std::vector< bool > &switches)
BooleanSwitch makeSwitch ()


Constructor & Destructor Documentation

BooleanSwitchFactory const std::vector< bool > &  switches  )  [inline]
 

Constructor from an STL vector of bools


Member Function Documentation

BooleanSwitch makeSwitch  )  [inline]
 

Construct and return a boolean switch object

This function walks through the switches object given in the constructor, advancing on each invocation. It wraps around to the beginning of the vector when it reaches the end.


Generated on Fri Jul 8 10:29:57 2005 for linbox by doxygen 1.3.7