LibreOffice Module connectivity (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
connectivity::sdbcx::OTable Class Reference

#include <VTable.hxx>

Inheritance diagram for connectivity::sdbcx::OTable:
[legend]
Collaboration diagram for connectivity::sdbcx::OTable:
[legend]

Public Member Functions

 OTable (OCollection *_pTables, bool _bCase)
 
 OTable (OCollection *_pTables, bool _bCase, const OUString &Name, OUString Type, OUString Description=OUString(), OUString SchemaName=OUString(), OUString CatalogName=OUString())
 
virtual ~OTable () override
 
 DECLARE_SERVICE_INFO ()
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void construct () override
 
virtual void refreshColumns () override
 
virtual void refreshKeys ()
 
virtual void refreshIndexes ()
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getColumns () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getKeys () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getIndexes () override
 
virtual void SAL_CALL rename (const OUString &newName) override
 
virtual void SAL_CALL alterColumnByName (const OUString &colName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual void SAL_CALL alterColumnByIndex (sal_Int32 index, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > getMetaData () const
 
- Public Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
virtual void refreshColumns ()=0
 
- Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< class TYPE >
 OIdPropertyArrayUsageHelper ()
 
virtual ~OIdPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper (sal_Int32 nId)
 
- Public Member Functions inherited from connectivity::sdbcx::ODescriptor
 ODescriptor (::cppu::OBroadcastHelper &_rBHelper, bool _bCase, bool _bNew=false)
 
virtual ~ODescriptor () override
 
bool isNew () const
 
void setNew (bool _bNew)
 
bool isCaseSensitive () const
 
virtual void construct ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes ()
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 

Protected Member Functions

virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 _nId) const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
- Protected Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 >
 ~ImplHelper4 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from connectivity::sdbcx::IRefreshableColumns
 ~IRefreshableColumns ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const=0
 
- Protected Member Functions inherited from connectivity::sdbcx::ODescriptor
::cppu::IPropertyArrayHelperdoCreateArrayHelper () const
 helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper More...
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 

Protected Attributes

OUString m_CatalogName
 
OUString m_SchemaName
 
OUString m_Description
 
OUString m_Type
 
std::unique_ptr< OCollectionm_xKeys
 
std::unique_ptr< OCollectionm_xColumns
 
std::unique_ptr< OCollectionm_xIndexes
 
OCollectionm_pTables
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from connectivity::sdbcx::ODescriptor
OUString m_Name
 

Additional Inherited Members

- Static Public Member Functions inherited from connectivity::sdbcx::ODescriptor
static bool isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor)
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 

Detailed Description

Definition at line 61 of file VTable.hxx.

Constructor & Destructor Documentation

◆ OTable() [1/2]

OTable::OTable ( OCollection _pTables,
bool  _bCase 
)

Definition at line 59 of file VTable.cxx.

References m_aMutex.

Referenced by createDataDescriptor().

◆ OTable() [2/2]

connectivity::sdbcx::OTable::OTable ( OCollection _pTables,
bool  _bCase,
const OUString &  Name,
OUString  Type,
OUString  Description = OUString(),
OUString  SchemaName = OUString(),
OUString  CatalogName = OUString() 
)

◆ ~OTable()

OTable::~OTable ( )
overridevirtual

Definition at line 82 of file VTable.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL OTable::acquire ( )
overridevirtualnoexcept

Definition at line 98 of file VTable.cxx.

◆ alterColumnByIndex()

void SAL_CALL OTable::alterColumnByIndex ( sal_Int32  index,
const css::uno::Reference< css::beans::XPropertySet > &  descriptor 
)
overridevirtual

◆ alterColumnByName()

void SAL_CALL OTable::alterColumnByName ( const OUString &  colName,
const css::uno::Reference< css::beans::XPropertySet > &  descriptor 
)
overridevirtual

◆ construct()

void OTable::construct ( )
overridevirtual

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OTable::createArrayHelper ( sal_Int32  _nId) const
overrideprotectedvirtual

◆ createDataDescriptor()

Reference< XPropertySet > SAL_CALL OTable::createDataDescriptor ( )
overridevirtual

◆ DECLARE_SERVICE_INFO()

connectivity::sdbcx::OTable::DECLARE_SERVICE_INFO ( )

◆ disposing()

void SAL_CALL OTable::disposing ( )
overridevirtual

◆ getColumns()

Reference< XNameAccess > SAL_CALL OTable::getColumns ( )
overridevirtual

◆ getIndexes()

Reference< XNameAccess > SAL_CALL OTable::getIndexes ( )
overridevirtual

◆ getInfoHelper()

cppu::IPropertyArrayHelper & OTable::getInfoHelper ( )
overrideprotected

◆ getKeys()

Reference< XIndexAccess > SAL_CALL OTable::getKeys ( )
overridevirtual

◆ getMetaData()

Reference< XDatabaseMetaData > OTable::getMetaData ( ) const
virtual

Reimplemented in connectivity::ado::OAdoTable, connectivity::dbase::ODbaseTable, and connectivity::OTableHelper.

Definition at line 259 of file VTable.cxx.

Referenced by rename().

◆ getName()

OUString SAL_CALL OTable::getName ( )
overridevirtual

◆ getPropertySetInfo()

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL OTable::getPropertySetInfo ( )
overridevirtual

Definition at line 275 of file VTable.cxx.

References getInfoHelper().

◆ getTypes()

Sequence< Type > SAL_CALL OTable::getTypes ( )
overridevirtual

◆ queryInterface()

Any SAL_CALL OTable::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ refreshColumns()

void OTable::refreshColumns ( )
overridevirtual

◆ refreshIndexes()

void OTable::refreshIndexes ( )
virtual

◆ refreshKeys()

void OTable::refreshKeys ( )
virtual

Reimplemented in connectivity::ado::OAdoTable, connectivity::file::OFileTable, and connectivity::OTableHelper.

Definition at line 296 of file VTable.cxx.

Referenced by getKeys().

◆ release()

void SAL_CALL OTable::release ( )
overridevirtualnoexcept

Definition at line 103 of file VTable.cxx.

◆ rename()

void SAL_CALL OTable::rename ( const OUString &  newName)
overridevirtual

◆ setName()

void SAL_CALL OTable::setName ( const OUString &  aName)
overridevirtual

Definition at line 288 of file VTable.cxx.

Member Data Documentation

◆ m_CatalogName

OUString connectivity::sdbcx::OTable::m_CatalogName
protected

◆ m_Description

OUString connectivity::sdbcx::OTable::m_Description
protected

◆ m_pTables

OCollection* connectivity::sdbcx::OTable::m_pTables
protected

◆ m_SchemaName

OUString connectivity::sdbcx::OTable::m_SchemaName
protected

◆ m_Type

OUString connectivity::sdbcx::OTable::m_Type
protected

◆ m_xColumns

std::unique_ptr<OCollection> connectivity::sdbcx::OTable::m_xColumns
protected

◆ m_xIndexes

std::unique_ptr<OCollection> connectivity::sdbcx::OTable::m_xIndexes
protected

◆ m_xKeys

std::unique_ptr<OCollection> connectivity::sdbcx::OTable::m_xKeys
protected

The documentation for this class was generated from the following files: