LibreOffice Module sw (master)  1
Public Member Functions | Protected Member Functions | List of all members
SwFormatsModifyBase< Value > Class Template Reference

#include <docary.hxx>

Inheritance diagram for SwFormatsModifyBase< Value >:
[legend]
Collaboration diagram for SwFormatsModifyBase< Value >:
[legend]

Public Member Functions

virtual size_t GetFormatCount () const override
 
virtual Value GetFormat (size_t idx) const override
 
size_t GetPos (const SwFormat *p) const
 
bool ContainsFormat (SwFormat const *const pFormat) const
 check if given format is contained here pFormat must not have been deleted More...
 
- Public Member Functions inherited from SwVectorModifyBase< Value >
bool empty () const
 
Value const & front () const
 
size_t size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void clear ()
 
iterator erase (iterator aIt)
 
iterator erase (iterator aFirst, iterator aLast)
 
iterator insert (iterator aIt, Value const &rVal)
 
template<typename TInputIterator >
void insert (iterator aIt, TInputIterator aFirst, TInputIterator aLast)
 
void push_back (Value const &rVal)
 
void reserve (size_type nSize)
 
Value const & at (size_type nPos) const
 
Value const & operator[] (size_type nPos) const
 
Valueoperator[] (size_type nPos)
 
virtual ~SwVectorModifyBase ()
 
 SwVectorModifyBase (SwVectorModifyBase const &)=default
 
 SwVectorModifyBase (SwVectorModifyBase &&)=default
 
SwVectorModifyBaseoperator= (SwVectorModifyBase const &)=default
 
SwVectorModifyBaseoperator= (SwVectorModifyBase &&)=default
 
void DeleteAndDestroy (int aStartIdx, int aEndIdx)
 
size_t GetPos (Value const &p) const
 
bool IsAlive (typename std::remove_pointer< Value >::type const *const p) const
 check that given format is still alive (i.e. contained here) More...
 
- Public Member Functions inherited from SwFormatsBase
virtual ~SwFormatsBase ()
 
 SwFormatsBase ()=default
 
 SwFormatsBase (SwFormatsBase const &)=default
 
 SwFormatsBase (SwFormatsBase &&)=default
 
SwFormatsBaseoperator= (SwFormatsBase const &)=default
 
SwFormatsBaseoperator= (SwFormatsBase &&)=default
 

Protected Member Functions

 SwFormatsModifyBase (typename SwVectorModifyBase< Value >::DestructorPolicy policy=SwVectorModifyBase< Value >::DestructorPolicy::FreeElements)
 
- Protected Member Functions inherited from SwVectorModifyBase< Value >
 SwVectorModifyBase (DestructorPolicy policy=DestructorPolicy::FreeElements)
 

Additional Inherited Members

- Public Types inherited from SwVectorModifyBase< Value >
typedef std::vector< Value >::iterator iterator
 
typedef std::vector< Value >::const_iterator const_iterator
 
typedef std::vector< Value >::size_type size_type
 
typedef std::vector< Value >::value_type value_type
 
- Static Public Member Functions inherited from SwVectorModifyBase< Value >
static void dumpAsXml (xmlTextWriterPtr)
 
- Protected Types inherited from SwVectorModifyBase< Value >
enum  DestructorPolicy {
  DestructorPolicy::KeepElements,
  DestructorPolicy::FreeElements
}
 

Detailed Description

template<typename Value>
class SwFormatsModifyBase< Value >

Definition at line 151 of file docary.hxx.

Constructor & Destructor Documentation

Definition at line 154 of file docary.hxx.

Member Function Documentation

template<typename Value>
bool SwFormatsModifyBase< Value >::ContainsFormat ( SwFormat const *const  pFormat) const
inline

check if given format is contained here pFormat must not have been deleted

Definition at line 170 of file docary.hxx.

Referenced by SwUndoFormatAttr::Init().

template<typename Value>
virtual Value SwFormatsModifyBase< Value >::GetFormat ( size_t  idx) const
inlineoverridevirtual

Implements SwFormatsBase.

Definition at line 162 of file docary.hxx.

template<typename Value>
virtual size_t SwFormatsModifyBase< Value >::GetFormatCount ( ) const
inlineoverridevirtual

Implements SwFormatsBase.

Definition at line 159 of file docary.hxx.

template<typename Value>
size_t SwFormatsModifyBase< Value >::GetPos ( const SwFormat p) const
inline

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