OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhysicalInput Struct Reference

#include <QueryPhysicalInputsCollector.h>

Public Member Functions

size_t hash () const
 
bool operator== (const PhysicalInput &that) const
 

Public Attributes

int col_id
 
int table_id
 

Detailed Description

Definition at line 31 of file QueryPhysicalInputsCollector.h.

Member Function Documentation

size_t PhysicalInput::hash ( ) const
inline

Definition at line 35 of file QueryPhysicalInputsCollector.h.

References col_id, and table_id.

Referenced by std::hash< PhysicalInput >::operator()().

35  {
36  static_assert(sizeof(table_id) + sizeof(col_id) <= sizeof(size_t));
37  return static_cast<size_t>(table_id) << 8 * sizeof(col_id) |
38  static_cast<size_t>(col_id);
39  }

+ Here is the caller graph for this function:

bool PhysicalInput::operator== ( const PhysicalInput that) const
inline

Definition at line 41 of file QueryPhysicalInputsCollector.h.

References col_id, and table_id.

41  {
42  return col_id == that.col_id && table_id == that.table_id;
43  }

Member Data Documentation

int PhysicalInput::col_id
int PhysicalInput::table_id

Definition at line 33 of file QueryPhysicalInputsCollector.h.

Referenced by hash(), operator<<(), and operator==().


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