20#include <unordered_map>
The common base class of all entity definitions found in the sources.
Container class representing a vector of objects with keys.
This is an alternative implementation of QCString.
This struct represents an item in the list of references.
RefItem(int id, RefList *list)
const Definition * scope() const
void setTitle(const QCString &title)
QCString m_name
name of the entity containing the reference
void setAnchor(const QCString &anchor)
void setArgs(const QCString &args)
RefList * m_list
list owning this item
QCString m_args
optional arguments for the entity (if function)
QCString m_prefix
type prefix for the name
QCString m_text
text of the item.
void setText(const QCString &text)
QCString m_anchor
anchor in the list
QCString m_title
display name of the entity
void setGroup(const QCString &group)
void setPrefix(const QCString &prefix)
const Definition * m_scope
scope to use for references.
void setName(const QCString &name)
QCString m_group
group id used to combine item under a single header
void setScope(const Definition *scope)
int m_id
unique identifier for this item within its list
List of cross-referenced items.
std::unordered_map< int, RefItem * > m_lookup
std::vector< std::unique_ptr< RefItem > > m_entries
RefList(const QCString &listName, const QCString &pageTitle, const QCString &secTitle)
QCString pageTitle() const
QCString sectionTitle() const
QCString listName() const
QCString fileName() const
RefItem * find(int itemId)
~RefListManager()=default
static RefListManager & instance()
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
std::vector< RefItem * > RefItemVector