#include <IntFun.h>
Inheritance diagram for ConstIntFun:
Definition at line 44 of file IntFun.h.
Public Member Functions | |
ConstIntFun (int c_, const char *name_=0) | |
Constructor from a C style string, serves as default constructor. | |
ConstIntFun (int c_, const std::string &name_) | |
Constructor from a C++ string. | |
virtual int | operator() () const |
Returns a constant value c. | |
Protected Member Functions | |
virtual | ~ConstIntFun () |
Protected destructor ensures creation on the heap. | |
Protected Attributes | |
const int | c |
|
Constructor from a C style string, serves as default constructor.
Definition at line 47 of file IntFun.h. References c, and NamedO::str(). |
|
Constructor from a C++ string.
Definition at line 55 of file IntFun.h. References c, and NamedO::str(). |
|
The constant to be returned Definition at line 66 of file IntFun.h. Referenced by ConstIntFun(), and operator()(). |