# flopc::Constant Class Reference
[Internal (private) interface.]

Reference counted class for all "constant" types of data. More...

`#include <MP_constant.hpp>`

Inheritance diagram for flopc::Constant:
[legend]
Collaboration diagram for flopc::Constant:
[legend]

List of all members.

## Public Member Functions
| Constant (Constant_base *r)
| Constant (const MP_index_exp &i)
| Constant (const DataRef &d)
| Constant (double d)
| Constant (int d)

## Detailed Description

Reference counted class for all "constant" types of data.

Note:
  FOR INTERNAL USE: This is not normally used directly by the calling code. This contains counters to ConstantBase pointers. These pointers may be of any of the Constant_base * type.

Definition at line 48 of file MP_constant.hpp.

## Constructor & Destructor Documentation

flopc::Constant::Constant | ( | Constant_base * | r | ) | `[inline]`

Definition at line 50 of file MP_constant.hpp.

flopc::Constant::Constant | ( | const MP_index_exp & | i | ) |

flopc::Constant::Constant | ( | const DataRef & | d | ) |

flopc::Constant::Constant | ( | double | d | ) |

flopc::Constant::Constant | ( | int | d | ) |

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

- /home/coin/svn-release/Smi-0.93.1/FlopCpp/src/MP_constant.hpp