LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
framework::ConstItemContainer Class Referencefinal

#include <constitemcontainer.hxx>

Inheritance diagram for framework::ConstItemContainer:
[legend]
Collaboration diagram for framework::ConstItemContainer:
[legend]

Public Member Functions

 ConstItemContainer ()
 
 ConstItemContainer (const ItemContainer &rtemContainer)
 
 ConstItemContainer (const css::uno::Reference< css::container::XIndexAccess > &rSourceContainer, bool bFastCopy=false)
 
virtual ~ConstItemContainer () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override
 

Private Member Functions

::cppu::IPropertyArrayHelpergetInfoHelper ()
 
css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor ()
 
void copyItemContainer (const std::vector< css::uno::Sequence< css::beans::PropertyValue > > &rSourceVector)
 
css::uno::Reference< css::container::XIndexAccess > deepCopyContainer (const css::uno::Reference< css::container::XIndexAccess > &rSubContainer)
 

Private Attributes

std::vector< css::uno::Sequence< css::beans::PropertyValue > > m_aItemVector
 
OUString m_aUIName
 

Friends

class RootItemContainer
 
class ItemContainer
 

Detailed Description

Definition at line 38 of file constitemcontainer.hxx.

Constructor & Destructor Documentation

◆ ConstItemContainer() [1/3]

framework::ConstItemContainer::ConstItemContainer ( )

Definition at line 42 of file constitemcontainer.cxx.

Referenced by deepCopyContainer().

◆ ConstItemContainer() [2/3]

framework::ConstItemContainer::ConstItemContainer ( const ItemContainer rtemContainer)

◆ ConstItemContainer() [3/3]

framework::ConstItemContainer::ConstItemContainer ( const css::uno::Reference< css::container::XIndexAccess > &  rSourceContainer,
bool  bFastCopy = false 
)

◆ ~ConstItemContainer()

framework::ConstItemContainer::~ConstItemContainer ( )
overridevirtual

Definition at line 115 of file constitemcontainer.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

void SAL_CALL framework::ConstItemContainer::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 215 of file constitemcontainer.cxx.

◆ addVetoableChangeListener()

void SAL_CALL framework::ConstItemContainer::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 224 of file constitemcontainer.cxx.

◆ copyItemContainer()

void framework::ConstItemContainer::copyItemContainer ( const std::vector< css::uno::Sequence< css::beans::PropertyValue > > &  rSourceVector)
private

Definition at line 120 of file constitemcontainer.cxx.

References deepCopyContainer(), i, m_aItemVector, Name, and nCount.

Referenced by ConstItemContainer().

◆ deepCopyContainer()

Reference< XIndexAccess > framework::ConstItemContainer::deepCopyContainer ( const css::uno::Reference< css::container::XIndexAccess > &  rSubContainer)
private

Definition at line 145 of file constitemcontainer.cxx.

References ConstItemContainer().

Referenced by copyItemContainer().

◆ getByIndex()

Any SAL_CALL framework::ConstItemContainer::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 174 of file constitemcontainer.cxx.

References Any, and m_aItemVector.

◆ getCount()

sal_Int32 SAL_CALL framework::ConstItemContainer::getCount ( )
overridevirtual

Definition at line 169 of file constitemcontainer.cxx.

References m_aItemVector.

◆ getElementType()

virtual css::uno::Type SAL_CALL framework::ConstItemContainer::getElementType ( )
inlineoverridevirtual

Definition at line 58 of file constitemcontainer.hxx.

◆ getFastPropertyValue()

Any SAL_CALL framework::ConstItemContainer::getFastPropertyValue ( sal_Int32  nHandle)
overridevirtual

Definition at line 239 of file constitemcontainer.cxx.

References Any, m_aUIName, nHandle, and PROPHANDLE_UINAME.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & framework::ConstItemContainer::getInfoHelper ( )
private

Definition at line 247 of file constitemcontainer.cxx.

References impl_getStaticPropertyDescriptor().

Referenced by getPropertySetInfo().

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL framework::ConstItemContainer::getPropertySetInfo ( )
overridevirtual

Definition at line 193 of file constitemcontainer.cxx.

References getInfoHelper().

◆ getPropertyValue()

Any SAL_CALL framework::ConstItemContainer::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 207 of file constitemcontainer.cxx.

References Any, m_aUIName, and PROPNAME_UINAME.

◆ hasElements()

sal_Bool SAL_CALL framework::ConstItemContainer::hasElements ( )
overridevirtual

Definition at line 163 of file constitemcontainer.cxx.

References m_aItemVector.

◆ impl_getStaticPropertyDescriptor()

css::uno::Sequence< css::beans::Property > framework::ConstItemContainer::impl_getStaticPropertyDescriptor ( )
private

Definition at line 257 of file constitemcontainer.cxx.

References PROPHANDLE_UINAME, and PROPNAME_UINAME.

Referenced by getInfoHelper().

◆ removePropertyChangeListener()

void SAL_CALL framework::ConstItemContainer::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 219 of file constitemcontainer.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL framework::ConstItemContainer::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 229 of file constitemcontainer.cxx.

◆ setFastPropertyValue()

void SAL_CALL framework::ConstItemContainer::setFastPropertyValue ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 235 of file constitemcontainer.cxx.

◆ setPropertyValue()

void SAL_CALL framework::ConstItemContainer::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 203 of file constitemcontainer.cxx.

Friends And Related Function Documentation

◆ ItemContainer

friend class ItemContainer
friend

Definition at line 44 of file constitemcontainer.hxx.

◆ RootItemContainer

friend class RootItemContainer
friend

Definition at line 43 of file constitemcontainer.hxx.

Member Data Documentation

◆ m_aItemVector

std::vector< css::uno::Sequence< css::beans::PropertyValue > > framework::ConstItemContainer::m_aItemVector
private

◆ m_aUIName

OUString framework::ConstItemContainer::m_aUIName
private

Definition at line 86 of file constitemcontainer.hxx.

Referenced by getFastPropertyValue(), and getPropertyValue().


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