|
BOSS 8.0.0
BESIII Offline Software System
|
#include <Assertion.h>
Public Member Functions | |
| Operator () | |
| ~Operator () | |
| Operator (OPTYPE type, const std::string &leftArg, const std::string &rightArg, FIELDTYPE leftType, FIELDTYPE rightType) | |
| Operator (OPTYPE type, const std::string &tableName, Operator *child=0) | |
| Constructor for EXISTS. | |
| Operator (OPTYPE type, const std::vector< Operator * > &children, bool keepChildren=false) | |
| Constructor for OR, AND, NOT. | |
| Operator (Operator *op, Row *toBe) | |
| Copy an operator, substituting from toBe row as appropriate. | |
| bool | appendChild (Operator *child) |
| Add another child to a conjunction-style operator. | |
| bool | validCompareOp (Table *table) const |
| bool | isCompareOp () const |
| const std::string * | getCompareArgs () const |
| Throw exception if Operator is not a comparison operator. | |
| const std::string & | getTableName () const |
| Throw exception if Operaotr is not EXISTS. | |
| const FIELDTYPE * | getCompareArgTypes () const |
| Get types of comparison args. | |
| const std::vector< Operator * > & | getChildren () const |
| Throw exception if Operator is a comparison operator. | |
| OPTYPE | getOpType () const |
| bool | getToBe () const |
| True if operator or sub-operator refers to future row. | |
| bool | getOld () const |
| True if operator or sub-operator refers to existing row. | |
| bool | verify (Row &old, Row &toBe, Table *t) const |
| Evaluate operator on argument Rows. | |
| Operator () | |
| ~Operator () | |
| Operator (OPTYPE type, const std::string &leftArg, const std::string &rightArg, FIELDTYPE leftType, FIELDTYPE rightType) | |
| Operator (OPTYPE type, const std::string &tableName, Operator *child=0) | |
| Constructor for EXISTS. | |
| Operator (OPTYPE type, const std::vector< Operator * > &children, bool keepChildren=false) | |
| Constructor for OR, AND, NOT. | |
| Operator (Operator *op, Row *toBe) | |
| Copy an operator, substituting from toBe row as appropriate. | |
| bool | appendChild (Operator *child) |
| Add another child to a conjunction-style operator. | |
| bool | validCompareOp (Table *table) const |
| bool | isCompareOp () const |
| const std::string * | getCompareArgs () const |
| Throw exception if Operator is not a comparison operator. | |
| const std::string & | getTableName () const |
| Throw exception if Operaotr is not EXISTS. | |
| const FIELDTYPE * | getCompareArgTypes () const |
| Get types of comparison args. | |
| const std::vector< Operator * > & | getChildren () const |
| Throw exception if Operator is a comparison operator. | |
| OPTYPE | getOpType () const |
| bool | getToBe () const |
| True if operator or sub-operator refers to future row. | |
| bool | getOld () const |
| True if operator or sub-operator refers to existing row. | |
| bool | verify (Row &old, Row &toBe, Table *t) const |
| Evaluate operator on argument Rows. | |
| Operator () | |
| ~Operator () | |
| Operator (OPTYPE type, const std::string &leftArg, const std::string &rightArg, FIELDTYPE leftType, FIELDTYPE rightType) | |
| Operator (OPTYPE type, const std::string &tableName, Operator *child=0) | |
| Constructor for EXISTS. | |
| Operator (OPTYPE type, const std::vector< Operator * > &children, bool keepChildren=false) | |
| Constructor for OR, AND, NOT. | |
| Operator (Operator *op, Row *toBe) | |
| Copy an operator, substituting from toBe row as appropriate. | |
| bool | appendChild (Operator *child) |
| Add another child to a conjunction-style operator. | |
| bool | validCompareOp (Table *table) const |
| bool | isCompareOp () const |
| const std::string * | getCompareArgs () const |
| Throw exception if Operator is not a comparison operator. | |
| const std::string & | getTableName () const |
| Throw exception if Operaotr is not EXISTS. | |
| const FIELDTYPE * | getCompareArgTypes () const |
| Get types of comparison args. | |
| const std::vector< Operator * > & | getChildren () const |
| Throw exception if Operator is a comparison operator. | |
| OPTYPE | getOpType () const |
| bool | getToBe () const |
| True if operator or sub-operator refers to future row. | |
| bool | getOld () const |
| True if operator or sub-operator refers to existing row. | |
| bool | verify (Row &old, Row &toBe, Table *t) const |
| Evaluate operator on argument Rows. | |
Definition at line 71 of file Calibration/rdbModel/include/rdbModel/Tables/Assertion.h.
|
inline |
Definition at line 73 of file Calibration/rdbModel/include/rdbModel/Tables/Assertion.h.
Referenced by appendChild(), Operator(), Operator(), and ~Operator().
| rdbModel::Assertion::Operator::~Operator | ( | ) |
Definition at line 13 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::string & | leftArg, | ||
| const std::string & | rightArg, | ||
| FIELDTYPE | leftType, | ||
| FIELDTYPE | rightType ) |
Constructor for comparison. If the operator is OPTTYPEisNull or OPTYPEisEmpty rightArg and rightLiteral are ignored.
Definition at line 44 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::string & | tableName, | ||
| Operator * | child = 0 ) |
Constructor for EXISTS.
Definition at line 71 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::vector< Operator * > & | children, | ||
| bool | keepChildren = false ) |
Constructor for OR, AND, NOT.
Definition at line 83 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| rdbModel::Assertion::Operator::Operator | ( | Operator * | op, |
| Row * | toBe ) |
Copy an operator, substituting from toBe row as appropriate.
Definition at line 109 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
|
inline |
Definition at line 73 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Assertion.h.
| rdbModel::Assertion::Operator::~Operator | ( | ) |
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::string & | leftArg, | ||
| const std::string & | rightArg, | ||
| FIELDTYPE | leftType, | ||
| FIELDTYPE | rightType ) |
Constructor for comparison. If the operator is OPTTYPEisNull or OPTYPEisEmpty rightArg and rightLiteral are ignored.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::string & | tableName, | ||
| Operator * | child = 0 ) |
Constructor for EXISTS.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::vector< Operator * > & | children, | ||
| bool | keepChildren = false ) |
Constructor for OR, AND, NOT.
| rdbModel::Assertion::Operator::Operator | ( | Operator * | op, |
| Row * | toBe ) |
Copy an operator, substituting from toBe row as appropriate.
|
inline |
Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Assertion.h.
| rdbModel::Assertion::Operator::~Operator | ( | ) |
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::string & | leftArg, | ||
| const std::string & | rightArg, | ||
| FIELDTYPE | leftType, | ||
| FIELDTYPE | rightType ) |
Constructor for comparison. If the operator is OPTTYPEisNull or OPTYPEisEmpty rightArg and rightLiteral are ignored.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::string & | tableName, | ||
| Operator * | child = 0 ) |
Constructor for EXISTS.
| rdbModel::Assertion::Operator::Operator | ( | OPTYPE | type, |
| const std::vector< Operator * > & | children, | ||
| bool | keepChildren = false ) |
Constructor for OR, AND, NOT.
| rdbModel::Assertion::Operator::Operator | ( | Operator * | op, |
| Row * | toBe ) |
Copy an operator, substituting from toBe row as appropriate.
| bool rdbModel::Assertion::Operator::appendChild | ( | Operator * | child | ) |
Add another child to a conjunction-style operator.
Definition at line 165 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
Referenced by Operator().
| bool rdbModel::Assertion::Operator::appendChild | ( | Operator * | child | ) |
Add another child to a conjunction-style operator.
| bool rdbModel::Assertion::Operator::appendChild | ( | Operator * | child | ) |
Add another child to a conjunction-style operator.
| const std::vector< Assertion::Operator * > & rdbModel::Assertion::Operator::getChildren | ( | ) | const |
Throw exception if Operator is a comparison operator.
Definition at line 342 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| const std::vector< Operator * > & rdbModel::Assertion::Operator::getChildren | ( | ) | const |
Throw exception if Operator is a comparison operator.
| const std::vector< Operator * > & rdbModel::Assertion::Operator::getChildren | ( | ) | const |
Throw exception if Operator is a comparison operator.
| const std::string * rdbModel::Assertion::Operator::getCompareArgs | ( | ) | const |
Throw exception if Operator is not a comparison operator.
Definition at line 204 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| const std::string * rdbModel::Assertion::Operator::getCompareArgs | ( | ) | const |
Throw exception if Operator is not a comparison operator.
| const std::string * rdbModel::Assertion::Operator::getCompareArgs | ( | ) | const |
Throw exception if Operator is not a comparison operator.
| const FIELDTYPE * rdbModel::Assertion::Operator::getCompareArgTypes | ( | ) | const |
Get types of comparison args.
Throw exception if Operator is not a comparison operator.
Definition at line 212 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| const FIELDTYPE * rdbModel::Assertion::Operator::getCompareArgTypes | ( | ) | const |
Get types of comparison args.
| const FIELDTYPE * rdbModel::Assertion::Operator::getCompareArgTypes | ( | ) | const |
Get types of comparison args.
|
inline |
True if operator or sub-operator refers to existing row.
Definition at line 120 of file Calibration/rdbModel/include/rdbModel/Tables/Assertion.h.
|
inline |
True if operator or sub-operator refers to existing row.
Definition at line 120 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Assertion.h.
|
inline |
True if operator or sub-operator refers to existing row.
Definition at line 120 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Assertion.h.
|
inline |
Definition at line 114 of file Calibration/rdbModel/include/rdbModel/Tables/Assertion.h.
|
inline |
Definition at line 114 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Assertion.h.
|
inline |
Definition at line 114 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Assertion.h.
| const std::string & rdbModel::Assertion::Operator::getTableName | ( | ) | const |
Throw exception if Operaotr is not EXISTS.
Throw exception if Operator is not EXISTS.
Definition at line 219 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| const std::string & rdbModel::Assertion::Operator::getTableName | ( | ) | const |
Throw exception if Operaotr is not EXISTS.
| const std::string & rdbModel::Assertion::Operator::getTableName | ( | ) | const |
Throw exception if Operaotr is not EXISTS.
|
inline |
True if operator or sub-operator refers to future row.
Definition at line 117 of file Calibration/rdbModel/include/rdbModel/Tables/Assertion.h.
|
inline |
True if operator or sub-operator refers to future row.
Definition at line 117 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Assertion.h.
|
inline |
True if operator or sub-operator refers to future row.
Definition at line 117 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Assertion.h.
|
inline |
True if operator is isNull, isEmpty or any of the usual arithmetic comparisons
Definition at line 100 of file Calibration/rdbModel/include/rdbModel/Tables/Assertion.h.
Referenced by getChildren(), getCompareArgs(), getCompareArgTypes(), and Operator().
|
inline |
True if operator is isNull, isEmpty or any of the usual arithmetic comparisons
Definition at line 100 of file InstallArea/x86_64-el9-gcc13-dbg/include/rdbModel/Tables/Assertion.h.
|
inline |
True if operator is isNull, isEmpty or any of the usual arithmetic comparisons
Definition at line 100 of file InstallArea/x86_64-el9-gcc13-opt/include/rdbModel/Tables/Assertion.h.
| bool rdbModel::Assertion::Operator::validCompareOp | ( | Table * | table | ) | const |
Check whether columns or column and literal to be compared have compatible types
Definition at line 182 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
| bool rdbModel::Assertion::Operator::validCompareOp | ( | Table * | table | ) | const |
Check whether columns or column and literal to be compared have compatible types
| bool rdbModel::Assertion::Operator::validCompareOp | ( | Table * | table | ) | const |
Check whether columns or column and literal to be compared have compatible types
Evaluate operator on argument Rows.
Definition at line 225 of file Calibration/rdbModel/src/Tables/Assertion.cxx.
Evaluate operator on argument Rows.
Evaluate operator on argument Rows.