Doxygen
|
Go to the source code of this file.
Classes | |
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 | |
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. | |
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.
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.
Definition at line 776 of file definition.cpp.
References QCString::at(), Config_getBool, Config_getInt, QCString::data(), err, QCString::fill(), Debug::FilterOutput, QCString::findRev(), Fortran, found, getEncoding(), FilterCache::getFileContents(), getFileFilter(), getLanguageFromFileName(), FilterCache::instance(), QCString::isEmpty(), QCString::length(), Debug::print(), Python, qPrint(), QCString::resize(), QCString::str(), transcodeCharacterStringToUTF8(), TRUE, and VHDL.
Referenced by VhdlDocGen::createFlowChart(), and DefinitionImpl::writeInlineCode().
Definition * toDefinition | ( | DefinitionMutable * | dm | ) |
Definition at line 388 of file definition.cpp.
Referenced by buildScopeFromQualifiedName(), findScopeFromQualifiedName(), toConceptDef(), toMemberDef(), toNamespaceDef(), and MemberList::writeDocumentationPage().
DefinitionMutable * toDefinitionMutable | ( | Definition * | d | ) |
Definition at line 300 of file definition.cpp.
Referenced by addConceptToContext(), buildNamespaceList(), buildScopeFromQualifiedName(), computeTooltipTexts(), createTagLessInstance(), and resolveClassNestingRelations().