OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 195 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

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

Definition at line 197 of file ResultSetReductionOps.h.

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

Member Function Documentation

int64_t ConstantInt::value ( ) const

Definition at line 199 of file ResultSetReductionOps.h.

References value_.

199 { return value_; }
const int64_t value_

Member Data Documentation

const int64_t ConstantInt::value_

Definition at line 202 of file ResultSetReductionOps.h.

Referenced by value().

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