LibreOffice Module reportdesign (master) 1
|
#include <conditionalexpression.hxx>
Public Member Functions | |
ConditionalExpression (const char *_pAsciiPattern) | |
OUString | assembleExpression (const OUString &_rFieldDataSource, const OUString &_rLHS, const OUString &_rRHS) const |
assembles an expression string from a field data source, and one or two operands More... | |
bool | matchExpression (std::u16string_view _rExpression, const std::u16string_view _rFieldDataSource, OUString &_out_rLHS, OUString &_out_rRHS) const |
matches the given expression string to the expression pattern represented by the object More... | |
Private Attributes | |
const OUString | m_sPattern |
Definition at line 35 of file conditionalexpression.hxx.
rptui::ConditionalExpression::ConditionalExpression | ( | const char * | _pAsciiPattern | ) |
Definition at line 32 of file conditionalexpression.cxx.
OUString rptui::ConditionalExpression::assembleExpression | ( | const OUString & | _rFieldDataSource, |
const OUString & | _rLHS, | ||
const OUString & | _rRHS | ||
) | const |
assembles an expression string from a field data source, and one or two operands
Definition at line 38 of file conditionalexpression.cxx.
References m_sPattern.
bool rptui::ConditionalExpression::matchExpression | ( | std::u16string_view | _rExpression, |
const std::u16string_view | _rFieldDataSource, | ||
OUString & | _out_rLHS, | ||
OUString & | _out_rRHS | ||
) | const |
matches the given expression string to the expression pattern represented by the object
_rExpression | the expression to match |
_rFieldDataSource | the field data source |
_out_rLHS | output parameter taking the left hand side operand, if successful |
_out_rRHS | output parameter taking the right hand side operand, if successful |
Definition at line 67 of file conditionalexpression.cxx.
References m_sPattern, and u.
|
private |
Definition at line 38 of file conditionalexpression.hxx.
Referenced by assembleExpression(), and matchExpression().