LibreOffice Module sw (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
IDocumentMarkAccess::iterator Class Reference

wrapper iterator: wraps iterator of implementation while hiding MarkBase class; only IMark instances can be retrieved directly. More...

#include <IDocumentMarkAccess.hxx>

Public Types

typedef std::ptrdiff_t difference_type
 
typedef ::sw::mark::IMarkvalue_type
 
typedef ::sw::mark::IMark *const * pointer
 
typedef ::sw::mark::IMark *const & reference
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

std::vector<::sw::mark::MarkBase * >::const_iterator const & get () const
 
 iterator ()
 
 iterator (std::vector<::sw::mark::MarkBase * >::const_iterator const &rIter)
 
 iterator (iterator const &rOther)
 
iteratoroperator= (iterator const &rOther)
 
 iterator (iterator &&rOther)
 
iteratoroperator= (iterator &&rOther)
 
 ~iterator ()
 
::sw::mark::IMarkoperator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (iterator const &rOther) const
 
bool operator!= (iterator const &rOther) const
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iteratoroperator+= (difference_type)
 
iterator operator+ (difference_type) const
 
iteratoroperator-= (difference_type)
 
iterator operator- (difference_type) const
 
difference_type operator- (iterator const &) const
 
value_type operator[] (difference_type) const
 
bool operator< (iterator const &rOther) const
 
bool operator> (iterator const &rOther) const
 
bool operator<= (iterator const &rOther) const
 
bool operator>= (iterator const &rOther) const
 

Private Attributes

std::unique_ptr< std::vector<::sw::mark::MarkBase * >::const_iterator > m_pIter
 

Detailed Description

wrapper iterator: wraps iterator of implementation while hiding MarkBase class; only IMark instances can be retrieved directly.

Definition at line 60 of file IDocumentMarkAccess.hxx.

Member Typedef Documentation

Definition at line 69 of file IDocumentMarkAccess.hxx.

typedef std::random_access_iterator_tag IDocumentMarkAccess::iterator::iterator_category

Definition at line 73 of file IDocumentMarkAccess.hxx.

Definition at line 71 of file IDocumentMarkAccess.hxx.

Definition at line 72 of file IDocumentMarkAccess.hxx.

Definition at line 70 of file IDocumentMarkAccess.hxx.

Constructor & Destructor Documentation

IDocumentMarkAccess::iterator::iterator ( )

Definition at line 127 of file docbm.cxx.

IDocumentMarkAccess::iterator::iterator ( std::vector<::sw::mark::MarkBase * >::const_iterator const &  rIter)

Definition at line 67 of file docbm.cxx.

IDocumentMarkAccess::iterator::iterator ( iterator const &  rOther)

Definition at line 72 of file docbm.cxx.

IDocumentMarkAccess::iterator::iterator ( iterator &&  rOther)

Definition at line 83 of file docbm.cxx.

IDocumentMarkAccess::iterator::~iterator ( )

Definition at line 94 of file docbm.cxx.

Member Function Documentation

std::vector<::sw::mark::MarkBase * >::const_iterator const & IDocumentMarkAccess::iterator::get ( ) const

Definition at line 62 of file docbm.cxx.

References m_pIter.

Referenced by sw::mark::MarkManager::deleteMark().

bool IDocumentMarkAccess::iterator::operator!= ( iterator const &  rOther) const

Definition at line 122 of file docbm.cxx.

References m_pIter.

sw::mark::IMark * IDocumentMarkAccess::iterator::operator* ( void  ) const

Definition at line 100 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator+ ( difference_type  n) const

Definition at line 151 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator++ ( void  )

Definition at line 105 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator++ ( int  )

Definition at line 110 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator+= ( difference_type  n)

Definition at line 145 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator- ( difference_type  n) const

Definition at line 162 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator- ( iterator const &  rOther) const

Definition at line 167 of file docbm.cxx.

References m_pIter.

auto IDocumentMarkAccess::iterator::operator-- ( )

Definition at line 132 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator-- ( int  )

Definition at line 138 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator-= ( difference_type  n)

Definition at line 156 of file docbm.cxx.

bool IDocumentMarkAccess::iterator::operator< ( iterator const &  rOther) const

Definition at line 177 of file docbm.cxx.

References m_pIter.

bool IDocumentMarkAccess::iterator::operator<= ( iterator const &  rOther) const

Definition at line 185 of file docbm.cxx.

References m_pIter.

auto IDocumentMarkAccess::iterator::operator= ( iterator const &  rOther)

Definition at line 77 of file docbm.cxx.

auto IDocumentMarkAccess::iterator::operator= ( iterator &&  rOther)

Definition at line 88 of file docbm.cxx.

bool IDocumentMarkAccess::iterator::operator== ( iterator const &  rOther) const

Definition at line 117 of file docbm.cxx.

References m_pIter.

bool IDocumentMarkAccess::iterator::operator> ( iterator const &  rOther) const

Definition at line 181 of file docbm.cxx.

References m_pIter.

bool IDocumentMarkAccess::iterator::operator>= ( iterator const &  rOther) const

Definition at line 189 of file docbm.cxx.

References m_pIter.

auto IDocumentMarkAccess::iterator::operator[] ( difference_type  n) const

Definition at line 172 of file docbm.cxx.

Member Data Documentation

std::unique_ptr<std::vector<::sw::mark::MarkBase*>::const_iterator> IDocumentMarkAccess::iterator::m_pIter
private

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