LibreOffice Module forms (master) 1
Public Member Functions | Protected Member Functions | List of all members
NamedCollection< T > Class Template Reference

#include <namedcollection.hxx>

Inheritance diagram for NamedCollection< T >:
[legend]
Collaboration diagram for NamedCollection< T >:
[legend]

Public Member Functions

const T & getItem (const OUString &rName) const
 
bool hasItem (const OUString &rName) const
 
css::uno::Sequence< OUString > getNames () const
 
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
 

Protected Member Functions

std::vector< T >::const_iterator findItem (const OUString &rName) const
 

Detailed Description

template<class T>
class NamedCollection< T >

Definition at line 31 of file namedcollection.hxx.

Member Function Documentation

◆ findItem()

template<class T >
std::vector< T >::const_iterator NamedCollection< T >::findItem ( const OUString &  rName) const
inlineprotected

◆ getByName()

template<class T >
virtual css::uno::Any SAL_CALL NamedCollection< T >::getByName ( const OUString &  aName)
inlineoverridevirtual

◆ getElementNames()

template<class T >
virtual css::uno::Sequence< OUString > SAL_CALL NamedCollection< T >::getElementNames ( )
inlineoverridevirtual

Definition at line 99 of file namedcollection.hxx.

References NamedCollection< T >::getNames().

◆ getElementType()

template<class T >
virtual css::uno::Type SAL_CALL NamedCollection< T >::getElementType ( )
inlineoverridevirtual

Definition at line 80 of file namedcollection.hxx.

References Collection< ELEMENT_TYPE >::getElementType().

◆ getItem()

template<class T >
const T & NamedCollection< T >::getItem ( const OUString &  rName) const
inline

◆ getNames()

template<class T >
css::uno::Sequence< OUString > NamedCollection< T >::getNames ( ) const
inline

◆ hasByName()

template<class T >
virtual sal_Bool SAL_CALL NamedCollection< T >::hasByName ( const OUString &  aName)
inlineoverridevirtual

Definition at line 104 of file namedcollection.hxx.

References aName, and NamedCollection< T >::hasItem().

◆ hasElements()

template<class T >
virtual sal_Bool SAL_CALL NamedCollection< T >::hasElements ( )
inlineoverridevirtual

Definition at line 85 of file namedcollection.hxx.

References Collection< ELEMENT_TYPE >::hasElements().

◆ hasItem()

template<class T >
bool NamedCollection< T >::hasItem ( const OUString &  rName) const
inline

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