LibreOffice Module sw (master) 1
|
#include <pagedesc.hxx>
Public Types | |
typedef ByPos::const_iterator | const_iterator |
typedef SwPageDescsBase::size_type | size_type |
typedef SwPageDescsBase::value_type | value_type |
Public Member Functions | |
SwPageDescs () | |
~SwPageDescs () | |
void | clear () |
bool | empty () const |
size_t | size () const |
std::pair< const_iterator, bool > | push_back (const value_type &x) |
void | erase (const value_type &x) |
void | erase (size_type index) |
void | erase (const_iterator const &position) |
const_iterator | find (const OUString &name) const |
const value_type & | operator[] (size_t index_) const |
const value_type & | front () const |
const value_type & | back () const |
const_iterator | begin () const |
const_iterator | end () const |
bool | contains (const value_type &x) const |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Types | |
typedef SwPageDescsBase::nth_index< 0 >::type | ByPos |
typedef SwPageDescsBase::nth_index< 1 >::type | ByName |
typedef ByPos::iterator | iterator |
Private Member Functions | |
iterator | find_ (const OUString &name) const |
Private Attributes | |
SwPageDescsBase | m_Array |
ByPos & | m_PosIndex |
ByName & | m_NameIndex |
Friends | |
bool | SwPageDesc::SetName (const OUString &rNewName) |
Definition at line 415 of file pagedesc.hxx.
|
private |
Definition at line 421 of file pagedesc.hxx.
|
private |
Definition at line 420 of file pagedesc.hxx.
typedef ByPos::const_iterator SwPageDescs::const_iterator |
Definition at line 431 of file pagedesc.hxx.
|
private |
Definition at line 422 of file pagedesc.hxx.
typedef SwPageDescsBase::size_type SwPageDescs::size_type |
Definition at line 432 of file pagedesc.hxx.
typedef SwPageDescsBase::value_type SwPageDescs::value_type |
Definition at line 433 of file pagedesc.hxx.
SwPageDescs::SwPageDescs | ( | ) |
Definition at line 735 of file pagedesc.cxx.
SwPageDescs::~SwPageDescs | ( | ) |
Definition at line 741 of file pagedesc.cxx.
|
inline |
Definition at line 454 of file pagedesc.hxx.
References m_PosIndex.
|
inline |
Definition at line 455 of file pagedesc.hxx.
References m_PosIndex.
Referenced by SwDoc::DelPageDesc(), erase(), lcl_FindPageDesc(), and ~SwPageDescs().
|
inline |
Definition at line 440 of file pagedesc.hxx.
References m_Array.
Referenced by SwDoc::ClearDoc(), and SwDoc::~SwDoc().
|
inline |
void SwPageDescs::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 791 of file pagedesc.cxx.
References m_PosIndex.
Referenced by SwDoc::dumpAsXml().
|
inline |
|
inline |
Definition at line 456 of file pagedesc.hxx.
References m_PosIndex.
Referenced by erase(), lcl_FindPageDesc(), SwPageDesc::SetName(), and ~SwPageDescs().
void SwPageDescs::erase | ( | const value_type & | x | ) |
Definition at line 764 of file pagedesc.cxx.
References end(), find_(), m_PosIndex, SAL_WARN, and x.
Referenced by SwDoc::ClearDoc(), SwDoc::DelPageDesc(), and erase().
void SwPageDescs::erase | ( | const_iterator const & | position | ) |
Definition at line 777 of file pagedesc.cxx.
References m_PosIndex, and position().
void SwPageDescs::erase | ( | size_type | index | ) |
Definition at line 786 of file pagedesc.cxx.
|
inline |
Definition at line 449 of file pagedesc.hxx.
Referenced by lcl_FindPageDesc().
|
private |
Definition at line 747 of file pagedesc.cxx.
References m_Array, m_NameIndex, and name.
Referenced by erase(), find(), and SwPageDesc::SetName().
|
inline |
Definition at line 453 of file pagedesc.hxx.
References m_PosIndex.
|
inline |
Definition at line 451 of file pagedesc.hxx.
References index_, and m_PosIndex.
std::pair< SwPageDescs::const_iterator, bool > SwPageDescs::push_back | ( | const value_type & | x | ) |
Definition at line 753 of file pagedesc.cxx.
References m_PosIndex, and x.
Referenced by SwDoc::ClearDoc(), and SwDoc::MakePageDesc().
|
inline |
Definition at line 442 of file pagedesc.hxx.
References m_Array.
Referenced by SwDoc::ChgPageDesc(), SwDoc::ClearDoc(), SwDoc::DelPageDesc(), SwDoc::GetPageDescCnt(), and SwDoc::ReplaceStyles().
|
friend |
|
private |
|
private |
Definition at line 428 of file pagedesc.hxx.
Referenced by find_().
|
private |
Definition at line 427 of file pagedesc.hxx.
Referenced by back(), begin(), dumpAsXml(), end(), erase(), front(), operator[](), push_back(), and SwPageDesc::SetName().