OmniSciDB  17c254d2f8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Analyzer::OrderEntry Struct Reference

#include <Analyzer.h>

Public Member Functions

 OrderEntry (int t, bool d, bool nf)
 ~OrderEntry ()
std::string toString () const
void print () const

Public Attributes

int tle_no
bool is_desc
bool nulls_first

Detailed Description

Definition at line 1362 of file Analyzer.h.

Constructor & Destructor Documentation

Analyzer::OrderEntry::OrderEntry ( int  t,
bool  d,
bool  nf 

Definition at line 1363 of file Analyzer.h.

Analyzer::OrderEntry::~OrderEntry ( )

Definition at line 1364 of file Analyzer.h.

1364 {}

Member Function Documentation

void Analyzer::OrderEntry::print ( ) const

Definition at line 1366 of file Analyzer.h.

References toString().

1366 { std::cout << toString(); }
std::string toString() const
Definition: Analyzer.cpp:2643

+ Here is the call graph for this function:

std::string Analyzer::OrderEntry::toString ( ) const

Definition at line 2643 of file Analyzer.cpp.

References is_desc, nulls_first, tle_no, and to_string().

Referenced by print().

2643  {
2644  std::string str{std::to_string(tle_no)};
2645  if (is_desc) {
2646  str += " desc";
2647  }
2648  if (nulls_first) {
2649  str += " nulls first";
2650  }
2651  str += " ";
2652  return str;
2653 }
int tle_no
Definition: Analyzer.h:1367
std::string to_string(char const *&&v)
bool nulls_first
Definition: Analyzer.h:1369
bool is_desc
Definition: Analyzer.h:1368

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool Analyzer::OrderEntry::is_desc

Definition at line 1368 of file Analyzer.h.

Referenced by toString().

bool Analyzer::OrderEntry::nulls_first

Definition at line 1369 of file Analyzer.h.

Referenced by toString().

int Analyzer::OrderEntry::tle_no

Definition at line 1367 of file Analyzer.h.

Referenced by toString().

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