Go to the source code of this file.
|
| void | dataStore (std::ostream &stream, Backup &backup, void *context) |
| |
| void | dataLoad (std::istream &stream, Backup &backup, void *context) |
| |
| void | dataStore (std::ostream &stream, std::unique_ptr< Backup > &backup, void *context) |
| |
| void | dataLoad (std::istream &stream, std::unique_ptr< Backup > &backup, void *context) |
| |
◆ dataLoad() [1/2]
| void dataLoad |
( |
std::istream & |
stream, |
|
|
Backup & |
backup, |
|
|
void * |
context |
|
) |
| |
Definition at line 26 of file Backup.C.
27{
28 mooseAssert(backup.
header,
"Not set");
29 mooseAssert(backup.
data,
"Not set");
30
34}
void dataLoad(std::istream &stream, Backup &backup, void *context)
std::unique_ptr< std::stringstream > data
Restartable data payload stream.
std::vector< std::pair< std::string, std::string > > mesh_files
Pairs of checkpoint-relative entry names and binary payloads.
std::unique_ptr< std::stringstream > header
Restartable data header stream.
Referenced by dataLoad(), and dataLoad().
◆ dataLoad() [2/2]
| void dataLoad |
( |
std::istream & |
stream, |
|
|
std::unique_ptr< Backup > & |
backup, |
|
|
void * |
context |
|
) |
| |
Definition at line 46 of file Backup.C.
47{
48 bool has_value;
49 dataLoad(stream, has_value,
nullptr);
50 if (has_value)
51 {
52 backup = std::make_unique<Backup>();
54 }
55}
◆ dataStore() [1/2]
| void dataStore |
( |
std::ostream & |
stream, |
|
|
Backup & |
backup, |
|
|
void * |
context |
|
) |
| |
Definition at line 15 of file Backup.C.
16{
17 mooseAssert(backup.
header,
"Not set");
18 mooseAssert(backup.
data,
"Not set");
19
23}
void dataStore(std::ostream &stream, Backup &backup, void *context)
Referenced by dataStore(), and dataStore().
◆ dataStore() [2/2]
| void dataStore |
( |
std::ostream & |
stream, |
|
|
std::unique_ptr< Backup > & |
backup, |
|
|
void * |
context |
|
) |
| |
Definition at line 37 of file Backup.C.
38{
39 bool has_value = backup != nullptr;
41 if (has_value)
43}