User: obo Date: 2006/07/10 08:02:34 Modified: dba/dbaccess/source/core/api/HelperCollections.hxx
Log: INTEGRATION: CWS qiq (1.4.124); FILE MERGED 2006/06/16 11:47:36 fs 1.4.124.2: during #i51143#: refactored VCollection: - createEmptyObject now named createDescriptor - cloneObject removed - appendObject now returns the newly created object (previously done via a subsequent call to cloneObject) 2006/06/06 13:58:12 fs 1.4.124.1: #i51143# +createWithIntrinsicNames File Changes: Directory: /dba/dbaccess/source/core/api/ ========================================= File [changed]: HelperCollections.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/HelperCollections.hxx?r1=1.4&r2=1.5 Delta lines: +12 -2 -------------------- --- HelperCollections.hxx 8 Sep 2005 09:58:29 -0000 1.4 +++ HelperCollections.hxx 10 Jul 2006 15:02:31 -0000 1.5 @@ -74,7 +74,7 @@ protected: virtual connectivity::sdbcx::ObjectType createObject(const ::rtl::OUString& _rName); virtual void impl_refresh() throw(RuntimeException) {} - virtual Reference< XPropertySet > createEmptyObject() + virtual Reference< XPropertySet > createDescriptor() { return NULL; } @@ -86,6 +86,16 @@ const ::std::vector< ::rtl::OUString> &_rVector, sal_Bool _bUseAsIndex = sal_False ); + + /** creates a columns instance as above, but taking the names from the columns itself + */ + static OPrivateColumns* createWithIntrinsicNames( + const ::vos::ORef< ::connectivity::OSQLColumns >& _rColumns, + sal_Bool _bCase, + ::cppu::OWeakObject& _rParent, + ::osl::Mutex& _rMutex + ); + virtual void SAL_CALL disposing(void); }; typedef connectivity::sdbcx::OCollection OPrivateTables_BASE; @@ -99,7 +109,7 @@ protected: virtual connectivity::sdbcx::ObjectType createObject(const ::rtl::OUString& _rName); virtual void impl_refresh() throw(RuntimeException) {} - virtual Reference< XPropertySet > createEmptyObject() + virtual Reference< XPropertySet > createDescriptor() { return NULL; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
