Added changes by Marina

This commit is contained in:
kvisco%ziplink.net 2005-11-02 07:34:34 +00:00
parent e3f66f0246
commit 529a83a253

View File

@ -3,28 +3,31 @@
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
*
* The Original Code is TransforMiiX XSLT processor.
*
*
* The Initial Developer of the Original Code is The MITRE Corporation.
* Portions created by MITRE are Copyright (C) 1999 The MITRE Corporation.
*
* Portions created by Keith Visco as a Non MITRE employee,
* (C) 1999 Keith Visco. All Rights Reserved.
*
* Contributor(s):
*
* Contributor(s):
* Keith Visco, kvisco@ziplink.net
* -- original author.
*
* Olivier Gerardin, ogerardin@vo.lu
* -- added number functions
*
* $Id: txFunctionLib.h,v 1.5 2005/11/02 07:33:47 kvisco%ziplink.net Exp $
*
* Marina Mechtcheriakova
* -- added support for lang function
*
* $Id: txFunctionLib.h,v 1.6 2005/11/02 07:33:48 kvisco%ziplink.net Exp $
*/
#include "TxString.h"
@ -53,6 +56,7 @@ static const String CONCAT_FN;
static const String CONTAINS_FN;
static const String COUNT_FN ;
static const String FALSE_FN;
static const String LANG_FN;
static const String LAST_FN;
static const String LOCAL_NAME_FN;
static const String NAME_FN;
@ -74,6 +78,7 @@ static const String CEILING_FN;
static const String FLOOR_FN;
// OG-
//-- internal XSL processor functions
static const String ERROR_FN;
@ -111,7 +116,7 @@ class BooleanFunctionCall : public FunctionCall {
public:
enum booleanFunctions { TX_BOOLEAN = 1, TX_FALSE, TX_NOT, TX_TRUE };
enum booleanFunctions { TX_BOOLEAN = 1, TX_FALSE, TX_LANG, TX_NOT, TX_TRUE };
/**
* Creates a default BooleanFunctionCall, which always evaluates to False