Functions to search 'etc' directories for configuration files etc. More...


Go to the source code of this file.
Namespaces | |
| namespace | Foam |
| Namespace for OpenFOAM. | |
Functions | |
| fileNameList | etcDirs (bool test=true) |
| The etc search directories in the normal search order. | |
| fileNameList | findEtcEntries (const fileName &name, unsigned short location=0777, const fileName::Type typeRequired=fileName::Type::UNDEFINED, const bool findFirst=false) |
| Search for files or directories from user/group/other etc locations. | |
| fileNameList | findEtcDirs (const fileName &name, unsigned short location=0777, const bool findFirst=false) |
| Search for directories from user/group/other etc locations. | |
| fileNameList | findEtcFiles (const fileName &name, const bool mandatory=false, unsigned short location=0777, const bool findFirst=false) |
| Search for files from user/group/other etc locations. | |
| fileName | findEtcEntry (const fileName &name, unsigned short location=0777, const fileName::Type typeRequired=fileName::Type::UNDEFINED) |
| Search for a single FILE or DIRECTORY within the etc directories. | |
| fileName | findEtcDir (const fileName &name, unsigned short location=0777) |
| Search for a single FILE within the etc directories. | |
| fileName | findEtcFile (const fileName &name, const bool mandatory=false, unsigned short location=0777) |
| Search for a single FILE within the etc directories. | |
Functions to search 'etc' directories for configuration files etc.
Original source file etcFiles.H
InNamespace Foam
Definition in file etcFiles.H.