OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RexRef Class Reference

#include <RelAlgAbstractInterpreter.h>

+ Inheritance diagram for RexRef:
+ Collaboration diagram for RexRef:

Public Member Functions

 RexRef (const size_t index)
 
size_t getIndex () const
 
std::string toString () const override
 
std::unique_ptr< RexRefdeepCopy () const
 
- Public Member Functions inherited from Rex
virtual ~Rex ()
 

Private Attributes

const size_t index_
 

Detailed Description

Definition at line 554 of file RelAlgAbstractInterpreter.h.

Constructor & Destructor Documentation

RexRef::RexRef ( const size_t  index)
inline

Definition at line 556 of file RelAlgAbstractInterpreter.h.

556 : index_(index) {}
const size_t index_

Member Function Documentation

std::unique_ptr<RexRef> RexRef::deepCopy ( ) const
inline

Definition at line 564 of file RelAlgAbstractInterpreter.h.

References index_.

Referenced by RexDeepCopyVisitor::visitRef().

564 { return std::make_unique<RexRef>(index_); }
const size_t index_

+ Here is the caller graph for this function:

size_t RexRef::getIndex ( ) const
inline

Definition at line 558 of file RelAlgAbstractInterpreter.h.

References index_.

Referenced by anonymous_namespace{RelAlgExecutor.cpp}::translate_targets(), and anonymous_namespace{RelAlgExecutor.cpp}::translate_targets_for_update().

558 { return index_; }
const size_t index_

+ Here is the caller graph for this function:

std::string RexRef::toString ( ) const
inlineoverridevirtual

Implements Rex.

Definition at line 560 of file RelAlgAbstractInterpreter.h.

References index_, and to_string().

560  {
561  return "(RexRef " + std::to_string(index_) + ")";
562  }
const size_t index_
std::string to_string(char const *&&v)

+ Here is the call graph for this function:

Member Data Documentation

const size_t RexRef::index_
private

Definition at line 567 of file RelAlgAbstractInterpreter.h.

Referenced by deepCopy(), getIndex(), and toString().


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