etcFiles.H File Reference

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

Include dependency graph for etcFiles.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

fileNameList etcDirs (bool test=true)
 The etc search directories in the normal search order. More...
 
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. More...
 
fileNameList findEtcDirs (const fileName &name, unsigned short location=0777, const bool findFirst=false)
 Search for directories from user/group/other etc locations. More...
 
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. More...
 
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. More...
 
fileName findEtcDir (const fileName &name, unsigned short location=0777)
 Search for a single FILE within the etc directories. More...
 
fileName findEtcFile (const fileName &name, const bool mandatory=false, unsigned short location=0777)
 Search for a single FILE within the etc directories. More...
 

Detailed Description

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

Original source file etcFiles.H

InNamespace Foam

Source files

Definition in file etcFiles.H.