LibreOffice Module forms (master)
1
forms
source
xforms
boolexpression.cxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#include "
boolexpression.hxx
"
21
22
namespace
xforms
23
{
30
BoolExpression::BoolExpression
() {}
31
32
BoolExpression::~BoolExpression
() {}
33
34
void
BoolExpression::setExpression
(
const
OUString& rExpression)
35
{
36
ComputedExpression::setExpression
(rExpression);
37
mbIsSimple
=
_checkExpression
(
" *(true)|(false) *\\( *\\) *"
);
38
}
39
40
}
// namespace xforms
41
42
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
boolexpression.hxx
xforms::BoolExpression::~BoolExpression
~BoolExpression()
Definition:
boolexpression.cxx:32
xforms::BoolExpression::BoolExpression
BoolExpression()
BoolExpression represents a computed XPath expression that returns a bool value and caches the result...
Definition:
boolexpression.cxx:30
xforms::BoolExpression::setExpression
void setExpression(const OUString &rExpression)
set the expression string (overridden for new definition of a simple expression)
Definition:
boolexpression.cxx:34
xforms::ComputedExpression::_checkExpression
bool _checkExpression(const char *pExpression) const
implementation of isSimpleExpression
Definition:
computedexpression.cxx:67
xforms::ComputedExpression::mbIsSimple
bool mbIsSimple
is msExpression a simple expression?
Definition:
computedexpression.hxx:57
xforms::ComputedExpression::setExpression
void setExpression(const OUString &rExpression)
set a new expression string
Definition:
computedexpression.cxx:57
xforms
Definition:
binding.hxx:42
Generated on Sun Jul 30 2023 04:36:32 for LibreOffice Module forms (master) by
1.9.3