浏览该文件的文档.
18 #include <unordered_map>
57 if (!sourceTooltips)
return;
63 id =
id.right(
id.length()-i-1);
83 p->tooltipInfo.insert(std::make_pair(
id.str(),d));
90 std::unordered_map<int, std::set<std::string> >::iterator it;
101 for (
const auto &kv :
p->tooltipInfo)
103 bool written = it->second.find(kv.first)!=it->second.end();
138 it->second.insert(kv.first);
virtual QCString getSourceFileBase() const =0
QCString stripExtensionGeneral(const QCString &fName, const QCString &ext)
The common base class of all entity definitions found in the sources.
uint length() const
Returns the length of the string, not counting the 0-terminator.
int findRev(char c, int index=-1, bool cs=TRUE) const
bool isEmpty() const
Returns TRUE iff the string is empty
MemberDef * toMemberDef(Definition *d)
virtual const FileDef * getBodyDef() const =0
virtual QCString qualifiedName() const =0
A model of a class/file/namespace member symbol.
virtual QCString name() const =0
virtual bool isAnonymous() const =0
virtual int id() const
Identifier for the output file
virtual QCString getOutputFileBase() const =0
virtual int getStartBodyLine() const =0
virtual DefType definitionType() const =0
virtual QCString declaration() const =0
virtual QCString getReference() const =0
virtual QCString anchor() const =0
#define Config_getBool(name)
static QCString htmlFileExtension
Output interface for code parser.
virtual void writeTooltip(const QCString &id, const DocLinkInfo &docInfo, const QCString &decl, const QCString &desc, const SourceLinkInfo &defInfo, const SourceLinkInfo &declInfo)=0
QCString getFileNameExtension(const QCString &fn)
virtual QCString briefDescriptionAsTooltip() const =0
A bunch of utility functions.
virtual QCString getSourceAnchor() const =0
This is an alternative implementation of QCString.