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

Constructor & Destructor Documentation

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

Definition at line 505 of file ResultSetReductionOps.h.

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

Definition at line 508 of file ResultSetReductionOps.h.

References dest_.

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

Implements Instruction.

Definition at line 399 of file ResultSetReductionInterpreter.cpp.

References ReductionInterpreterImpl::runMemCpy().

399  {
400  ReductionInterpreterImpl::runMemCpy(this, interpreter);
401 }
static void runMemCpy(const Instruction *instruction, ReductionInterpreterImpl *interpreter)

+ Here is the call graph for this function:

const Value* MemCpy::size ( ) const

Definition at line 512 of file ResultSetReductionOps.h.

References size_.

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

Definition at line 510 of file ResultSetReductionOps.h.

References source_.

510 { return source_; }
const Value * source_

Member Data Documentation

const Value* MemCpy::dest_

Definition at line 517 of file ResultSetReductionOps.h.

Referenced by dest().

const Value* MemCpy::size_

Definition at line 519 of file ResultSetReductionOps.h.

Referenced by size().

const Value* MemCpy::source_

Definition at line 518 of file ResultSetReductionOps.h.

Referenced by source().

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