LibreOffice Module sw (master)  1
Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Attributes | List of all members
SwVectorModifyBase< Value > Class Template Reference

#include <docary.hxx>

Inheritance diagram for SwVectorModifyBase< Value >:
[legend]

Public Types

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
 

Public Member Functions

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...
 

Static Public Member Functions

static void dumpAsXml (xmlTextWriterPtr)
 

Protected Types

enum  DestructorPolicy {
  DestructorPolicy::KeepElements,
  DestructorPolicy::FreeElements
}
 

Protected Member Functions

 SwVectorModifyBase (DestructorPolicy policy=DestructorPolicy::FreeElements)
 

Private Attributes

std::vector< ValuemvVals
 
const DestructorPolicy mPolicy
 

Detailed Description

template<typename Value>
class SwVectorModifyBase< Value >

Definition at line 65 of file docary.hxx.

Member Typedef Documentation

template<typename Value>
typedef std::vector<Value>::const_iterator SwVectorModifyBase< Value >::const_iterator

Definition at line 69 of file docary.hxx.

template<typename Value>
typedef std::vector<Value>::iterator SwVectorModifyBase< Value >::iterator

Definition at line 68 of file docary.hxx.

template<typename Value>
typedef std::vector<Value>::size_type SwVectorModifyBase< Value >::size_type

Definition at line 70 of file docary.hxx.

template<typename Value>
typedef std::vector<Value>::value_type SwVectorModifyBase< Value >::value_type

Definition at line 71 of file docary.hxx.

Member Enumeration Documentation

template<typename Value>
enum SwVectorModifyBase::DestructorPolicy
strongprotected
Enumerator
KeepElements 
FreeElements 

Definition at line 74 of file docary.hxx.

Constructor & Destructor Documentation

template<typename Value>
SwVectorModifyBase< Value >::SwVectorModifyBase ( DestructorPolicy  policy = DestructorPolicy::FreeElements)
inlineprotected

Definition at line 85 of file docary.hxx.

template<typename Value>
virtual SwVectorModifyBase< Value >::~SwVectorModifyBase ( )
inlinevirtual

Definition at line 112 of file docary.hxx.

template<typename Value>
SwVectorModifyBase< Value >::SwVectorModifyBase ( SwVectorModifyBase< Value > const &  )
default
template<typename Value>
SwVectorModifyBase< Value >::SwVectorModifyBase ( SwVectorModifyBase< Value > &&  )
default

Member Function Documentation

template<typename Value>
Value const& SwVectorModifyBase< Value >::at ( size_type  nPos) const
inline

Definition at line 107 of file docary.hxx.

Referenced by MSWordExportBase::CollectGrfsOfBullets().

template<typename Value>
iterator SwVectorModifyBase< Value >::begin ( )
inline
template<typename Value>
const_iterator SwVectorModifyBase< Value >::begin ( ) const
inline

Definition at line 93 of file docary.hxx.

template<typename Value>
void SwVectorModifyBase< Value >::clear ( )
inline
template<typename Value>
void SwVectorModifyBase< Value >::DeleteAndDestroy ( int  aStartIdx,
int  aEndIdx 
)
inline

Definition at line 127 of file docary.hxx.

template<typename Value>
static void SwVectorModifyBase< Value >::dumpAsXml ( xmlTextWriterPtr  )
inlinestatic

Definition at line 147 of file docary.hxx.

template<typename Value>
bool SwVectorModifyBase< Value >::empty ( ) const
inline
template<typename Value>
iterator SwVectorModifyBase< Value >::end ( )
inline
template<typename Value>
const_iterator SwVectorModifyBase< Value >::end ( ) const
inline

Definition at line 95 of file docary.hxx.

template<typename Value>
iterator SwVectorModifyBase< Value >::erase ( iterator  aIt)
inline

Definition at line 97 of file docary.hxx.

Referenced by SwVectorModifyBase< SwCharFormat * >::DeleteAndDestroy().

template<typename Value>
iterator SwVectorModifyBase< Value >::erase ( iterator  aFirst,
iterator  aLast 
)
inline

Definition at line 98 of file docary.hxx.

template<typename Value>
Value const& SwVectorModifyBase< Value >::front ( ) const
inline

Definition at line 90 of file docary.hxx.

template<typename Value>
size_t SwVectorModifyBase< Value >::GetPos ( Value const &  p) const
inline

Definition at line 137 of file docary.hxx.

Referenced by SwFormatsModifyBase< SwCharFormat * >::GetPos().

template<typename Value>
iterator SwVectorModifyBase< Value >::insert ( iterator  aIt,
Value const &  rVal 
)
inline

Definition at line 99 of file docary.hxx.

Referenced by SaveTable::AddFormat().

template<typename Value>
template<typename TInputIterator >
void SwVectorModifyBase< Value >::insert ( iterator  aIt,
TInputIterator  aFirst,
TInputIterator  aLast 
)
inline

Definition at line 101 of file docary.hxx.

template<typename Value>
bool SwVectorModifyBase< Value >::IsAlive ( typename std::remove_pointer< Value >::type const *const  p) const
inline
template<typename Value>
SwVectorModifyBase& SwVectorModifyBase< Value >::operator= ( SwVectorModifyBase< Value > const &  )
default
template<typename Value>
SwVectorModifyBase& SwVectorModifyBase< Value >::operator= ( SwVectorModifyBase< Value > &&  )
default
template<typename Value>
Value const& SwVectorModifyBase< Value >::operator[] ( size_type  nPos) const
inline

Definition at line 108 of file docary.hxx.

Referenced by SwFormatsModifyBase< SwCharFormat * >::GetFormat().

template<typename Value>
Value& SwVectorModifyBase< Value >::operator[] ( size_type  nPos)
inline

Definition at line 109 of file docary.hxx.

template<typename Value>
void SwVectorModifyBase< Value >::push_back ( Value const &  rVal)
inline
template<typename Value>
void SwVectorModifyBase< Value >::reserve ( size_type  nSize)
inline

Definition at line 106 of file docary.hxx.

Referenced by SwDoc::SetAllUniqueFlyNames().

template<typename Value>
size_t SwVectorModifyBase< Value >::size ( ) const
inline

Definition at line 91 of file docary.hxx.

Referenced by RtfExport::BuildNumbering(), MSWordStyles::BuildStylesTable(), SwDoc::ChangeDBFields(), MSWordExportBase::CollectGrfsOfBullets(), SwXMLExport::exportDoc(), MSWordExportBase::ExportDocument(), FillCharStyleListBox(), SwStyleSheetIterator::First(), SwDoc::GetAllUsedDB(), SwXDocumentIndexes::getByIndex(), SwXTextSections::getByIndex(), SwXDocumentIndexes::getByName(), SwXTextSections::getByName(), SwEditShell::GetCharFormatCount(), SwCSS1Parser::GetCharFormatFromPool(), SwXDocumentIndexes::getCount(), SwXTextSections::getCount(), SwXNumberingRulesCollection::getCount(), SwXTextDocument::getDocumentLanguages(), SwXDocumentIndexes::getElementNames(), SwXTextSections::getElementNames(), SwFormatsModifyBase< SwCharFormat * >::GetFormatCount(), SwEditShell::GetGlobalDocContent(), SwEditShell::GetINetAttrs(), SwXNumberingRules::GetNumberingRuleByIndex(), sw::DocumentStylePoolManager::GetNumRuleFromPool(), sw::util::GetParaStyles(), SwEditShell::GetSectionFormatCount(), sw::DocumentStylePoolManager::GetTextCollFromPool(), SwCSS1Parser::GetTextCollFromPool(), SwEditShell::GetTextFormatCollCount(), SwEditShell::GetTOXCount(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoPrevTOXBase(), SwCursor::GotoRegion(), SwXDocumentIndexes::hasByName(), SwXTextSections::hasByName(), SwXTextSections::hasElements(), SwPaM::HasReadonlySel(), sw::DocumentStylePoolManager::IsPoolTextCollUsed(), SwCursor::IsSelOvr(), lcl_AdjustOutlineStylesForOOo(), lcl_dbg_out(), lcl_DeleteInfoStyles(), lcl_FindCharFormat(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_SaveStyles(), lcl_UpdateSection(), SwDocUpdateField::MakeFieldList_(), MSWordStyles::MSWordStyles(), SwHTMLWriter::OutStyleSheet(), Writer::PutNumFormatFontsInAttrPool(), SwDoc::RemoveInvisibleContent(), SwXNumberingRules::replaceByIndex(), SwDoc::ReplaceStyles(), SwCursorShell::SelectNxtPrvHyperlink(), sw::DocumentSettingManager::set(), SwDoc::SetAllUniqueFlyNames(), SwLangHelper::SetLanguage(), SwXTextSection::setName(), SwUnoCursorHelper::setNumberingProperty(), SwXNumberingRules::SetNumberingRuleByIndex(), SwXNumberingRules::SetPropertiesToNumFormat(), SwXDocumentIndex::setPropertyValue(), SwDoc::SplitDoc(), AttributeOutputBase::StartTOX(), SwDoc::Summary(), sw::DocumentFieldsManager::UpdateExpFieldsImpl(), SwNumFormat::UpdateNumNodes(), SwDoc::UpdateNumRule(), and SwXMLImport::UpdateTextCollConditions().

Member Data Documentation

template<typename Value>
const DestructorPolicy SwVectorModifyBase< Value >::mPolicy
private

Definition at line 81 of file docary.hxx.

template<typename Value>
std::vector<Value> SwVectorModifyBase< Value >::mvVals
private

Definition at line 80 of file docary.hxx.


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