LibreOffice Module forms (master) 1
Public Member Functions | List of all members
xforms::BoolExpression Class Reference

BoolExpression represents a computed XPath expression that returns a bool value and caches the results. More...

#include <boolexpression.hxx>

Inheritance diagram for xforms::BoolExpression:
[legend]
Collaboration diagram for xforms::BoolExpression:
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ BoolExpression()

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.

◆ ~BoolExpression()

xforms::BoolExpression::~BoolExpression ( )

Definition at line 32 of file boolexpression.cxx.

Member Function Documentation

◆ setExpression()

void xforms::BoolExpression::setExpression ( const OUString &  rExpression)

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