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

#include <RelAlgDagBuilder.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 558 of file RelAlgDagBuilder.h.

Constructor & Destructor Documentation

RexRef::RexRef ( const size_t  index)
inline

Definition at line 560 of file RelAlgDagBuilder.h.

560 : index_(index) {}
const size_t index_

Member Function Documentation

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

Definition at line 568 of file RelAlgDagBuilder.h.

References index_.

Referenced by RexDeepCopyVisitor::visitRef().

568 { 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 562 of file RelAlgDagBuilder.h.

References index_.

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

562 { 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 564 of file RelAlgDagBuilder.h.

References cat(), index_, and to_string().

564  {
565  return cat(::typeName(this), "(", std::to_string(index_), ")");
566  }
std::string cat(Ts &&...args)
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 571 of file RelAlgDagBuilder.h.

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


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