OmniSciDB  72c90bc290
 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 304 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

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

Definition at line 306 of file ResultSetReductionOps.h.

307  : 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)
overridevirtual

Implements Instruction.

Definition at line 367 of file ResultSetReductionInterpreter.cpp.

References ReductionInterpreterImpl::runLoad().

367  {
368  ReductionInterpreterImpl::runLoad(this, interpreter);
369 }
static void runLoad(const Instruction *instruction, ReductionInterpreterImpl *interpreter)

+ Here is the call graph for this function:

const Value* Load::source ( ) const
inline

Definition at line 309 of file ResultSetReductionOps.h.

References source_.

309 { return source_; }
const Value * source_

Member Data Documentation

const Value* Load::source_
private

Definition at line 314 of file ResultSetReductionOps.h.

Referenced by source().


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