|
My Project
|
#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.
References convertNameToFile(), listName(), m_dict, m_dictIterator, m_fileName, m_id, m_itemList, m_listName, m_pageTitle, m_secTitle, and pageTitle().
| RefList::~RefList | ( | ) |
Destroy the todo list. Currently not called!
Definition at line 46 of file reflist.cpp.
References m_dict, m_dictIterator, and m_itemList.
| int RefList::addRefItem | ( | ) |
Adds a new item to the list.
Definition at line 56 of file reflist.cpp.
References m_dict, m_dictIterator, and m_id.
| QCString RefList::fileName | ( | ) | const |
Definition at line 103 of file reflist.cpp.
References m_fileName.
Referenced by DocXRefItem::parse().
| void RefList::generatePage | ( | ) |
Definition at line 140 of file reflist.cpp.
References addRelatedPage(), RefItem::args, doc, RefItem::extraItems, RefItem::listAnchor, m_fileName, m_itemList, m_listName, m_pageTitle, RefItem::name, Definition::name(), RefItem::prefix, RefItem::scope, SDict< T >::sort(), RefItem::text, and RefItem::title.
Referenced by generateXRefPages().
| 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.
References m_dictIterator.
| 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.
References m_dictIterator.
| 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.
References m_dict.
Referenced by addRefItem(), and DocXRefItem::parse().
| void RefList::insertIntoList | ( | const char * | key, |
| RefItem * | item | ||
| ) |
Definition at line 118 of file reflist.cpp.
References SDict< T >::append(), RefItem::extraItems, SDict< T >::find(), and m_itemList.
Referenced by addRefItem().
| QCString RefList::listName | ( | ) | const |
Returns the name of the list as set in the constructor.
Definition at line 98 of file reflist.cpp.
References m_listName.
Referenced by RefList(), resolveUserReferences(), and PageDef::writeTagFile().
| QCString RefList::pageTitle | ( | ) | const |
| QCString RefList::sectionTitle | ( | ) | const |
Definition at line 113 of file reflist.cpp.
References m_secTitle.
Referenced by DocXRefItem::parse().
|
private |
Definition at line 93 of file reflist.h.
Referenced by addRefItem(), getRefItem(), RefList(), and ~RefList().
|
private |
Definition at line 94 of file reflist.h.
Referenced by addRefItem(), getFirstRefItem(), getNextRefItem(), RefList(), and ~RefList().
|
private |
Definition at line 89 of file reflist.h.
Referenced by fileName(), generatePage(), and RefList().
|
private |
Definition at line 87 of file reflist.h.
Referenced by addRefItem(), and RefList().
|
private |
Definition at line 92 of file reflist.h.
Referenced by generatePage(), insertIntoList(), RefList(), and ~RefList().
|
private |
Definition at line 88 of file reflist.h.
Referenced by generatePage(), listName(), and RefList().
|
private |
Definition at line 90 of file reflist.h.
Referenced by generatePage(), pageTitle(), and RefList().
|
private |
Definition at line 91 of file reflist.h.
Referenced by RefList(), and sectionTitle().