37 #ifndef Foam_fileOperations_fileOperationInitialise_H 38 #define Foam_fileOperations_fileOperationInitialise_H 46 namespace fileOperations
75 int& argc,
char**& argv
86 const word&
type,
int& argc,
char**& argv
TypeName("fileOperationInitialise")
Runtime type information.
virtual ~fileOperationInitialise_unthreaded()=default
Destructor.
static autoPtr< fileOperationInitialise > New(const word &type, int &argc, char **&argv)
Select initialisation type.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
A class for handling words, derived from Foam::string.
fileOperationInitialise(int &argc, char **&argv)
Construct from components.
fileOperationInitialise_unthreaded(int &argc, char **&argv)
Construct from components.
A fileOperation initialiser for unthreaded file handlers.
virtual ~fileOperationInitialise()=default
Destructor.
virtual bool needsThreading() const =0
Requires (MPI) threading?
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Macros to ease declaration of run-time selection tables.
declareRunTimeSelectionTable(autoPtr, fileOperationInitialise, word,(int &argc, char **&argv),(argc, argv))
virtual bool needsThreading() const
No (MPI) threading required.