OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConstantFP Class Reference

#include <ResultSetReductionOps.h>

+ Inheritance diagram for ConstantFP:
+ Collaboration diagram for ConstantFP:

Public Member Functions

 ConstantFP (const double value, const Type target)
 
double value () const
 
- Public Member Functions inherited from Constant
 Constant (const Type type)
 
- Public Member Functions inherited from Value
 Value (const Type type, const std::string &label)
 
Type type () const
 
size_t id () const
 
const std::string & label () const
 
virtual ~Value ()=default
 

Private Attributes

const double value_
 

Detailed Description

Definition at line 205 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

ConstantFP::ConstantFP ( const double  value,
const Type  target 
)
inline

Definition at line 207 of file ResultSetReductionOps.h.

207 : Constant(target), value_(value) {}
Constant(const Type type)
double value() const
const double value_

Member Function Documentation

double ConstantFP::value ( ) const
inline

Definition at line 209 of file ResultSetReductionOps.h.

References value_.

209 { return value_; }
const double value_

Member Data Documentation

const double ConstantFP::value_
private

Definition at line 212 of file ResultSetReductionOps.h.

Referenced by value().


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