Public Member Functions | |
DefinesPerFile () | |
virtual | ~DefinesPerFile () |
void | addDefine (Define *def) |
void | addInclude (const char *fileName) |
void | collectDefines (DefineDict *dict, QDict< void > &includeStack) |
Private Attributes | |
DefineDict | m_defines |
QDict< void > | m_includedFiles |
|
inline |
|
inlinevirtual |
|
inline |
Adds a define in the context of a file. Will replace an existing define with the same name (redefinition)
def | The Define object to add. |
Definition at line 2614 of file pre.cpp.
|
inline |
void DefineManager::DefinesPerFile::collectDefines | ( | DefineDict * | dict, |
QDict< void > & | includeStack | ||
) |
Collects all defines for a file and all files that the file includes. This function will recursively call itself for each file.
dict | The dictionary to fill with the defines. A redefine will replace a previous definition. |
includeStack | The stack of includes, used to stop recursion in case there is a cyclic include dependency. |
Definition at line 2801 of file pre.cpp.
|
private |
|
private |