24 std::function<std::string(
const std::string &baseFileName,
unsigned step)>;
33 std::pair<std::string, Ioss::DatabaseIO *>
35 const std::string &basename,
const std::string &db_type,
40 const std::string &basename,
52 unsigned fileCyclicCount);
61 virtual void populate_change_sets(
bool loadAllFiles =
true);
64 virtual void close_change_set(
unsigned index);
68 IOSS_NODISCARD std::string get_change_set_name(
unsigned index)
const;
72 static std::string get_cyclic_database_filename(
const std::string &baseFileName,
73 unsigned int fileCyclicCount,
76 static std::string get_linear_database_filename(
const std::string &baseFileName,
83 void get_cyclic_multi_file_change_sets();
84 void get_linear_multi_file_change_sets();
86 void verify_change_set_index(
unsigned index)
const;
88 virtual void clear_change_sets();
96 unsigned m_fileCyclicCount{0};
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_ChangeSet.h:48
ChangeSet(const ChangeSet &)=delete
std::vector< DatabaseIO * > m_changeSetDatabases
Definition Ioss_ChangeSet.h:80
std::string m_dbType
Definition Ioss_ChangeSet.h:95
IOSS_NODISCARD unsigned database_format() const
Definition Ioss_ChangeSet.h:59
std::vector< std::string > m_changeSetNames
Definition Ioss_ChangeSet.h:101
IOSS_NODISCARD const std::vector< std::string > & names() const
Definition Ioss_ChangeSet.h:67
IOSS_NODISCARD size_t size() const
Definition Ioss_ChangeSet.h:66
std::string m_ioDB
Definition Ioss_ChangeSet.h:94
IOSS_NODISCARD unsigned get_file_cyclic_count() const
Definition Ioss_ChangeSet.h:70
IOSS_NODISCARD unsigned supported_formats() const
Definition Ioss_ChangeSet.h:58
An input or output Database.
Definition Ioss_DatabaseIO.h:63
Definition Ioss_ParallelUtils.h:32
A collection of Ioss::Property objects.
Definition Ioss_PropertyManager.h:36
A grouping entity that contains other grouping entities.
Definition Ioss_Region.h:93
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
ChangeSetFormat
Definition Ioss_ChangeSet.h:26
@ CHANGE_SET_CYCLIC_MULTI_FILES
Definition Ioss_ChangeSet.h:30
@ CHANGE_SET_NONE
Definition Ioss_ChangeSet.h:27
@ CHANGE_SET_INTERNAL_FILES
Definition Ioss_ChangeSet.h:28
@ CHANGE_SET_LINEAR_MULTI_FILES
Definition Ioss_ChangeSet.h:29
Ioss::FileNameGenerator construct_linear_filename_generator()
Definition Ioss_ChangeSet.C:378
std::function< std::string(const std::string &baseFileName, unsigned step)> FileNameGenerator
Definition Ioss_ChangeSet.h:23
Ioss::FileNameGenerator construct_cyclic_filename_generator(unsigned cyclicCount)
Definition Ioss_ChangeSet.C:359
DatabaseUsage
Specifies how an Ioss::DatabaseIO object will be used.
Definition Ioss_DBUsage.h:13
std::string expand_topology_files(FileNameGenerator generator, const Ioss::ParallelUtils &util, const std::string &basename, const Ioss::PropertyManager &properties, Ioss::DatabaseUsage usage, int step)
Definition Ioss_ChangeSet.C:281