24#include <com/sun/star/container/XChild.hpp>
25#include <com/sun/star/container/XNameAccess.hpp>
26#include <com/sun/star/container/XNamed.hpp>
27#include <com/sun/star/lang/XServiceInfo.hpp>
42 typedef ::cppu::WeakComponentImplHelper< css::lang::XServiceInfo,
43 css::container::XNamed
59 OColumn(
const bool _bNameIsReadOnly );
65 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
override;
69 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
70 virtual void SAL_CALL
acquire() noexcept override;
71 virtual
void SAL_CALL release() noexcept override;
74 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
77 virtual
void SAL_CALL disposing() override;
80 virtual OUString SAL_CALL getImplementationName( ) override;
81 virtual
sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
82 virtual css::
uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override;
85 virtual OUString SAL_CALL getName( ) override;
86 virtual
void SAL_CALL setName( const OUString& _rName ) override;
90 virtual
void registerProperty( const OUString& _rName, sal_Int32 _nHandle, sal_Int32 _nAttributes,
void* _pPointerToMember, const css::
uno::
Type& _rMemberType ) override;
91 virtual
void registerMayBeVoidProperty( const OUString& _rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::
uno::Any* _pPointerToMember, const css::
uno::
Type& _rExpectedType ) override;
112 virtual void columnAppended(
const css::uno::Reference< css::beans::XPropertySet >& _rxSourceDescriptor ) = 0;
122 class OContainerMediator;
123 typedef ::cppu::ImplHelper1< css::container::XChild >
TXChild;
133 css::uno::WeakReference< css::uno::XInterface >
m_xParent;
142 virtual void impl_refresh()
override;
144 virtual css::uno::Reference< css::beans::XPropertySet > createDescriptor()
override;
146 virtual void dropObject(sal_Int32 _nPos,
const OUString& _sElementName)
override;
169 ::osl::Mutex& _rMutex,
170 bool _bCaseSensitive,
171 const std::vector< OUString>& _rVector,
174 bool _bAddColumn =
false,
175 bool _bDropColumn =
false,
176 bool _bUseHardRef =
true);
180 ::osl::Mutex& _rMutex,
181 css::uno::Reference< css::container::XNameAccess > _xDrvColumns,
182 bool _bCaseSensitive,
183 const std::vector< OUString> &_rVector,
186 bool _bAddColumn =
false,
187 bool _bDropColumn =
false,
188 bool _bUseHardRef =
true);
192 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
196 virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( )
override;
204 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent( )
override;
205 virtual void SAL_CALL setParent(
const css::uno::Reference< css::uno::XInterface >& Parent )
override;
207 void append(
const OUString& rName,
OColumn*);
210 virtual void disposing()
override;
virtual sdbcx::ObjectType createObject(const OUString &_rName) override
void setParent(OTableHelper *_pTable)
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL release() noexcept override
virtual void columnAppended(const css::uno::Reference< css::beans::XPropertySet > &_rxSourceDescriptor)=0
notifies that a column, created from a column descriptor, has been appended
virtual css::uno::Reference< css::beans::XPropertySet > createColumnDescriptor()=0
creates a column descriptor object.
virtual rtl::Reference< OColumn > createColumn(const OUString &_rName) const =0
creates an OColumn object which should represent the column with a given name
virtual void columnDropped(const OUString &_sName)=0
notifies that a column with a given name has been dropped
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override=0
virtual ~OColumn() override
OContainerMediator * m_pMediator
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL release() noexcept override
IColumnFactory * m_pColFactoryImpl
virtual connectivity::sdbcx::ObjectType appendObject(const OUString &_rForName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
::connectivity::sdbcx::IRefreshableColumns * m_pRefreshColumns
bool isInitialized() const
flag which determines whether the container is filled or not
void setMediator(OContainerMediator *_pMediator)
connectivity::sdbcx::ObjectType createBaseObject(const OUString &_rName)
css::uno::WeakReference< css::uno::XInterface > m_xParent
css::uno::Reference< css::container::XNameAccess > m_xDrvColumns
css::uno::Sequence< OUString > getSupportedServiceNames()
OUString getImplementationName()
css::uno::Reference< css::beans::XPropertySet > ObjectType
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
::cppu::WeakComponentImplHelper< css::lang::XServiceInfo, css::container::XNamed > OColumnBase
connectivity::OColumnsHelper OColumns_BASE
::cppu::ImplHelper1< css::container::XChild > TXChild