My Project
|
Cite database access class. More...
#include <cite.h>
Public Member Functions | |
CiteDict (int size) | |
void | insert (const char *label) |
CiteInfo * | find (const char *label) const |
void | generatePage () const |
void | clear () |
bool | isEmpty () const |
void | writeLatexBibliography (FTextStream &t) |
Private Attributes | |
QDict< CiteInfo > | m_entries |
QCString | m_baseFileName |
Cite database access class.
This class provides access do the database of bibliographic references through the bibtex backend.
CiteDict::CiteDict | ( | int | size | ) |
void CiteDict::clear | ( | ) |
CiteInfo * CiteDict::find | ( | const char * | label | ) | const |
Return the citation info for a given label
Definition at line 98 of file cite.cpp.
References m_entries.
Referenced by DocAnchor::DocAnchor(), and DocCite::DocCite().
void CiteDict::generatePage | ( | ) | const |
Generate the citations page
Definition at line 114 of file cite.cpp.
References addRelatedPage(), bibTmpDir(), bibTmpFile(), Config_getBool, Config_getList, Config_getString, copyFile(), ResourceMgr::copyResource(), doc, endl(), err(), CiteConsts::fileName, ResourceMgr::instance(), isEmpty(), CiteInfo::label, m_entries, portable_system(), portable_sysTimerStop(), CiteInfo::text, theTranslator, and Translator::trCiteReferences().
Referenced by parseInput().
void CiteDict::insert | ( | const char * | label | ) |
bool CiteDict::isEmpty | ( | ) | const |
return TRUE if there are no citations. Only valid after calling resolve()
Definition at line 108 of file cite.cpp.
References Config_getList, and m_entries.
Referenced by generatePage(), writeLatexMakefile(), and writeMakeBat().
void CiteDict::writeLatexBibliography | ( | FTextStream & | t | ) |
writes the latex code for the standard bibliography section to text stream t
Definition at line 41 of file cite.cpp.
References bibTmpFile(), Config_getBool, Config_getList, Config_getString, m_entries, theTranslator, and Translator::trCiteReferences().
Referenced by writeDefaultFooter().
|
private |
Definition at line 93 of file cite.h.
Referenced by CiteDict(), clear(), find(), generatePage(), insert(), isEmpty(), and writeLatexBibliography().