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 386 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

◆ Cond() [1/2]

cyclus::Cond::Cond ( )

Definition at line 388 of file query_backend.h.

◆ Cond() [2/2]

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

Definition at line 390 of file query_backend.h.

Member Data Documentation

◆ field

std::string cyclus::Cond::field

table column name

Definition at line 412 of file query_backend.h.

◆ op

std::string cyclus::Cond::op

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

Definition at line 415 of file query_backend.h.

◆ opcode

CmpOpCode cyclus::Cond::opcode

The CmpOpCode cooresponding to op.

Definition at line 418 of file query_backend.h.

◆ val

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

value supported by backend(s) in use

Definition at line 421 of file query_backend.h.

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