LibreOffice Module connectivity (master) 1
|
#include <AColumn.hxx>
Public Member Functions | |
OAdoColumn (bool _bCase, OConnection *_pConnection, _ADOColumn *_pColumn) | |
OAdoColumn (bool _bCase, OConnection *_pConnection) | |
virtual void | construct () override |
WpADOColumn | getColumnImpl () const |
Public Member Functions inherited from connectivity::sdbcx::OColumn | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
OColumn (bool _bCase) | |
OColumn (const OUString &Name, OUString TypeName, OUString DefaultValue, OUString Description, sal_Int32 IsNullable, sal_Int32 Precision, sal_Int32 Scale, sal_Int32 Type, bool IsAutoIncrement, bool IsRowVersion, bool IsCurrency, bool _bCase, OUString CatalogName, OUString SchemaName, OUString TableName) | |
DECLARE_SERVICE_INFO () | |
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 SAL_CALL | disposing () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () 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 |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
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 |
Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< class TYPE > | |
OIdPropertyArrayUsageHelper () | |
virtual | ~OIdPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper (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 void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
Protected Member Functions inherited from connectivity::sdbcx::OColumn | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 _nId) const override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual | ~OColumn () override |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper (sal_Int32 nId) const=0 |
Protected Member Functions inherited from connectivity::sdbcx::ODescriptor | |
::cppu::IPropertyArrayHelper * | doCreateArrayHelper () 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 |
Private Member Functions | |
void | fillPropertyValues () |
Private Attributes | |
WpADOColumn | m_aColumn |
OConnection * | m_pConnection |
OUString | m_ReferencedColumn |
bool | m_IsAscending |
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 () |
Protected Attributes inherited from connectivity::sdbcx::OColumn | |
OUString | m_TypeName |
OUString | m_Description |
OUString | m_DefaultValue |
sal_Int32 | m_IsNullable |
sal_Int32 | m_Precision |
sal_Int32 | m_Scale |
sal_Int32 | m_Type |
bool | m_IsAutoIncrement |
bool | m_IsRowVersion |
bool | m_IsCurrency |
OUString | m_CatalogName |
OUString | m_SchemaName |
OUString | m_TableName |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from connectivity::sdbcx::ODescriptor | |
OUString | m_Name |
Definition at line 29 of file AColumn.hxx.
OAdoColumn::OAdoColumn | ( | bool | _bCase, |
OConnection * | _pConnection, | ||
_ADOColumn * | _pColumn | ||
) |
Definition at line 46 of file AColumn.cxx.
References construct(), fillPropertyValues(), m_aColumn, and connectivity::ado::WpOLEBase< T >::set().
OAdoColumn::OAdoColumn | ( | bool | _bCase, |
OConnection * | _pConnection | ||
) |
Definition at line 57 of file AColumn.cxx.
References construct(), connectivity::ado::WpADOColumn::Create(), fillPropertyValues(), connectivity::ado::OConnection::getAdoCatalog(), connectivity::ado::OCatalog::getCatalog(), m_aColumn, connectivity::sdbcx::OColumn::m_Type, and connectivity::ado::WpADOColumn::put_ParentCatalog().
|
overridevirtual |
Reimplemented from connectivity::sdbcx::OColumn.
Definition at line 69 of file AColumn.cxx.
References connectivity::OMetaConnection::getPropMap(), connectivity::sdbcx::ODescriptor::isNew(), m_IsAscending, m_ReferencedColumn, PROPERTY_ID_ISASCENDING, PROPERTY_ID_RELATEDCOLUMN, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by OAdoColumn().
|
private |
Definition at line 160 of file AColumn.cxx.
References connectivity::ado::OExtendedTypeInfo::aSimpleType, connectivity::OTypeInfo::aTypeName, eType, connectivity::ado::WpADOColumn::get_Attributes(), connectivity::ado::WpADOColumn::get_Name(), connectivity::ado::WpADOColumn::get_NumericScale(), connectivity::ado::WpADOColumn::get_Precision(), connectivity::ado::WpADOColumn::get_Properties(), connectivity::ado::WpADOColumn::get_RelatedColumn(), connectivity::ado::WpADOColumn::get_SortOrder(), connectivity::ado::WpADOColumn::get_Type(), connectivity::ado::OLEVariant::getBool(), connectivity::ado::OConnection::getEngineType(), connectivity::ado::OLEVariant::getString(), connectivity::ado::OConnection::getTypeInfo(), connectivity::ado::OConnection::getTypeInfoFromType(), connectivity::ado::OTools::getValue(), connectivity::ado::ADOS::isJetEngine(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aColumn, connectivity::sdbcx::OColumn::m_DefaultValue, connectivity::sdbcx::OColumn::m_Description, m_IsAscending, connectivity::sdbcx::OColumn::m_IsAutoIncrement, connectivity::sdbcx::OColumn::m_IsCurrency, connectivity::sdbcx::OColumn::m_IsNullable, connectivity::sdbcx::ODescriptor::m_Name, m_pConnection, connectivity::sdbcx::OColumn::m_Precision, m_ReferencedColumn, connectivity::sdbcx::OColumn::m_Scale, connectivity::sdbcx::OColumn::m_Type, connectivity::sdbcx::OColumn::m_TypeName, connectivity::ado::ADOS::MapADOType2Jdbc(), and u.
Referenced by OAdoColumn().
WpADOColumn OAdoColumn::getColumnImpl | ( | ) | const |
Definition at line 229 of file AColumn.cxx.
References m_aColumn.
Referenced by connectivity::ado::OAdoTable::alterColumnByName().
|
overrideprotectedvirtual |
Reimplemented from comphelper::OPropertyContainer.
Definition at line 77 of file AColumn.cxx.
References connectivity::ado::WpADOColumn::get_Properties(), getBOOL(), connectivity::ado::OConnection::getEngineType(), getString(), connectivity::ado::WpOLEBase< T >::IsValid(), m_aColumn, connectivity::sdbcx::OColumn::m_IsCurrency, m_pConnection, connectivity::ado::ADOS::MapJdbc2ADOType(), nHandle, PROPERTY_ID_DEFAULTVALUE, PROPERTY_ID_DESCRIPTION, PROPERTY_ID_IM001, PROPERTY_ID_ISASCENDING, PROPERTY_ID_ISAUTOINCREMENT, PROPERTY_ID_ISNULLABLE, PROPERTY_ID_ISROWVERSION, PROPERTY_ID_NAME, PROPERTY_ID_PRECISION, PROPERTY_ID_RELATEDCOLUMN, PROPERTY_ID_SCALE, PROPERTY_ID_TYPE, PROPERTY_ID_TYPENAME, connectivity::ado::WpADOColumn::put_Attributes(), connectivity::ado::WpADOColumn::put_Name(), connectivity::ado::WpADOColumn::put_NumericScale(), connectivity::ado::WpADOColumn::put_Precision(), connectivity::ado::WpADOColumn::put_RelatedColumn(), connectivity::ado::WpADOColumn::put_SortOrder(), connectivity::ado::WpADOColumn::put_Type(), connectivity::ado::OTools::putValue(), comphelper::OPropertyContainer::setFastPropertyValue_NoBroadcast(), and u.
|
private |
Definition at line 31 of file AColumn.hxx.
Referenced by fillPropertyValues(), getColumnImpl(), OAdoColumn(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 34 of file AColumn.hxx.
Referenced by construct(), and fillPropertyValues().
|
private |
Definition at line 32 of file AColumn.hxx.
Referenced by fillPropertyValues(), and setFastPropertyValue_NoBroadcast().
|
private |
Definition at line 33 of file AColumn.hxx.
Referenced by construct(), and fillPropertyValues().