#include <reflist.h>
Public Member Functions | |
| int | addRefItem () |
| RefItem * | getRefItem (int todoItemId) |
| RefItem * | getFirstRefItem () |
| RefItem * | getNextRefItem () |
| QCString | listName () const |
| QCString | fileName () const |
| QCString | pageTitle () const |
| QCString | sectionTitle () const |
| RefList (const char *listName, const char *pageTitle, const char *secTitle) | |
| ~RefList () | |
| void | insertIntoList (const char *key, RefItem *item) |
| void | generatePage () |
Private Attributes | |
| int | m_id |
| QCString | m_listName |
| QCString | m_fileName |
| QCString | m_pageTitle |
| QCString | m_secTitle |
| SortedRefItems * | m_itemList |
| QIntDict< RefItem > * | m_dict |
| QIntDictIterator< RefItem > * | m_dictIterator |
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 char * | listName, |
| const char * | pageTitle, | ||
| const char * | 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 30 of file reflist.cpp.
| RefList::~RefList | ( | ) |
| int RefList::addRefItem | ( | ) |
Adds a new item to the list.
Definition at line 56 of file reflist.cpp.
| QCString RefList::fileName | ( | ) | const |
Definition at line 103 of file reflist.cpp.
| void RefList::generatePage | ( | ) |
Definition at line 140 of file reflist.cpp.
| RefItem * RefList::getFirstRefItem | ( | ) |
Returns the first item in the dictionary or 0 if non is available. Items are not sorted.
Definition at line 83 of file reflist.cpp.
| RefItem * RefList::getNextRefItem | ( | ) |
Returns the next item in the dictionary or 0 if we are at the end of the list. Items are not sorted.
Definition at line 92 of file reflist.cpp.
| RefItem * RefList::getRefItem | ( | int | itemId | ) |
Returns an item given it's id that is obtained with addRefItem()
| itemId | item's identifier. |
Definition at line 74 of file reflist.cpp.
| void RefList::insertIntoList | ( | const char * | key, |
| RefItem * | item | ||
| ) |
Definition at line 118 of file reflist.cpp.
| QCString RefList::listName | ( | ) | const |
Returns the name of the list as set in the constructor.
Definition at line 98 of file reflist.cpp.
| QCString RefList::pageTitle | ( | ) | const |
Definition at line 108 of file reflist.cpp.
| QCString RefList::sectionTitle | ( | ) | const |
Definition at line 113 of file reflist.cpp.
|
private |
|
private |
1.8.11