OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 424 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

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

Definition at line 426 of file ResultSetReductionOps.h.

427  : 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

const Value* MemCpy::dest ( ) const
inline

Definition at line 429 of file ResultSetReductionOps.h.

References dest_.

429 { return dest_; }
const Value * dest_
void MemCpy::run ( ReductionInterpreterImpl interpreter)
overridevirtual

Implements Instruction.

Definition at line 383 of file ResultSetReductionInterpreter.cpp.

References ReductionInterpreterImpl::runMemCpy().

383  {
384  ReductionInterpreterImpl::runMemCpy(this, interpreter);
385 }
static void runMemCpy(const Instruction *instruction, ReductionInterpreterImpl *interpreter)

+ Here is the call graph for this function:

const Value* MemCpy::size ( ) const
inline

Definition at line 433 of file ResultSetReductionOps.h.

References size_.

433 { return size_; }
const Value * size_
const Value* MemCpy::source ( ) const
inline

Definition at line 431 of file ResultSetReductionOps.h.

References source_.

431 { return source_; }
const Value * source_

Member Data Documentation

const Value* MemCpy::dest_
private

Definition at line 438 of file ResultSetReductionOps.h.

Referenced by dest().

const Value* MemCpy::size_
private

Definition at line 440 of file ResultSetReductionOps.h.

Referenced by size().

const Value* MemCpy::source_
private

Definition at line 439 of file ResultSetReductionOps.h.

Referenced by source().


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