OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 2806 of file Analyzer.h.

Constructor & Destructor Documentation

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

Definition at line 2807 of file Analyzer.h.

Analyzer::OrderEntry::~OrderEntry ( )
inline

Definition at line 2808 of file Analyzer.h.

2808 {}

Member Function Documentation

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

Definition at line 2810 of file Analyzer.h.

References toString().

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

+ Here is the call graph for this function:

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

Definition at line 3236 of file Analyzer.cpp.

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

Referenced by print().

3236  {
3237  std::string str{std::to_string(tle_no)};
3238  if (is_desc) {
3239  str += " desc";
3240  }
3241  if (nulls_first) {
3242  str += " nulls first";
3243  }
3244  str += " ";
3245  return str;
3246 }
int tle_no
Definition: Analyzer.h:2811
std::string to_string(char const *&&v)
bool nulls_first
Definition: Analyzer.h:2813
bool is_desc
Definition: Analyzer.h:2812

+ 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 2812 of file Analyzer.h.

Referenced by toString().

bool Analyzer::OrderEntry::nulls_first

Definition at line 2813 of file Analyzer.h.

Referenced by toString().


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