The RefList
Class Reference
List of cross-referenced items. More...
Declaration
Included Headers
Public Constructors Index
RefList (const QCString &listName, const QCString &pageTitle, const QCString &secTitle) | |
Public Member Functions Index
bool | isEnabled () const |
RefItem * | add () |
RefItem * | find (int itemId) |
QCString | listName () const |
QCString | fileName () const |
QCString | pageTitle () const |
QCString | sectionTitle () const |
void | generatePage () |
Private Member Attributes Index
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 |
Description
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.
Definition at line 79 of file reflist.h.
Public Constructors
RefList()
Create a list of items that are cross referenced with documentation blocks
- Parameters
-
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.
Declaration at line 87 of file reflist.h, definition at line 24 of file reflist.cpp.
References convertNameToFile, FALSE, listName, m_fileName, m_listName, m_pageTitle, m_secTitle, pageTitle and TRUE.
Public Member Functions
add()
|
Adds a new item to the list.
- Returns
A unique id for this item.
Declaration at line 93 of file reflist.h, definition at line 30 of file reflist.cpp.
References m_entries, m_id and m_lookup.
Referenced by addXRefItem.
fileName()
| inline |
Definition at line 102 of file reflist.h.
Reference m_fileName.
Referenced by DocXRefItem::parse.
find()
|
Returns an item given it's id that is obtained with addRefItem()
- Parameters
-
itemId item's identifier.
- Returns
A pointer to the todo item's structure.
Declaration at line 99 of file reflist.h, definition at line 40 of file reflist.cpp.
Reference m_lookup.
Referenced by DocXRefItem::parse.
generatePage()
|
Declaration at line 106 of file reflist.h, definition at line 55 of file reflist.cpp.
References addRelatedPage, isEnabled, m_entries, m_fileName, m_listName, m_pageTitle, substitute and TRUE.
isEnabled()
|
Declaration at line 88 of file reflist.h, definition at line 46 of file reflist.cpp.
References Config_getBool and m_listName.
Referenced by generatePage and DocXRefItem::parse.
listName()
| inline |
Definition at line 101 of file reflist.h.
Reference m_listName.
Referenced by DefinitionImpl::_getXRefListId, addXRefItem and RefList.
pageTitle()
| inline |
Definition at line 103 of file reflist.h.
Reference m_pageTitle.
Referenced by RefList.
sectionTitle()
| inline |
Definition at line 104 of file reflist.h.
Reference m_secTitle.
Referenced by DocXRefItem::parse.
Private Member Attributes
m_entries
|
Definition at line 114 of file reflist.h.
Referenced by add and generatePage.
m_fileName
|
Definition at line 111 of file reflist.h.
Referenced by fileName, generatePage and RefList.
m_id
|
m_listName
|
Definition at line 110 of file reflist.h.
Referenced by generatePage, isEnabled, listName and RefList.
m_lookup
|
m_pageTitle
|
Definition at line 112 of file reflist.h.
Referenced by generatePage, pageTitle and RefList.
m_secTitle
|
Definition at line 113 of file reflist.h.
Referenced by RefList and sectionTitle.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.