OmniSciDB  6686921089
 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 1573 of file Analyzer.h.

Constructor & Destructor Documentation

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

Definition at line 1574 of file Analyzer.h.

Analyzer::OrderEntry::~OrderEntry ( )
inline

Definition at line 1575 of file Analyzer.h.

1575 {}

Member Function Documentation

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

Definition at line 1577 of file Analyzer.h.

References toString().

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

+ Here is the call graph for this function:

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

Definition at line 2953 of file Analyzer.cpp.

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

Referenced by print().

2953  {
2954  std::string str{std::to_string(tle_no)};
2955  if (is_desc) {
2956  str += " desc";
2957  }
2958  if (nulls_first) {
2959  str += " nulls first";
2960  }
2961  str += " ";
2962  return str;
2963 }
int tle_no
Definition: Analyzer.h:1578
std::string to_string(char const *&&v)
bool nulls_first
Definition: Analyzer.h:1580
bool is_desc
Definition: Analyzer.h:1579

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

Referenced by toString().

bool Analyzer::OrderEntry::nulls_first

Definition at line 1580 of file Analyzer.h.

Referenced by toString().


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