OmniSciDB  8a228a1076
Value Class Reference

#include <ResultSetReductionOps.h>

+ Inheritance diagram for Value:

Public Member Functions

 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 Type type_
 
const std::string label_
 
const size_t id_
 

Detailed Description

Definition at line 97 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

◆ Value()

Value::Value ( const Type  type,
const std::string &  label 
)
inline

Definition at line 99 of file ResultSetReductionOps.h.

100  : type_(type), label_(label), id_(g_value_id++) {}
thread_local size_t g_value_id
Type type() const
const std::string label_
const Type type_
const size_t id_
const std::string & label() const

◆ ~Value()

virtual Value::~Value ( )
virtualdefault

Member Function Documentation

◆ id()

size_t Value::id ( ) const
inline

Definition at line 104 of file ResultSetReductionOps.h.

Referenced by ReductionInterpreterImpl::setVar().

104 { return id_; }
const size_t id_
+ Here is the caller graph for this function:

◆ label()

const std::string& Value::label ( ) const
inline

Definition at line 106 of file ResultSetReductionOps.h.

Referenced by anonymous_namespace{ResultSetReductionJIT.cpp}::emit_load().

106 { return label_; }
const std::string label_
+ Here is the caller graph for this function:

◆ type()

Type Value::type ( ) const
inline

Definition at line 102 of file ResultSetReductionOps.h.

Referenced by ReductionInterpreterImpl::bindStub(), anonymous_namespace{ResultSetReductionInterpreter.cpp}::eval_constant(), and ReductionInterpreterImpl::runLoad().

102 { return type_; }
const Type type_
+ Here is the caller graph for this function:

Member Data Documentation

◆ id_

const size_t Value::id_
private

Definition at line 116 of file ResultSetReductionOps.h.

◆ label_

const std::string Value::label_
private

Definition at line 113 of file ResultSetReductionOps.h.

◆ type_

const Type Value::type_
private

Definition at line 111 of file ResultSetReductionOps.h.


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