The definition.h
File Reference
Included Headers
Classes Index
struct | DocInfo |
Data associated with a detailed description. More... | |
struct | BriefInfo |
Data associated with a brief description. More... | |
struct | BodyInfo |
Data associated with description found in the body. More... | |
class | Definition |
The common base class of all entity definitions found in the sources. More... | |
class | DefinitionMutable |
Functions Index
Definition * | toDefinition (DefinitionMutable *dm) |
DefinitionMutable * | toDefinitionMutable (Definition *d) |
bool | readCodeFragment (const QCString &fileName, bool isMacro, int &startLine, int &endLine, QCString &result) |
Reads a fragment from file fileName starting with line startLine and ending with line endLine. More... | |
Functions
readCodeFragment()
|
Reads a fragment from file fileName starting with line startLine and ending with line endLine.
The result is returned as a string via result. The function returns TRUE if successful and FALSE in case of an error.
Reads a fragment of code from file fileName starting at line startLine and ending at line endLine (inclusive). The fragment is stored in result. If FALSE is returned the code fragment could not be found.
The file is scanned for a opening bracket ('{') from startLine onward The line actually containing the bracket is returned via startLine. The file is scanned for a closing bracket ('}') from endLine backward. The line actually containing the bracket is returned via endLine. Note that for VHDL code the bracket search is not done.
Declaration at line 401 of file definition.h, definition at line 749 of file definition.cpp.
References QCString::at, Config_getBool, Config_getInt, QCString::data, err, QCString::fill, Debug::FilterOutput, QCString::findRev, getEncoding, FilterCache::getFileContents, getFileFilter, getLanguageFromFileName, FilterCache::instance, QCString::isEmpty, QCString::length, Debug::print, QCString::resize, QCString::str, transcodeCharacterStringToUTF8 and TRUE.
Referenced by VhdlDocGen::createFlowChart, DefinitionMutable::toDefinition_ and DefinitionImpl::writeInlineCode.
toDefinition()
|
Declaration at line 393 of file definition.h, definition at line 1923 of file definition.cpp.
References DefinitionImpl::docLine, stripLeadingAndTrailingEmptyLines and stripWhiteSpace.
Referenced by buildScopeFromQualifiedName, endFileWithNavPath, findScopeFromQualifiedName, toClassDef, toConceptDef, toMemberDef, toNamespaceDef and MemberList::writeDocumentationPage.
toDefinitionMutable()
|
Declaration at line 394 of file definition.h, definition at line 1929 of file definition.cpp.
Referenced by addConceptToContext, buildNamespaceList, buildScopeFromQualifiedName, computeTooltipTexts, createTagLessInstance, resolveClassNestingRelations and DefinitionMutable::toDefinition_.
Generated via doxygen2docusaurus by Doxygen 1.14.0.