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

Constructor & Destructor Documentation

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_
Constant(const Type type)
int64_t value() const

Member Function Documentation

int64_t ConstantInt::value ( ) const
inline

Definition at line 128 of file ResultSetReductionOps.h.

References value_.

128 { return value_; }
const int64_t value_

Member Data Documentation

const int64_t ConstantInt::value_
private

Definition at line 131 of file ResultSetReductionOps.h.

Referenced by value().


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