Workspace 6.21.5
Namespaces | Functions
logical.cpp File Reference
#include "logical.h"
#include <functional>
#include "Workspace/Application/builtinplugin.h"
#include "Workspace/DataExecution/DataObjects/typedobject.h"
#include "Workspace/DataExecution/InputOutput/inputarray.h"
#include "Workspace/DataExecution/InputOutput/inputscalar.h"
#include "Workspace/DataExecution/InputOutput/output.h"
#include "Workspace/DataExecution/Operations/typedoperationfactory.h"
Include dependency graph for logical.cpp:

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::DataExecution
 Base workspace functionality not requiring a user interface.
 

Functions

 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (IntegerEqual, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/equal.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (IntegerGreater, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/greater.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (IntegerGreaterEqual, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/greater_equal.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (IntegerLess, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/less.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (IntegerLessEqual, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/less_equal.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (IntegerNotEqual, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/not_equal.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (LogicalAnd, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/logical_and.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (LogicalNot, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/logical_not.png")
 
 DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON (LogicalOr, BuiltinPlugin::getInstance(), Operation::tr("Builtin/Boolean"), "images:/Workspace/operations/logical_or.png")
 
 DEPRECATE_WORKSPACE_OPERATION (IntegerLess, "Replaced with the Compare operation that supports a greater number of types.")
 
template<template< typename > class Op>
QString getOpLabel ()
 
template<>
QString getOpLabel< std::equal_to > ()
 
template<>
QString getOpLabel< std::greater > ()
 
template<>
QString getOpLabel< std::greater_equal > ()
 
template<>
QString getOpLabel< std::less > ()
 
template<>
QString getOpLabel< std::less_equal > ()
 
template<>
QString getOpLabel< std::logical_and > ()
 
template<>
QString getOpLabel< std::logical_not > ()
 
template<>
QString getOpLabel< std::logical_or > ()
 
template<>
QString getOpLabel< std::not_equal_to > ()
 

Function Documentation

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [1/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( IntegerEqual  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/equal.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [2/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( IntegerGreater  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/greater.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [3/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( IntegerGreaterEqual  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/greater_equal.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [4/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( IntegerLess  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/less.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [5/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( IntegerLessEqual  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/less_equal.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [6/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( IntegerNotEqual  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/not_equal.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [7/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( LogicalAnd  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/logical_and.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [8/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( LogicalNot  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/logical_not.png"   
)

◆ DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON() [9/9]

DEFINE_WORKSPACE_OPERATION_FACTORY_WITH_ICON ( LogicalOr  ,
BuiltinPlugin::getInstance()  ,
Operation::tr("Builtin/Boolean")  ,
"images:/Workspace/operations/logical_or.png"   
)

◆ DEPRECATE_WORKSPACE_OPERATION()

DEPRECATE_WORKSPACE_OPERATION ( IntegerLess  ,
"Replaced with the Compare operation that supports a greater number of types."   
)