The Htags
Struct Reference
This class is a namespace for HTAGS related functions. More...
Declaration
Included Headers
Public Static Functions Index
static bool | loadFilemap (const QCString &htmldir) |
static QCString | path2URL (const QCString &path) |
static bool | execute (const QCString &htmldir) |
Public Static Attributes Index
static bool | useHtags = FALSE |
Description
This class is a namespace for HTAGS related functions.
Definition at line 21 of file htags.h.
Public Static Functions
execute()
| static |
constructs command line of htags(1) and executes it.
- Return Values
-
TRUE success
FALSE an error has occurred.
Declaration at line 26 of file htags.h, definition at line 38 of file htags.cpp.
References Config_getBool, Config_getList, Config_getString, Dir::currentDirPath, err, FALSE, g_inputDir, QCString::isEmpty, Dir::setCurrent and Portable::system.
Referenced by generateOutput.
loadFilemap()
| static |
load filemap and make index.
- Parameters
-
htmlDir of HTML directory generated by htags(1).
- Return Values
-
TRUE success
FALSE error
Declaration at line 24 of file htags.h, definition at line 107 of file htags.cpp.
References err, FileInfo::exists, QCString::find, QCString::findRev, g_symbolMap, FileInfo::isReadable, QCString::left, QCString::mid, Portable::openInputStream, QCString::str and QCString::stripWhiteSpace.
Referenced by generateOutput.
path2URL()
| static |
convert path name into the url in the hypertext generated by htags.
- Parameters
-
path path name
- Returns
URL nullptr: not found.
Declaration at line 25 of file htags.h, definition at line 157 of file htags.cpp.
References g_inputDir, g_symbolMap, QCString::isEmpty, QCString::length, QCString::mid and QCString::str.
Referenced by FileDefImpl::getSourceFileBase.
Public Static Attributes
useHtags
| static |
Definition at line 23 of file htags.h.
Referenced by generateFileSources, generateOutput, DefinitionImpl::getSourceAnchor and FileDefImpl::getSourceFileBase.
The documentation for this struct was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.