Mantid
|
A struct describing a binary operation Note: The constructor takes an integer where 0 = intersection, 1 = union and 2 = difference. More...
#include <SampleShapeHelpers.h>
Public Member Functions | |
Operation (int op=0) | |
Default constructor. More... | |
QString | toString (const QString &left, const QString &right) const |
Return the string that represnts the result of this operation. More... | |
Public Attributes | |
int | binaryop |
The stored operation. More... | |
A struct describing a binary operation Note: The constructor takes an integer where 0 = intersection, 1 = union and 2 = difference.
Definition at line 72 of file SampleShapeHelpers.h.
|
inline |
Default constructor.
Definition at line 74 of file SampleShapeHelpers.h.
QString Operation::toString | ( | const QString & | left, |
const QString & | right | ||
) | const |
Return the string that represnts the result of this operation.
Take the arguments given and form a string using the current algebra.
left | Left-hand side of binary operation |
right | Right-hand side of binary operation |
Definition at line 147 of file SampleShapeHelpers.cpp.
int MantidQt::CustomDialogs::Operation::binaryop |