Doxygen
|
class that represents a list of constant references to sections. More...
#include <src/section.h>
Public Types | |
using | const_iterator = SectionInfoVec::const_iterator |
Public Member Functions | |
const SectionInfo * | find (const QCString &label) const |
Returns a constant pointer to the section info given a section label or nullptr if no section with the given label can be found. | |
void | add (const SectionInfo *si) |
Adds a non-owning section reference. | |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
size_t | size () const |
Private Types | |
using | SectionInfoVec = std::vector<const SectionInfo*> |
Private Attributes | |
SectionInfoVec | m_entries |
std::unordered_map< std::string, const SectionInfo * > | m_lookup |
class that represents a list of constant references to sections.
using SectionRefs::const_iterator = SectionInfoVec::const_iterator |
|
private |
|
inline |
Adds a non-owning section reference.
Definition at line 116 of file section.h.
References SectionInfo::label(), m_entries, m_lookup, and toStdString().
|
inline |
Definition at line 122 of file section.h.
References m_entries.
Referenced by PageDefImpl::addSectionsToIndex().
|
inline |
Definition at line 124 of file section.h.
References m_entries.
Referenced by PageDefImpl::addSectionsToIndex(), and generateXMLForPage().
|
inline |
Definition at line 123 of file section.h.
References m_entries.
Referenced by PageDefImpl::addSectionsToIndex().
|
inline |
Returns a constant pointer to the section info given a section label or nullptr if no section with the given label can be found.
Definition at line 109 of file section.h.
References m_lookup, and QCString::str().
|
inline |
|
private |
|
private |