FLOPC++
Public Member Functions | List of all members
flopc::Constant Class Reference

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

#include <MP_constant.hpp>

Inheritance diagram for flopc::Constant:
flopc::Handle< Constant_base * >

Public Member Functions

 Constant (const MP_index_exp &i)
 Constant (const DataRef &d)
 Constant (double d)
 Constant (int d)
 Constant (Constant_base *r)
- Public Member Functions inherited from flopc::Handle< Constant_base * >
const Constant_base *& operator-> () const
 Handle (const Constant_base *&r)
 Handle (const Handle &h)
const Handleoperator= (const Handle &h)
bool isDefined ()
 ~Handle ()

Additional Inherited Members

- Protected Member Functions inherited from flopc::Handle< Constant_base * >
void increment ()
void decrement ()

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 49 of file MP_constant.hpp.

Constructor & Destructor Documentation

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

Definition at line 322 of file MP_constant.cpp.

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

Definition at line 319 of file MP_constant.cpp.

flopc::Constant::Constant ( double  d)

Definition at line 325 of file MP_constant.cpp.

flopc::Constant::Constant ( int  d)

Definition at line 328 of file MP_constant.cpp.

flopc::Constant::Constant ( Constant_base r)
inline

Definition at line 57 of file MP_constant.hpp.


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