Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
SourceDir (SourceDir *parent, const QString &name) | |
QList< SourceDir > & | directories () |
SourceFile & | file (const QString &fileName) |
QList< SourceFile > & | files () |
bool | hasFile (const QString &fileName) const |
bool | hasSubDir (const QString &subDirName) const |
const QString & | name () const |
QString | path () const |
QList< SourceFile * > | recursiveFiles () |
Recursively lists all files from this directory and its sub directories. More... | |
SourceDir & | subDir (const QString &subDirName) |
Private Member Functions | |
template<typename T > | |
T * | find (const QString &name, QList< T > &container, bool createIfNotFound) |
SourceDir * | findDirectories (const QString &name, bool createIfNotFound) |
Private Attributes | |
QList< SourceDir > | directories_ |
QList< SourceFile > | files_ |
QString | name_ |
SourceDir * | parent_ {} |
Export::SourceDir::SourceDir | ( | SourceDir * | parent, |
const QString & | name | ||
) |
|
inline |
SourceFile & Export::SourceDir::file | ( | const QString & | fileName | ) |
|
inline |
|
private |
|
private |
bool Export::SourceDir::hasFile | ( | const QString & | fileName | ) | const |
bool Export::SourceDir::hasSubDir | ( | const QString & | subDirName | ) | const |
|
inline |
|
inline |
QList< SourceFile * > Export::SourceDir::recursiveFiles | ( | ) |
Recursively lists all files from this directory and its sub directories.
SourceDir & Export::SourceDir::subDir | ( | const QString & | subDirName | ) |
|
private |
|
private |
|
private |
|
private |