LibreOffice Module slideshow (master) 1
Public Member Functions | Private Attributes | List of all members
slideshow::internal::UnoViewContainer Class Reference

Contains UnoViews. More...

#include <unoviewcontainer.hxx>

Public Member Functions

 UnoViewContainer ()
 
 UnoViewContainer (const UnoViewContainer &)=delete
 
UnoViewContaineroperator= (const UnoViewContainer &)=delete
 
bool addView (const UnoViewSharedPtr &rView)
 Add a view to this container. More...
 
UnoViewSharedPtr removeView (const css::uno::Reference< css::presentation::XSlideShowView > &xView)
 Remove a previously added a view from this container. More...
 
void dispose ()
 Dispose all stored views. Implies clear(). More...
 
bool empty () const
 
UnoViewVector::iterator begin ()
 
UnoViewVector::const_iterator begin () const
 
UnoViewVector::iterator end ()
 
UnoViewVector::const_iterator end () const
 

Private Attributes

UnoViewVector maViews
 All added views. More...
 

Detailed Description

Contains UnoViews.

Definition at line 36 of file unoviewcontainer.hxx.

Constructor & Destructor Documentation

◆ UnoViewContainer() [1/2]

slideshow::internal::UnoViewContainer::UnoViewContainer ( )

Definition at line 33 of file unoviewcontainer.cxx.

◆ UnoViewContainer() [2/2]

slideshow::internal::UnoViewContainer::UnoViewContainer ( const UnoViewContainer )
delete

Member Function Documentation

◆ addView()

bool slideshow::internal::UnoViewContainer::addView ( const UnoViewSharedPtr rView)

Add a view to this container.

Returns
true, if the view was successfully added (false is e.g. returned, if the view was already added)

Definition at line 38 of file unoviewcontainer.cxx.

References maViews.

◆ begin() [1/2]

UnoViewVector::iterator slideshow::internal::UnoViewContainer::begin ( )
inline

◆ begin() [2/2]

UnoViewVector::const_iterator slideshow::internal::UnoViewContainer::begin ( ) const
inline

Definition at line 68 of file unoviewcontainer.hxx.

References maViews.

◆ dispose()

void slideshow::internal::UnoViewContainer::dispose ( void  )

Dispose all stored views. Implies clear().

Definition at line 91 of file unoviewcontainer.cxx.

References maViews.

◆ empty()

bool slideshow::internal::UnoViewContainer::empty ( ) const
inline

Definition at line 65 of file unoviewcontainer.hxx.

References maViews.

Referenced by slideshow::internal::LayerManager::notifyShapeUpdate().

◆ end() [1/2]

UnoViewVector::iterator slideshow::internal::UnoViewContainer::end ( )
inline

◆ end() [2/2]

UnoViewVector::const_iterator slideshow::internal::UnoViewContainer::end ( ) const
inline

Definition at line 70 of file unoviewcontainer.hxx.

References maViews.

◆ operator=()

UnoViewContainer & slideshow::internal::UnoViewContainer::operator= ( const UnoViewContainer )
delete

◆ removeView()

UnoViewSharedPtr slideshow::internal::UnoViewContainer::removeView ( const css::uno::Reference< css::presentation::XSlideShowView > &  xView)

Remove a previously added a view from this container.

Returns
the View object, if this view was successfully removed, and an empty shared_ptr otherwise (e.g. if this view wasn't added in the first place)

Definition at line 59 of file unoviewcontainer.cxx.

References maViews.

Member Data Documentation

◆ maViews

UnoViewVector slideshow::internal::UnoViewContainer::maViews
private

All added views.

Definition at line 74 of file unoviewcontainer.hxx.

Referenced by addView(), begin(), dispose(), empty(), end(), and removeView().


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