Tag: cws_src680_dba204a
User: oj      
Date: 06/05/22 03:50:03

Modified:
 /dba/connectivity/inc/connectivity/
  sqlparse.hxx

Log:
 #i50910# some new methods and rearrangement

File Changes:

Directory: /dba/connectivity/inc/connectivity/
==============================================

File [changed]: sqlparse.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/sqlparse.hxx?r1=1.18&r2=1.18.100.1
Delta lines:  +13 -10
---------------------
--- sqlparse.hxx        8 Sep 2005 05:02:35 -0000       1.18
+++ sqlparse.hxx        22 May 2006 10:50:00 -0000      1.18.100.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: sqlparse.hxx,v $
  *
- *  $Revision: 1.18 $
+ *  $Revision: 1.18.100.1 $
  *
- *  last change: $Author: rt $ $Date: 2005/09/08 05:02:35 $
+ *  last change: $Author: oj $ $Date: 2006/05/22 10:50:00 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -168,7 +168,13 @@
 
                // convert a string into double trim it to scale of _nscale and 
than transform it back to string
                ::rtl::OUString stringToDouble(const ::rtl::OUString& 
_rValue,sal_Int16 _nScale);
-               sal_Int16 buildDate(sal_Int32 _nType,OSQLParseNode*& 
pAppend,OSQLParseNode* pLiteral,OSQLParseNode*& pCompare);
+               OSQLParseNode*  buildDate(sal_Int32 _nType,OSQLParseNode*& 
pLiteral);
+        bool            extractDate(OSQLParseNode* pLiteral,double& _rfValue);
+        void            killThousandSeparator(OSQLParseNode* pLiteral);
+        OSQLParseNode*  convertNode(sal_Int32 nType,OSQLParseNode*& pLiteral);
+        // makes a string out of a number, pLiteral will be deleted
+               OSQLParseNode*  buildNode_STR_NUM(OSQLParseNode*& pLiteral);
+        OSQLParseNode*  buildNode_Date(const double& fValue, sal_Int32 nType);
 
                static ::osl::Mutex& getMutex();
 
@@ -225,14 +231,11 @@
 
                void reduceLiteral(OSQLParseNode*& pLiteral, sal_Bool 
bAppendBlank);
                 // does not change the pLiteral argument
-               sal_Int16 buildNode(OSQLParseNode*& pAppend,OSQLParseNode* 
pLiteral,OSQLParseNode*& pCompare);
-               // makes a string out of a number, pLiteral will be deleted
-               sal_Int16 buildNode_STR_NUM(OSQLParseNode*& 
pAppend,OSQLParseNode*& pLiteral,OSQLParseNode*& pCompare);
-               sal_Int16 buildNode_Date(const double& fValue, sal_Int32 nType, 
OSQLParseNode*& pAppend,OSQLParseNode* pLiteral,OSQLParseNode*& pCompare);
+               sal_Int16 buildNode(OSQLParseNode*& pAppend,OSQLParseNode* 
pCompare,OSQLParseNode* pLiteral,OSQLParseNode* pLiteral2);
 
                sal_Int16 buildComparsionRule(OSQLParseNode*& 
pAppend,OSQLParseNode* pLiteral);
                // pCompre will be deleted if it is not used
-               sal_Int16 buildComparsionRule(OSQLParseNode*& 
pAppend,OSQLParseNode* pLiteral,OSQLParseNode*& pCompare);
+               sal_Int16 buildPredicateRule(OSQLParseNode*& 
pAppend,OSQLParseNode* pLiteral,OSQLParseNode*& pCompare,OSQLParseNode* 
pLiteral2 = NULL);
 
                sal_Int16 buildLikeRule(OSQLParseNode*& pAppend,OSQLParseNode*& 
pLiteral,const OSQLParseNode* pEscape);
                sal_Int16 buildStringNodes(OSQLParseNode*& pLiteral);




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to