Class containing two static methods useful for implementations. More...
#include <arcane/core/ISimpleTableReaderWriter.h>
Static Public Member Functions | |
| static bool | createDirectoryOnlyProcess0 (IParallelMng *parallel_mng, const Directory &directory) |
| Static method allowing the creation of a directory with multiple processes. | |
| static bool | isFileExist (const Directory &directory, const String &file) |
| Static method allowing verification of file existence. | |
Class containing two static methods useful for implementations.
Definition at line 38 of file ISimpleTableReaderWriter.h.
|
inlinestatic |
Static method allowing the creation of a directory with multiple processes.
| parallel_mng | The parallel manager of the current context. |
| directory | The directory to create. |
Definition at line 52 of file ISimpleTableReaderWriter.h.
References Arcane::IParallelMng::commRank(), Arcane::IParallelMng::commSize(), Arcane::Directory::createDirectory(), Arcane::IParallelMng::reduce(), and Arcane::MessagePassing::ReduceMax.
|
inlinestatic |
Static method allowing verification of file existence.
| directory | The directory where the file is located. |
| file | The file name (with extension). |
Definition at line 72 of file ISimpleTableReaderWriter.h.
References Arcane::Directory::file(), and Arcane::String::localstr().