OmniSciDB  6686921089
 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 134 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

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

Definition at line 136 of file ResultSetReductionOps.h.

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

Member Function Documentation

double ConstantFP::value ( ) const

Definition at line 138 of file ResultSetReductionOps.h.

References value_.

138 { return value_; }
const double value_

Member Data Documentation

const double ConstantFP::value_

Definition at line 141 of file ResultSetReductionOps.h.

Referenced by value().

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