OmniSciDB  2e3a973ef4
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 1413 of file Analyzer.h.

Constructor & Destructor Documentation

◆ OrderEntry()

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

Definition at line 1414 of file Analyzer.h.

◆ ~OrderEntry()

Analyzer::OrderEntry::~OrderEntry ( )
inline

Definition at line 1415 of file Analyzer.h.

References toString().

1415 {}
+ Here is the call graph for this function:

Member Function Documentation

◆ print()

void Analyzer::OrderEntry::print ( ) const
inline

Definition at line 1417 of file Analyzer.h.

References toString().

1417 { std::cout << toString(); }
std::string toString() const
Definition: Analyzer.cpp:2803
+ Here is the call graph for this function:

◆ toString()

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

Definition at line 2803 of file Analyzer.cpp.

References to_string().

2803  {
2804  std::string str{std::to_string(tle_no)};
2805  if (is_desc) {
2806  str += " desc";
2807  }
2808  if (nulls_first) {
2809  str += " nulls first";
2810  }
2811  str += " ";
2812  return str;
2813 }
int tle_no
Definition: Analyzer.h:1418
std::string to_string(char const *&&v)
bool nulls_first
Definition: Analyzer.h:1420
bool is_desc
Definition: Analyzer.h:1419
+ Here is the call graph for this function:

Member Data Documentation

◆ is_desc

bool Analyzer::OrderEntry::is_desc

Definition at line 1419 of file Analyzer.h.

◆ nulls_first

bool Analyzer::OrderEntry::nulls_first

Definition at line 1420 of file Analyzer.h.

◆ tle_no

int Analyzer::OrderEntry::tle_no

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