Doxygen
Loading...
Searching...
No Matches
cite.cpp File Reference
#include "cite.h"
#include "config.h"
#include "language.h"
#include "message.h"
#include "portable.h"
#include "resourcemgr.h"
#include "util.h"
#include "debug.h"
#include "fileinfo.h"
#include "dir.h"
#include "growbuf.h"
#include "entry.h"
#include "commentscan.h"
#include "linkedmap.h"
#include <map>
#include <unordered_map>
#include <string>
#include <fstream>
+ Include dependency graph for cite.cpp:

Go to the source code of this file.

Classes

class  CitePosition
 class that provide information about the p[osition of a citation name More...
 
class  CiteInfoImpl
 
struct  CitationManager::Private
 

Functions

static QCString getBibFile (const QCString &inFile)
 

Variables

const char * bibTmpFile = "bibTmpFile_"
 
const char * bibTmpDir = "bibTmpDir/"
 
const std::string g_formulaMarker = "CITE_FORMULA_"
 

Function Documentation

◆ getBibFile()

static QCString getBibFile ( const QCString & inFile)
static

Definition at line 50 of file cite.cpp.

51{
52 QCString name = inFile;
53 if (!name.isEmpty() && !name.endsWith(".bib")) name+=".bib";
54 return name;
55}
This is an alternative implementation of QCString.
Definition qcstring.h:101
bool endsWith(const char *s) const
Definition qcstring.h:509
bool isEmpty() const
Returns TRUE iff the string is empty.
Definition qcstring.h:150

References QCString::endsWith(), and QCString::isEmpty().

Referenced by CitationManager::generatePage(), and CitationManager::latexBibFiles().

Variable Documentation

◆ bibTmpDir

const char* bibTmpDir = "bibTmpDir/"

Definition at line 38 of file cite.cpp.

Referenced by CitationManager::generatePage().

◆ bibTmpFile

const char* bibTmpFile = "bibTmpFile_"

Definition at line 37 of file cite.cpp.

Referenced by CitationManager::generatePage(), and CitationManager::latexBibFiles().

◆ g_formulaMarker

const std::string g_formulaMarker = "CITE_FORMULA_"

Definition at line 230 of file cite.cpp.

Referenced by CitationManager::getFormulas(), and CitationManager::replaceFormulas().