|
LibreOffice Module forms (master) 1
|
BoolExpression represents a computed XPath expression that returns a bool value and caches the results. More...
#include <boolexpression.hxx>
Public Member Functions | |
| BoolExpression () | |
| BoolExpression represents a computed XPath expression that returns a bool value and caches the results. More... | |
| ~BoolExpression () | |
| void | setExpression (const OUString &rExpression) |
| set the expression string (overridden for new definition of a simple expression) More... | |
Public Member Functions inherited from xforms::ComputedExpression | |
| ComputedExpression () | |
| ~ComputedExpression () | |
| const OUString & | getExpression () const |
| get the expression string More... | |
| void | setExpression (const OUString &rExpression) |
| set a new expression string More... | |
| bool | isEmptyExpression () const |
| do we have an actual expression? More... | |
| bool | isSimpleExpression () const |
| heuristically determine whether this expression is 'simple', i.e. More... | |
| bool | evaluate (const xforms::EvaluationContext &rContext) |
| evaluate the expression relative to the content node. More... | |
| bool | hasValue () const |
| does this expression have a value? More... | |
| void | clear () |
| remove value/evaluate results More... | |
| css::uno::Reference< css::xml::xpath::XXPathObject > const & | getXPath () const |
| bool | getBool (bool bDefault=false) const |
| OUString | getString () const |
Additional Inherited Members | |
Protected Member Functions inherited from xforms::ComputedExpression | |
| bool | _checkExpression (const char *pExpression) const |
| implementation of isSimpleExpression More... | |
| const OUString & | _getExpressionForEvaluation () const |
| allow manipulation of the expression before it is evaluated More... | |
| bool | _evaluate (const xforms::EvaluationContext &rContext, const OUString &sExpression) |
| evaluate the expression relative to the content node. More... | |
Static Protected Member Functions inherited from xforms::ComputedExpression | |
| static css::uno::Reference< css::xml::xpath::XXPathAPI > | _getXPathAPI (const xforms::EvaluationContext &aContext) |
| obtain a (suitable) XPathAPI implementation More... | |
Protected Attributes inherited from xforms::ComputedExpression | |
| bool | mbIsSimple |
| is msExpression a simple expression? More... | |
| css::uno::Reference< css::xml::xpath::XXPathObject > | mxResult |
| the result from the last bind More... | |
BoolExpression represents a computed XPath expression that returns a bool value and caches the results.
As this class has no virtual methods, it should never be used polymorphically.
Definition at line 31 of file boolexpression.hxx.
| xforms::BoolExpression::BoolExpression | ( | ) |
BoolExpression represents a computed XPath expression that returns a bool value and caches the results.
As this class has no virtual methods, it should never be used polymorphically.
Definition at line 30 of file boolexpression.cxx.
| xforms::BoolExpression::~BoolExpression | ( | ) |
Definition at line 32 of file boolexpression.cxx.
| void xforms::BoolExpression::setExpression | ( | const OUString & | rExpression | ) |
set the expression string (overridden for new definition of a simple expression)
Definition at line 34 of file boolexpression.cxx.
References xforms::ComputedExpression::_checkExpression(), xforms::ComputedExpression::mbIsSimple, and xforms::ComputedExpression::setExpression().
Referenced by xforms::Binding::setConstraintExpression(), xforms::Binding::setReadonlyExpression(), xforms::Binding::setRelevantExpression(), and xforms::Binding::setRequiredExpression().