OmniSciDB  471d68cefb
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Load Class Reference

#include <ResultSetReductionOps.h>

+ Inheritance diagram for Load:
+ Collaboration diagram for Load:

Public Member Functions

 Load (const Value *source, const std::string &label)
const Valuesource () const
void run (ReductionInterpreterImpl *interpreter) override
- Public Member Functions inherited from Instruction
 Instruction (const Type type, const std::string &label)
- 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 Valuesource_

Detailed Description

Definition at line 233 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

Load::Load ( const Value source,
const std::string &  label 

Definition at line 235 of file ResultSetReductionOps.h.

236  : Instruction(pointee_type(source->type()), label), source_(source) {}
const std::string & label() const
Type type() const
Instruction(const Type type, const std::string &label)
Type pointee_type(const Type pointer)
const Value * source_

Member Function Documentation

void Load::run ( ReductionInterpreterImpl interpreter)

Implements Instruction.

Definition at line 358 of file ResultSetReductionInterpreter.cpp.

References ReductionInterpreterImpl::runLoad().

358  {
359  ReductionInterpreterImpl::runLoad(this, interpreter);
360 }
static void runLoad(const Instruction *instruction, ReductionInterpreterImpl *interpreter)

+ Here is the call graph for this function:

const Value* Load::source ( ) const

Definition at line 238 of file ResultSetReductionOps.h.

References source_.

Referenced by ReductionInterpreterImpl::runLoad().

238 { return source_; }
const Value * source_

+ Here is the caller graph for this function:

Member Data Documentation

const Value* Load::source_

Definition at line 243 of file ResultSetReductionOps.h.

Referenced by source().

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