Enable Transformiix on Linux. Don't build on OS/2 for now until bug 53518 is fixed.

This commit is contained in:
nisheeth%netscape.com 2005-11-02 07:36:16 +00:00
Родитель 1dd24d894b
Коммит ce63e32faa
3 изменённых файлов: 16 добавлений и 5 удалений

Просмотреть файл

@ -25,7 +25,7 @@
* - changed constant short declarations in many of the classes * - changed constant short declarations in many of the classes
* with enumerations, commented with //--LF * with enumerations, commented with //--LF
* *
* $Id: txExpr.h,v 1.12 2005/11/02 07:33:37 axel%pike.org Exp $ * $Id: txExpr.h,v 1.13 2005/11/02 07:33:38 nisheeth%netscape.com Exp $
*/ */
@ -46,7 +46,7 @@
/* /*
XPath class definitions. XPath class definitions.
Much of this code was ported from XSL:P. Much of this code was ported from XSL:P.
@version $Revision: 1.12 $ $Date: 2005/11/02 07:33:37 $ @version $Revision: 1.13 $ $Date: 2005/11/02 07:33:38 $
*/ */
//necessary prototypes //necessary prototypes
@ -1048,6 +1048,7 @@ public:
StringExpr(); StringExpr();
StringExpr(String& value); StringExpr(String& value);
StringExpr(const String& value); StringExpr(const String& value);
StringExpr(const char* value);
~StringExpr(); ~StringExpr();
/** /**

Просмотреть файл

@ -23,7 +23,7 @@
* Larry Fitzpatrick, OpenText, lef@opentext.com * Larry Fitzpatrick, OpenText, lef@opentext.com
* -- changed constant short result types to enum * -- changed constant short result types to enum
* *
* $Id: txExprResult.h,v 1.9 2005/11/02 07:33:51 peterv%netscape.com Exp $ * $Id: txExprResult.h,v 1.10 2005/11/02 07:33:52 nisheeth%netscape.com Exp $
*/ */
#ifndef TRANSFRMX_EXPRRESULT_H #ifndef TRANSFRMX_EXPRRESULT_H
@ -131,6 +131,7 @@ public:
StringResult(String& str); StringResult(String& str);
StringResult(const String& str); StringResult(const String& str);
StringResult(const StringResult& strResult); StringResult(const StringResult& strResult);
StringResult(const char* str);
String& getValue(); String& getValue();

Просмотреть файл

@ -21,14 +21,14 @@
* Keith Visco, kvisco@ziplink.net * Keith Visco, kvisco@ziplink.net
* -- original author. * -- original author.
* *
* $Id: txStringResult.cpp,v 1.6 2005/11/02 07:33:57 kvisco%ziplink.net Exp $ * $Id: txStringResult.cpp,v 1.7 2005/11/02 07:33:58 nisheeth%netscape.com Exp $
*/ */
/** /**
* StringResult * StringResult
* Represents a String as a Result of evaluating an Expr * Represents a String as a Result of evaluating an Expr
* @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a> * @author <a href="mailto:kvisco@ziplink.net">Keith Visco</a>
* @version $Revision: 1.6 $ $Date: 2005/11/02 07:33:57 $ * @version $Revision: 1.7 $ $Date: 2005/11/02 07:33:58 $
**/ **/
#include "ExprResult.h" #include "ExprResult.h"
@ -57,6 +57,15 @@ StringResult::StringResult(const String& str) {
this->value = str; this->value = str;
} //-- StringResult } //-- StringResult
/**
* Creates a new StringResult with the value of the given String parameter
* @param str the String to use for initialization of this StringResult's value
**/
StringResult::StringResult(const char* str) {
//-- copy str
this->value = str;
} //-- StringResult
/** /**
* Returns the value of this StringResult * Returns the value of this StringResult
**/ **/