OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ReturnEarly Class Reference

#include <ResultSetReductionOps.h>

+ Inheritance diagram for ReturnEarly:
+ Collaboration diagram for ReturnEarly:

Public Member Functions

 ReturnEarly (const Value *cond, const int error_code, const std::string &label)
const Valuecond () const
int error_code () 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 Valuecond_
const int error_code_

Detailed Description

Definition at line 445 of file ResultSetReductionOps.h.

Constructor & Destructor Documentation

ReturnEarly::ReturnEarly ( const Value cond,
const int  error_code,
const std::string &  label 

Definition at line 447 of file ResultSetReductionOps.h.

const Value * cond_
const std::string & label() const
Instruction(const Type type, const std::string &label)
int error_code() const

Member Function Documentation

const Value* ReturnEarly::cond ( ) const

Definition at line 450 of file ResultSetReductionOps.h.

References cond_.

450 { return cond_; }
const Value * cond_
int ReturnEarly::error_code ( ) const

Definition at line 452 of file ResultSetReductionOps.h.

References error_code_.

452 { return error_code_; }
void ReturnEarly::run ( ReductionInterpreterImpl interpreter)

Implements Instruction.

Definition at line 387 of file ResultSetReductionInterpreter.cpp.

References ReductionInterpreterImpl::runReturnEarly().

387  {
388  ReductionInterpreterImpl::runReturnEarly(this, interpreter);
389 }
static void runReturnEarly(const Instruction *instruction, ReductionInterpreterImpl *interpreter)

+ Here is the call graph for this function:

Member Data Documentation

const Value* ReturnEarly::cond_

Definition at line 457 of file ResultSetReductionOps.h.

Referenced by cond().

const int ReturnEarly::error_code_

Definition at line 458 of file ResultSetReductionOps.h.

Referenced by error_code().

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