OmniSciDB  340b00dbf6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RexAbstractInput Class Reference

#include <RelAlgDagBuilder.h>

+ Inheritance diagram for RexAbstractInput:
+ Collaboration diagram for RexAbstractInput:

Public Member Functions

 RexAbstractInput (const unsigned in_index)
unsigned getIndex () const
void setIndex (const unsigned in_index) const
std::string toString () const override
- Public Member Functions inherited from Rex
virtual ~Rex ()

Private Attributes

unsigned in_index_

Detailed Description

Definition at line 52 of file RelAlgDagBuilder.h.

Constructor & Destructor Documentation

RexAbstractInput::RexAbstractInput ( const unsigned  in_index)

Definition at line 54 of file RelAlgDagBuilder.h.

54 : in_index_(in_index) {}

Member Function Documentation

unsigned RexAbstractInput::getIndex ( ) const
void RexAbstractInput::setIndex ( const unsigned  in_index) const

Definition at line 58 of file RelAlgDagBuilder.h.

References in_index_.

Referenced by anonymous_namespace{RelAlgDagBuilder.cpp}::RexRebindReindexInputsVisitor::visitInput(), and anonymous_namespace{RelLeftDeepInnerJoin.cpp}::RebindRexInputsFromLeftDeepJoin::visitInput().

58 { in_index_ = in_index; }

+ Here is the caller graph for this function:

std::string RexAbstractInput::toString ( ) const

Implements Rex.

Reimplemented in RexInput.

Definition at line 60 of file RelAlgDagBuilder.h.

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

60  {
61  return cat(::typeName(this), "(", std::to_string(in_index_), ")");
62  }
std::string cat(Ts &&...args)
std::string to_string(char const *&&v)

+ Here is the call graph for this function:

Member Data Documentation

unsigned RexAbstractInput::in_index_

Definition at line 65 of file RelAlgDagBuilder.h.

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

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