OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Parser::OrderSpec Class Reference

#include <ParserNode.h>

+ Inheritance diagram for Parser::OrderSpec:
+ Collaboration diagram for Parser::OrderSpec:

Public Member Functions

 OrderSpec (int n, ColumnRef *c, bool d, bool f)
 
int get_colno () const
 
const ColumnRefget_column () const
 
bool get_is_desc () const
 
bool get_nulls_first () const
 
- Public Member Functions inherited from Parser::Node
virtual ~Node ()
 

Private Attributes

int colno_
 
std::unique_ptr< ColumnRefcolumn_
 
bool is_desc_
 
bool nulls_first_
 

Detailed Description

Definition at line 1799 of file ParserNode.h.

Constructor & Destructor Documentation

Parser::OrderSpec::OrderSpec ( int  n,
ColumnRef c,
bool  d,
bool  f 
)
inline

Definition at line 1801 of file ParserNode.h.

1802  : colno_(n), column_(c), is_desc_(d), nulls_first_(f) {}
constexpr double f
Definition: Utm.h:31
std::unique_ptr< ColumnRef > column_
Definition: ParserNode.h:1810
constexpr double n
Definition: Utm.h:38

Member Function Documentation

int Parser::OrderSpec::get_colno ( ) const
inline

Definition at line 1803 of file ParserNode.h.

References colno_.

1803 { return colno_; }
const ColumnRef* Parser::OrderSpec::get_column ( ) const
inline

Definition at line 1804 of file ParserNode.h.

References column_.

1804 { return column_.get(); }
std::unique_ptr< ColumnRef > column_
Definition: ParserNode.h:1810
bool Parser::OrderSpec::get_is_desc ( ) const
inline

Definition at line 1805 of file ParserNode.h.

References is_desc_.

1805 { return is_desc_; }
bool Parser::OrderSpec::get_nulls_first ( ) const
inline

Definition at line 1806 of file ParserNode.h.

References nulls_first_.

1806 { return nulls_first_; }

Member Data Documentation

int Parser::OrderSpec::colno_
private

Definition at line 1809 of file ParserNode.h.

Referenced by get_colno().

std::unique_ptr<ColumnRef> Parser::OrderSpec::column_
private

Definition at line 1810 of file ParserNode.h.

Referenced by get_column().

bool Parser::OrderSpec::is_desc_
private

Definition at line 1811 of file ParserNode.h.

Referenced by get_is_desc().

bool Parser::OrderSpec::nulls_first_
private

Definition at line 1812 of file ParserNode.h.

Referenced by get_nulls_first().


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