OmniSciDB  b28c0d5765
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{ResultSet.cpp}::IsAggKind Struct Reference

Public Member Functions

 IsAggKind (std::vector< TargetInfo > const &targets, SQLAgg const agg_kind)
 
bool operator() (Analyzer::OrderEntry const &order_entry) const
 

Public Attributes

std::vector< TargetInfo > const & targets_
 
SQLAgg const agg_kind_
 

Detailed Description

Definition at line 960 of file ResultSet.cpp.

Constructor & Destructor Documentation

anonymous_namespace{ResultSet.cpp}::IsAggKind::IsAggKind ( std::vector< TargetInfo > const &  targets,
SQLAgg const  agg_kind 
)
inline

Definition at line 963 of file ResultSet.cpp.

964  : targets_(targets), agg_kind_(agg_kind) {}
std::vector< TargetInfo > const & targets_
Definition: ResultSet.cpp:961

Member Function Documentation

bool anonymous_namespace{ResultSet.cpp}::IsAggKind::operator() ( Analyzer::OrderEntry const &  order_entry) const
inline

Definition at line 965 of file ResultSet.cpp.

References Analyzer::OrderEntry::tle_no.

965  {
966  return targets_[order_entry.tle_no - 1].agg_kind == agg_kind_;
967  }
std::vector< TargetInfo > const & targets_
Definition: ResultSet.cpp:961

Member Data Documentation

SQLAgg const anonymous_namespace{ResultSet.cpp}::IsAggKind::agg_kind_

Definition at line 962 of file ResultSet.cpp.

std::vector<TargetInfo> const& anonymous_namespace{ResultSet.cpp}::IsAggKind::targets_

Definition at line 961 of file ResultSet.cpp.


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