OmniSciDB  8a228a1076
ConstantInt Class Reference

#include <ResultSetReductionOps.h>

+ Inheritance diagram for ConstantInt:
+ Collaboration diagram for ConstantInt:

Public Member Functions

 ConstantInt (const int64_t value, const Type target)
 
int64_t 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 int64_t value_
 

Detailed Description

Definition at line 124 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

◆ ConstantInt()

ConstantInt::ConstantInt ( const int64_t  value,
const Type  target 
)
inline

Definition at line 126 of file ResultSetReductionOps.h.

126 : Constant(target), value_(value) {}
const int64_t value_
int64_t value() const
Constant(const Type type)

Member Function Documentation

◆ value()

int64_t ConstantInt::value ( ) const
inline

Definition at line 128 of file ResultSetReductionOps.h.

128 { return value_; }
const int64_t value_

Member Data Documentation

◆ value_

const int64_t ConstantInt::value_
private

Definition at line 131 of file ResultSetReductionOps.h.


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