OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( 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++) {}
const std::string & label() const
Type type() const
thread_local size_t g_value_id
const std::string label_
const Type type_
const size_t id_
virtual Value::~Value ( )
virtualdefault

Member Function Documentation

size_t Value::id ( ) const
inline

Definition at line 104 of file ResultSetReductionOps.h.

References id_.

Referenced by ReductionInterpreterImpl::setVar().

104 { return id_; }
const size_t id_

+ Here is the caller graph for this function:

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

Definition at line 106 of file ResultSetReductionOps.h.

References label_.

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

106 { return label_; }
const std::string label_

+ Here is the caller graph for this function:

Type Value::type ( ) const
inline

Definition at line 102 of file ResultSetReductionOps.h.

References type_.

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

const size_t Value::id_
private

Definition at line 116 of file ResultSetReductionOps.h.

Referenced by id().

const std::string Value::label_
private

Definition at line 113 of file ResultSetReductionOps.h.

Referenced by label().

const Type Value::type_
private

Definition at line 111 of file ResultSetReductionOps.h.

Referenced by type().


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