LibreOffice Module forms (master) 1
Public Member Functions | List of all members
xforms::InstanceCollection Class Reference

#include <model_helper.hxx>

Inheritance diagram for xforms::InstanceCollection:
[legend]
Collaboration diagram for xforms::InstanceCollection:
[legend]

Public Member Functions

virtual bool isValid (const T &t) const override
 called before insertion to determine whether item is valid More...
 
- Public Member Functions inherited from Collection< css::uno::Sequence< css::beans::PropertyValue > >
 Collection ()
 
const TgetItem (sal_Int32 n) const
 
void setItem (sal_Int32 n, const T &t)
 
bool hasItem (const T &t) const
 
sal_Int32 addItem (const T &t)
 
void removeItem (const T &t)
 
bool hasItems () const
 
sal_Int32 countItems () const
 
bool isValidIndex (sal_Int32 n) const
 
virtual bool isValid (const T &) const
 called before insertion to determine whether item is valid More...
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
 
virtual void SAL_CALL replaceByIndex (sal_Int32 nIndex, const css::uno::Any &aElement) override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual sal_Bool SAL_CALL has (const css::uno::Any &aElement) override
 
virtual void SAL_CALL insert (const css::uno::Any &aElement) override
 
virtual void SAL_CALL remove (const css::uno::Any &aElement) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 

Additional Inherited Members

- Public Types inherited from Collection< css::uno::Sequence< css::beans::PropertyValue > >
typedef css::uno::Sequence< css::beans::PropertyValue > T
 
typedef std::vector< css::uno::Reference< css::container::XContainerListener > > Listeners_t
 
- Protected Member Functions inherited from Collection< css::uno::Sequence< css::beans::PropertyValue > >
virtual void _insert (const T &)
 called after item has been inserted into the collection More...
 
virtual void _remove (const T &)
 called before item is removed from the collection More...
 
void _elementInserted (sal_Int32 nPos)
 
void _elementRemoved (const T &aOld)
 
void _elementReplaced (const sal_Int32 nPos, const T &aNew)
 
- Protected Attributes inherited from Collection< css::uno::Sequence< css::beans::PropertyValue > >
std::vector< TmaItems
 
Listeners_t maListeners
 

Detailed Description

Definition at line 106 of file model_helper.hxx.

Member Function Documentation

◆ isValid()

virtual bool xforms::InstanceCollection::isValid ( const T ) const
inlineoverridevirtual

called before insertion to determine whether item is valid

Reimplemented from Collection< css::uno::Sequence< css::beans::PropertyValue > >.

Definition at line 109 of file model_helper.hxx.

References t.


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