CYCLUS
Loading...
Searching...
No Matches
cyclus::Cond Class Reference

Detailed Description

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

Definition at line 385 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 ( )
inline

Definition at line 387 of file query_backend.h.

◆ Cond() [2/2]

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

Definition at line 389 of file query_backend.h.

Member Data Documentation

◆ field

std::string cyclus::Cond::field

table column name

Definition at line 411 of file query_backend.h.

◆ op

std::string cyclus::Cond::op

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

Definition at line 414 of file query_backend.h.

◆ opcode

CmpOpCode cyclus::Cond::opcode

The CmpOpCode cooresponding to op.

Definition at line 417 of file query_backend.h.

◆ val

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

value supported by backend(s) in use

Definition at line 420 of file query_backend.h.


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