Doxygen
|
List of cross-referenced items. More...
#include <src/reflist.h>
Public Member Functions | |
RefList (const QCString &listName, const QCString &pageTitle, const QCString &secTitle) | |
bool | isEnabled () const |
RefItem * | add () |
RefItem * | find (int itemId) |
QCString | listName () const |
QCString | fileName () const |
QCString | pageTitle () const |
QCString | sectionTitle () const |
void | generatePage () |
Private Attributes | |
int | m_id = 0 |
QCString | m_listName |
QCString | m_fileName |
QCString | m_pageTitle |
QCString | m_secTitle |
std::vector< std::unique_ptr< RefItem > > | m_entries |
std::unordered_map< int, RefItem * > | m_lookup |
List of cross-referenced items.
This class represents a list of items that are put at a certain point in the documentation by some special command and are collected in a list. The items cross-reference the documentation and the list.
Examples are the todo list, the test list and the bug list, introduced by the \todo, \test, and \bug commands respectively.
RefList::RefList | ( | const QCString & | listName, |
const QCString & | pageTitle, | ||
const QCString & | secTitle ) |
Create a list of items that are cross referenced with documentation blocks
listName | String representing the name of the list. |
pageTitle | String representing the title of the list page. |
secTitle | String representing the title of the section. |
Definition at line 24 of file reflist.cpp.
References convertNameToFile(), FALSE, listName(), m_fileName, m_listName, m_pageTitle, m_secTitle, pageTitle(), and TRUE.
RefItem * RefList::add | ( | ) |
Adds a new item to the list.
Definition at line 30 of file reflist.cpp.
References m_entries, m_id, and m_lookup.
Referenced by addXRefItem().
|
inline |
Definition at line 102 of file reflist.h.
References m_fileName.
Referenced by DocXRefItem::parse().
RefItem * RefList::find | ( | int | itemId | ) |
Returns an item given it's id that is obtained with addRefItem()
itemId | item's identifier. |
Definition at line 40 of file reflist.cpp.
References m_lookup.
Referenced by DocXRefItem::parse().
void RefList::generatePage | ( | ) |
Definition at line 55 of file reflist.cpp.
References addRelatedPage(), isEnabled(), m_entries, m_fileName, m_listName, m_pageTitle, substitute(), and TRUE.
bool RefList::isEnabled | ( | ) | const |
Definition at line 46 of file reflist.cpp.
References Config_getBool, and m_listName.
Referenced by generatePage(), and DocXRefItem::parse().
|
inline |
Definition at line 101 of file reflist.h.
References m_listName.
Referenced by DefinitionImpl::_getXRefListId(), addXRefItem(), and RefList().
|
inline |
|
inline |
Definition at line 104 of file reflist.h.
References m_secTitle.
Referenced by DocXRefItem::parse().
|
private |
Definition at line 114 of file reflist.h.
Referenced by add(), and generatePage().
|
private |
Definition at line 111 of file reflist.h.
Referenced by fileName(), generatePage(), and RefList().
|
private |
Definition at line 110 of file reflist.h.
Referenced by generatePage(), isEnabled(), listName(), and RefList().
|
private |
|
private |
Definition at line 112 of file reflist.h.
Referenced by generatePage(), pageTitle(), and RefList().
|
private |
Definition at line 113 of file reflist.h.
Referenced by RefList(), and sectionTitle().