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

ConstBaseCut Class Reference

#include <BaseCut.h>

Inheritance diagram for ConstBaseCut:

Inheritance graph
[legend]
Collaboration diagram for ConstBaseCut:

Collaboration graph
[legend]
List of all members.

Detailed Description

A IntFun that returns a constant value.

Definition at line 36 of file BaseCut.h.

Public Member Functions

 ConstBaseCut (bool c_, const char *name_=0)
 Constructor from a C style string, serves as default constructor.

 ConstBaseCut (bool c_, const std::string &name_)
 Constructor from a C++ string.

virtual bool operator() () const
 Returns a constant value c.


Protected Member Functions

virtual ~ConstBaseCut ()
 Protected destructor ensures creation on the heap.


Protected Attributes

const bool c


Constructor & Destructor Documentation

ConstBaseCut::ConstBaseCut bool  c_,
const char *  name_ = 0
[inline, explicit]
 

Constructor from a C style string, serves as default constructor.

Parameters:
c_  The constant to be returned
name_  An optional name

Definition at line 39 of file BaseCut.h.

References c, and NamedO::str().

ConstBaseCut::ConstBaseCut bool  c_,
const std::string &  name_
[inline, explicit]
 

Constructor from a C++ string.

Parameters:
c_  The constant to be returned
name_  The object's name

Definition at line 46 of file BaseCut.h.

References c, and NamedO::str().


Member Data Documentation

const bool ConstBaseCut::c [protected]
 

The constant to be returned

Definition at line 55 of file BaseCut.h.

Referenced by ConstBaseCut(), and operator()().


The documentation for this class was generated from the following file:
Generated on Thu Oct 26 12:54:29 2006 for SFH by doxygen 1.3.2