diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 12:28:29 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-10-01 12:28:29 +0000 |
commit | bc416a9f5635e0dcb3558a997ebf0298c3c37486 (patch) | |
tree | ef6424519b8c2ef24406d62b0edca6d9a572115a /connectivity/source/inc/file/fanalyzer.hxx | |
parent | bbc5db1ac660640e72a7effbf70bace623c8d6c4 (diff) |
CWS-TOOLING: integrate CWS dba31b
Diffstat (limited to 'connectivity/source/inc/file/fanalyzer.hxx')
-rw-r--r-- | connectivity/source/inc/file/fanalyzer.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/connectivity/source/inc/file/fanalyzer.hxx b/connectivity/source/inc/file/fanalyzer.hxx index 99ccdfe3d3b4..60f5c79188e6 100644 --- a/connectivity/source/inc/file/fanalyzer.hxx +++ b/connectivity/source/inc/file/fanalyzer.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fanalyzer.hxx,v $ - * $Revision: 1.13 $ + * $Revision: 1.13.56.1 $ * * This file is part of OpenOffice.org. * @@ -37,7 +37,7 @@ namespace connectivity { namespace file { - + class OConnection; class OSQLAnalyzer { typedef ::std::list<OEvaluateSet*> OEvaluateSetList; @@ -46,6 +46,7 @@ namespace connectivity ::std::vector< TPredicates > m_aSelectionEvaluations; ::vos::ORef<OPredicateCompiler> m_aCompiler; ::vos::ORef<OPredicateInterpreter> m_aInterpreter; + OConnection* m_pConnection; mutable sal_Bool m_bHasSelectionCode; mutable sal_Bool m_bSelectionFirstTime; @@ -53,7 +54,7 @@ namespace connectivity void bindRow(OCodeList& rCodeList,const OValueRefRow& _pRow,OEvaluateSetList& _rEvaluateSetList); public: - OSQLAnalyzer(); + OSQLAnalyzer(OConnection* _pConnection); virtual ~OSQLAnalyzer(); inline static void * SAL_CALL operator new( size_t nSize ) SAL_THROW( () ) { return ::rtl_allocateMemory( nSize ); } @@ -64,6 +65,7 @@ namespace connectivity inline static void SAL_CALL operator delete( void * /*pMem*/,void* /*_pHint*/ ) SAL_THROW( () ) { } + OConnection* getConnection() const { return m_pConnection; } void describeParam(::vos::ORef<OSQLColumns> rParameterColumns); // genauere Beschreibung der Parameter ::std::vector<sal_Int32>* bindEvaluationRow(OValueRefRow& _pRow); // Anbinden einer Ergebniszeile an die Restrictions /** bind the select columns if they contain a function which needs a row value |