ISLEman
Public Member Functions | List of all members
RefList Class Reference

List of cross-referenced items. More...

#include <reflist.h>

Public Member Functions

int addRefItem ()
 
RefItemgetRefItem (int todoItemId)
 
RefItemgetFirstRefItem ()
 
RefItemgetNextRefItem ()
 
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 ()
 

Detailed 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.

Constructor & Destructor Documentation

§ RefList()

RefList::RefList ( const char *  listName,
const char *  pageTitle,
const char *  secTitle 
)

Create a list of items that are cross referenced with documentation blocks

Parameters
listNameString representing the name of the list.
pageTitleString representing the title of the list page.
secTitleString representing the title of the section.

§ ~RefList()

RefList::~RefList ( )

Destroy the todo list. Currently not called!

Member Function Documentation

§ addRefItem()

int RefList::addRefItem ( )

Adds a new item to the list.

Returns
A unique id for this item.

§ getFirstRefItem()

RefItem * RefList::getFirstRefItem ( )

Returns the first item in the dictionary or 0 if non is available. Items are not sorted.

§ getNextRefItem()

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.

§ getRefItem()

RefItem * RefList::getRefItem ( int  itemId)

Returns an item given it's id that is obtained with addRefItem()

Parameters
itemIditem's identifier.
Returns
A pointer to the todo item's structure.

§ listName()

QCString RefList::listName ( ) const

Returns the name of the list as set in the constructor.


The documentation for this class was generated from the following files: