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:
Inheritance graph
[legend]
Collaboration diagram for flopc::Constant:
Collaboration graph
[legend]

Public Member Functions

 Constant (Constant_base *r)
 
 Constant (const MP_index_exp &i)
 
 Constant (const DataRef &d)
 
 Constant (double d)
 
 Constant (int d)
 
- 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)
 
 ~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 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)

Definition at line 288 of file MP_constant.cpp.

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

Definition at line 285 of file MP_constant.cpp.

flopc::Constant::Constant ( double  d)

Definition at line 291 of file MP_constant.cpp.

flopc::Constant::Constant ( int  d)

Definition at line 294 of file MP_constant.cpp.


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