Go to the source code of this file.
Classes | |
struct | DocInfo |
struct | BriefInfo |
struct | BodyInfo |
class | DefinitionIntf |
class | Definition |
struct | Definition::Cookie |
class | DefinitionList |
class | DefinitionListIterator |
Functions | |
bool | readCodeFragment (const char *fileName, 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 728 of file definition.cpp.