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

Constructor & Destructor Documentation

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

Definition at line 170 of file ResultSetReductionOps.h.

171  : 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 175 of file ResultSetReductionOps.h.

References id_.

Referenced by ReductionInterpreterImpl::setVar().

175 { return id_; }
const size_t id_

+ Here is the caller graph for this function:

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

Definition at line 177 of file ResultSetReductionOps.h.

References label_.

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

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

+ Here is the caller graph for this function:

Type Value::type ( ) const
inline

Definition at line 173 of file ResultSetReductionOps.h.

References type_.

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

173 { 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 187 of file ResultSetReductionOps.h.

Referenced by id().

const std::string Value::label_
private

Definition at line 184 of file ResultSetReductionOps.h.

Referenced by label().

const Type Value::type_
private

Definition at line 182 of file ResultSetReductionOps.h.

Referenced by type().


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