OmniSciDB  8a228a1076
MemCpy Class Reference

#include <ResultSetReductionOps.h>

+ Inheritance diagram for MemCpy:
+ Collaboration diagram for MemCpy:

Public Member Functions

 MemCpy (const Value *dest, const Value *source, const Value *size)
const Valuedest () const
const Valuesource () const
const Valuesize () 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 Valuedest_
const Valuesource_
const Valuesize_

Detailed Description

Definition at line 432 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

◆ MemCpy()

MemCpy::MemCpy ( const Value dest,
const Value source,
const Value size 

Definition at line 434 of file ResultSetReductionOps.h.

435  : Instruction(Type::Void, ""), dest_(dest), source_(source), size_(size) {}
Instruction(const Type type, const std::string &label)
const Value * size_
const Value * source_
const Value * dest_

Member Function Documentation

◆ dest()

const Value* MemCpy::dest ( ) const

Definition at line 437 of file ResultSetReductionOps.h.

437 { return dest_; }
const Value * dest_

◆ run()

void MemCpy::run ( ReductionInterpreterImpl interpreter)

Implements Instruction.

Definition at line 394 of file ResultSetReductionInterpreter.cpp.

References ReductionInterpreterImpl::runMemCpy().

394  {
395  ReductionInterpreterImpl::runMemCpy(this, interpreter);
396 }
static void runMemCpy(const Instruction *instruction, ReductionInterpreterImpl *interpreter)
+ Here is the call graph for this function:

◆ size()

const Value* MemCpy::size ( ) const

Definition at line 441 of file ResultSetReductionOps.h.

References run.

441 { return size_; }
const Value * size_

◆ source()

const Value* MemCpy::source ( ) const

Definition at line 439 of file ResultSetReductionOps.h.

439 { return source_; }
const Value * source_

Member Data Documentation

◆ dest_

const Value* MemCpy::dest_

Definition at line 446 of file ResultSetReductionOps.h.

◆ size_

const Value* MemCpy::size_

Definition at line 448 of file ResultSetReductionOps.h.

◆ source_

const Value* MemCpy::source_

Definition at line 447 of file ResultSetReductionOps.h.

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