Zen
A cross-platform functional programming language

qbinary Class Reference

Query expression binary operator type. More...

#include <zbl.hpp>

Inheritance diagram for qbinary:
qvisitorT< qbinary > qexpr

List of all members.

Public Member Functions

 qbinary (const qexpr &lhs, const z::string &op, const qexpr &rhs)
 Default constructor.
const qexprgetLhs () const
 Returns the LHS of the expression.
const z::stringgetOp () const
 Returns the operator of the expression.
const qexprgetRhs () const
 Returns the RHS of the expression.

Private Attributes

const qexpr_lhs
 The LHS expression.
const z::string _op
 The operator.
const qexpr_rhs
 The RHS expression.

Detailed Description

Query expression binary operator type.


Constructor & Destructor Documentation

qbinary ( const qexpr lhs,
const z::string op,
const qexpr rhs 
) [inline, explicit]

Default constructor.

Parameters:
lhsLHS of binary expression
opThe Operator
rhsRHS of binary expression

Member Function Documentation

const qexpr& getLhs ( ) const [inline]

Returns the LHS of the expression.

Returns:
The LHS expression
const z::string& getOp ( ) const [inline]

Returns the operator of the expression.

Returns:
The operator
const qexpr& getRhs ( ) const [inline]

Returns the RHS of the expression.

Returns:
The RHS expression

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines