Public Member Functions | Public Attributes | List of all members
cyclus::Cond Class Reference

Detailed Description

Represents a condition used to filter rows returned by a query.

Definition at line 322 of file query_backend.h.

#include <query_backend.h>

Public Member Functions

 Cond ()
 Cond (std::string field, std::string op, boost::spirit::hold_any val)

Public Attributes

std::string field
std::string op
CmpOpCode opcode
boost::spirit::hold_any val

Constructor & Destructor Documentation

cyclus::Cond::Cond ( )

Definition at line 324 of file query_backend.h.

cyclus::Cond::Cond ( std::string  field,
std::string  op,
boost::spirit::hold_any  val 

Definition at line 326 of file query_backend.h.

Member Data Documentation

std::string cyclus::Cond::field

table column name

Definition at line 348 of file query_backend.h.

std::string cyclus::Cond::op

One of: "<", ">", "<=", ">=", "==", "!=".

Definition at line 351 of file query_backend.h.

CmpOpCode cyclus::Cond::opcode

The CmpOpCode cooresponding to op.

Definition at line 354 of file query_backend.h.

boost::spirit::hold_any cyclus::Cond::val

value supported by backend(s) in use

Definition at line 357 of file query_backend.h.

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