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_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT 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 void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
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::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
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 () noexcept
 

Private Member Functions

SAL_DLLPRIVATE sal_uInt16 getIndexByName (std::u16string_view 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::SvUnoAttributeContainer ( std::unique_ptr< SvXMLAttrContainerData pContainer = nullptr)

Definition at line 41 of file unoatrcn.cxx.

References mpContainer.

Member Function Documentation

◆ getByName()

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

Definition at line 101 of file unoatrcn.cxx.

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

◆ GetContainerImpl()

SvXMLAttrContainerData * SvUnoAttributeContainer::GetContainerImpl ( ) const
inline

Definition at line 53 of file unoatrcn.hxx.

◆ getElementNames()

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

Definition at line 116 of file unoatrcn.cxx.

References mpContainer.

◆ getElementType()

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

Definition at line 49 of file unoatrcn.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

OUString SAL_CALL SvUnoAttributeContainer::getImplementationName ( )
overridevirtual

Definition at line 227 of file unoatrcn.cxx.

◆ getIndexByName()

sal_uInt16 SvUnoAttributeContainer::getIndexByName ( std::u16string_view  aName) const
private

Definition at line 59 of file unoatrcn.cxx.

References aName, mpContainer, and nPos.

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

◆ getSomething()

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

Definition at line 95 of file unoatrcn.cxx.

References comphelper::getSomethingImpl().

◆ getSupportedServiceNames()

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

Definition at line 232 of file unoatrcn.cxx.

◆ getUnoTunnelId()

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

Definition at line 89 of file unoatrcn.cxx.

References comphelper::UnoIdInit::getSeq().

◆ hasByName()

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

Definition at line 135 of file unoatrcn.cxx.

References aName, and getIndexByName().

◆ hasElements()

sal_Bool SAL_CALL SvUnoAttributeContainer::hasElements ( )
overridevirtual

Definition at line 54 of file unoatrcn.cxx.

References mpContainer.

◆ insertByName()

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

Definition at line 180 of file unoatrcn.cxx.

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

◆ removeByName()

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

Definition at line 217 of file unoatrcn.cxx.

References getIndexByName(), mpContainer, and Name.

◆ replaceByName()

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

Definition at line 141 of file unoatrcn.cxx.

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

◆ supportsService()

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

Definition at line 237 of file unoatrcn.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ mpContainer

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

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