OmniSciDB  1dac507f6e
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 1682 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 1684 of file ParserNode.h.

1685  : colno(n), column(c), is_desc(d), nulls_first(f) {}
std::unique_ptr< ColumnRef > column
Definition: ParserNode.h:1693

Member Function Documentation

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

Definition at line 1686 of file ParserNode.h.

References colno.

1686 { return colno; }
const ColumnRef* Parser::OrderSpec::get_column ( ) const
inline

Definition at line 1687 of file ParserNode.h.

References column.

1687 { return column.get(); }
std::unique_ptr< ColumnRef > column
Definition: ParserNode.h:1693
bool Parser::OrderSpec::get_is_desc ( ) const
inline

Definition at line 1688 of file ParserNode.h.

References is_desc.

1688 { return is_desc; }
bool Parser::OrderSpec::get_nulls_first ( ) const
inline

Definition at line 1689 of file ParserNode.h.

References nulls_first.

1689 { return nulls_first; }

Member Data Documentation

int Parser::OrderSpec::colno
private

Definition at line 1692 of file ParserNode.h.

Referenced by get_colno().

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

Definition at line 1693 of file ParserNode.h.

Referenced by get_column().

bool Parser::OrderSpec::is_desc
private

Definition at line 1694 of file ParserNode.h.

Referenced by get_is_desc().

bool Parser::OrderSpec::nulls_first
private

Definition at line 1695 of file ParserNode.h.

Referenced by get_nulls_first().


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