LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbaccess::OTableColumnDescriptorWrapper Class Reference

provides the properties for description. More...

#include <definitioncolumn.hxx>

Inheritance diagram for dbaccess::OTableColumnDescriptorWrapper:
[legend]
Collaboration diagram for dbaccess::OTableColumnDescriptorWrapper:
[legend]

Public Member Functions

 OTableColumnDescriptorWrapper (const css::uno::Reference< css::beans::XPropertySet > &rCol, const bool _bPureWrap, const bool _bIsDescriptor)
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
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 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
 
- Public Member Functions inherited from connectivity::OColumn
 OColumn ()
 
 OColumn (OUString _aTableName, const OUString &_aColumnName, sal_Int32 _aNullable, sal_Int32 _aColumnDisplaySize, sal_Int32 _aPrecision, sal_Int32 _aScale, sal_Int32 _aColumnType)
 
bool isAutoIncrement () const
 
bool isCaseSensitive () const
 
bool isSearchable () const
 
bool isCurrency () const
 
bool isSigned () const
 
bool isReadOnly () const
 
bool isWritable () const
 
bool isDefinitelyWritable () const
 
sal_Int32 isNullable () const
 
sal_Int32 getColumnDisplaySize () const
 
sal_Int32 getPrecision () const
 
sal_Int32 getScale () const
 
sal_Int32 getColumnType () const
 
const OUString & getColumnLabel () const
 
const OUString & getColumnName () const
 
const OUString & getTableName () const
 
- Public Member Functions inherited from dbaccess::OColumnSettings
 OColumnSettings ()
 
- Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< OTableColumnDescriptorWrapper >
 OIdPropertyArrayUsageHelper ()
 
virtual ~OIdPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper (sal_Int32 nId)
 

Protected Member Functions

virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
- Protected Member Functions inherited from dbaccess::OColumnWrapper
 OColumnWrapper (const css::uno::Reference< css::beans::XPropertySet > &_rCol, const bool _bNameIsReadOnly)
 
virtual ~OColumnWrapper () override
 
OUString impl_getPropertyNameFromHandle (const sal_Int32 _nHandle) const
 
- Protected Member Functions inherited from dbaccess::OColumnSettings
virtual ~OColumnSettings ()
 
void registerProperties (IPropertyContainer &_rPropertyContainer)
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const =0
 

Private Attributes

const bool m_bPureWrap
 
const bool m_bIsDescriptor
 

Additional Inherited Members

- Static Public Member Functions inherited from dbaccess::OColumnSettings
static bool hasDefaultSettings (const css::uno::Reference< css::beans::XPropertySet > &_rxColumn)
 check if the persistent settings have their default value More...
 
- Static Protected Member Functions inherited from dbaccess::OColumnSettings
static bool isColumnSettingProperty (const sal_Int32 _nPropertyHandle)
 determines whether the property with the given handle is handled by the class More...
 
static bool isDefaulted (const sal_Int32 _nPropertyHandle, const css::uno::Any &_rPropertyValue)
 
- Protected Attributes inherited from dbaccess::OColumnWrapper
css::uno::Reference< css::beans::XPropertySetm_xAggregate
 
sal_Int32 m_nColTypeID
 

Detailed Description

provides the properties for description.

A descriptor could be used to create a new table column.

Definition at line 221 of file definitioncolumn.hxx.

Constructor & Destructor Documentation

◆ OTableColumnDescriptorWrapper()

OTableColumnDescriptorWrapper::OTableColumnDescriptorWrapper ( const css::uno::Reference< css::beans::XPropertySet > &  rCol,
const bool  _bPureWrap,
const bool  _bIsDescriptor 
)

Member Function Documentation

◆ convertFastPropertyValue()

sal_Bool OTableColumnDescriptorWrapper::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OTableColumnDescriptorWrapper::createArrayHelper ( sal_Int32  nId) const
overridevirtual

◆ getFastPropertyValue() [1/2]

void OTableColumnDescriptorWrapper::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overridevirtual

◆ getFastPropertyValue() [2/2]

void OColumnWrapper::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprotectedvirtual

Reimplemented from dbaccess::OColumnWrapper.

Definition at line 196 of file definitioncolumn.cxx.

References nHandle, and SAL_WARN.

◆ getImplementationId()

virtual css::uno::Sequence< sal_Int8 > SAL_CALL dbaccess::OTableColumnDescriptorWrapper::getImplementationId ( )
overridevirtual

Reimplemented in dbaccess::OTableColumnWrapper.

◆ getImplementationName()

OUString OTableColumnDescriptorWrapper::getImplementationName ( )
overridevirtual

Reimplemented in dbaccess::OTableColumnWrapper.

Definition at line 430 of file definitioncolumn.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & OTableColumnDescriptorWrapper::getInfoHelper ( )
override

◆ getSupportedServiceNames()

Sequence< OUString > OTableColumnDescriptorWrapper::getSupportedServiceNames ( )
overridevirtual

◆ setFastPropertyValue_NoBroadcast()

void OTableColumnDescriptorWrapper::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

Member Data Documentation

◆ m_bIsDescriptor

const bool dbaccess::OTableColumnDescriptorWrapper::m_bIsDescriptor
private

Definition at line 226 of file definitioncolumn.hxx.

Referenced by createArrayHelper().

◆ m_bPureWrap

const bool dbaccess::OTableColumnDescriptorWrapper::m_bPureWrap
private

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