OmniSciDB  2b310ab3b2
 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 1742 of file ParserNode.h.

Constructor & Destructor Documentation

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

Definition at line 1744 of file ParserNode.h.

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

Member Function Documentation

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

Definition at line 1746 of file ParserNode.h.

References colno.

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

Definition at line 1747 of file ParserNode.h.

References column.

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

Definition at line 1748 of file ParserNode.h.

References is_desc.

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

Definition at line 1749 of file ParserNode.h.

References nulls_first.

1749 { return nulls_first; }

Member Data Documentation

int Parser::OrderSpec::colno
private

Definition at line 1752 of file ParserNode.h.

Referenced by get_colno().

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

Definition at line 1753 of file ParserNode.h.

Referenced by get_column().

bool Parser::OrderSpec::is_desc
private

Definition at line 1754 of file ParserNode.h.

Referenced by get_is_desc().

bool Parser::OrderSpec::nulls_first
private

Definition at line 1755 of file ParserNode.h.

Referenced by get_nulls_first().


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