LibreOffice Module xmloff (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvUnoAttributeContainer Class Referencefinal

#include <unoatrcn.hxx>

Inheritance diagram for SvUnoAttributeContainer:
[legend]
Collaboration diagram for SvUnoAttributeContainer:
[legend]

Public Member Functions

 SvUnoAttributeContainer (std::unique_ptr< SvXMLAttrContainerData > pContainer=nullptr)
 
SvXMLAttrContainerDataGetContainerImpl () const
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL insertByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
- Public Member Functions inherited from cppu::WeakAggImplHelper3< css::lang::XServiceInfo, css::lang::XUnoTunnel, css::container::XNameContainer >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE
 
virtual void SAL_CALL release () 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 cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Static Public Member Functions

static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId () throw ()
 

Private Member Functions

SAL_DLLPRIVATE sal_uInt16 getIndexByName (const OUString &aName) const
 

Private Attributes

std::unique_ptr< SvXMLAttrContainerDatampContainer
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 39 of file unoatrcn.hxx.

Constructor & Destructor Documentation

SvUnoAttributeContainer::SvUnoAttributeContainer ( std::unique_ptr< SvXMLAttrContainerData pContainer = nullptr)

Definition at line 41 of file unoatrcn.cxx.

References mpContainer.

Member Function Documentation

uno::Any SAL_CALL SvUnoAttributeContainer::getByName ( const OUString &  aName)
overridevirtual

Definition at line 109 of file unoatrcn.cxx.

References aData, getIndexByName(), mpContainer, and USHRT_MAX.

SvXMLAttrContainerData* SvUnoAttributeContainer::GetContainerImpl ( ) const
inline

Definition at line 53 of file unoatrcn.hxx.

uno::Sequence< OUString > SAL_CALL SvUnoAttributeContainer::getElementNames ( )
overridevirtual

Definition at line 124 of file unoatrcn.cxx.

References mpContainer.

uno::Type SAL_CALL SvUnoAttributeContainer::getElementType ( )
overridevirtual

Definition at line 49 of file unoatrcn.cxx.

References cppu::UnoType< class >::get().

OUString SAL_CALL SvUnoAttributeContainer::getImplementationName ( )
overridevirtual

Definition at line 235 of file unoatrcn.cxx.

sal_uInt16 SvUnoAttributeContainer::getIndexByName ( const OUString &  aName) const
private

Definition at line 59 of file unoatrcn.cxx.

References mpContainer, nPos, and USHRT_MAX.

Referenced by getByName(), hasByName(), insertByName(), removeByName(), and replaceByName().

sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)
overridevirtual

Definition at line 99 of file unoatrcn.cxx.

uno::Sequence< OUString > SvUnoAttributeContainer::getSupportedServiceNames ( )
overridevirtual

Definition at line 240 of file unoatrcn.cxx.

const css::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId ( )
throw (
)
static

Definition at line 94 of file unoatrcn.cxx.

sal_Bool SAL_CALL SvUnoAttributeContainer::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 143 of file unoatrcn.cxx.

References getIndexByName(), and USHRT_MAX.

sal_Bool SAL_CALL SvUnoAttributeContainer::hasElements ( )
overridevirtual

Definition at line 54 of file unoatrcn.cxx.

References mpContainer.

void SAL_CALL SvUnoAttributeContainer::insertByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Definition at line 188 of file unoatrcn.cxx.

References getIndexByName(), mpContainer, nPos, pData, and USHRT_MAX.

void SAL_CALL SvUnoAttributeContainer::removeByName ( const OUString &  Name)
overridevirtual

Definition at line 225 of file unoatrcn.cxx.

References getIndexByName(), mpContainer, and USHRT_MAX.

void SAL_CALL SvUnoAttributeContainer::replaceByName ( const OUString &  aName,
const css::uno::Any &  aElement 
)
overridevirtual

Definition at line 149 of file unoatrcn.cxx.

References getIndexByName(), mpContainer, nPos, pData, and USHRT_MAX.

sal_Bool SvUnoAttributeContainer::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 245 of file unoatrcn.cxx.

References cppu::supportsService().

Member Data Documentation

std::unique_ptr<SvXMLAttrContainerData> SvUnoAttributeContainer::mpContainer
private

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