9#include "ioss_export.h"
39 explicit FileInfo(std::string my_filename);
43 explicit FileInfo(
const char *my_filename);
51 FileInfo(
const std::string &dirpath,
const std::string &my_filename);
84 void set_filename(
const std::string &name);
85 void set_filename(
const char *name);
102 static void create_path(
const std::string &filename,
104 static void create_path(
const std::string &filename);
107 std::string filename_{};
109 bool readable_{
false};
#define IOSS_MAYBE_UNUSED
Definition Ioss_CodeTypes.h:54
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
int Ioss_MPI_Comm
Definition Ioss_CodeTypes.h:64
Return information about the specified file.
Definition Ioss_FileInfo.h:32
IOSS_NODISCARD bool operator==(const FileInfo &other) const
Definition Ioss_FileInfo.h:87
IOSS_NODISCARD bool operator!=(const FileInfo &other) const
Definition Ioss_FileInfo.h:92
FileInfo()
Empty class referring to no file.
std::string filename_
Definition Ioss_FileInfo.h:107
FileInfo(const FileInfo &)
Copy constructor.
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40