https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
RestartableData.h File Reference

Go to the source code of this file.

Classes

class  RestartableDataValue
 Abstract definition of a RestartableData value. More...
 
class  RestartableDataValue::SetDeclaredKey
 Helper that protects access to setDeclared() to only MooseApp. More...
 
class  RestartableDataValue::SetNotLoadedKey
 Helper that protects access to setNotLoaded() to only RestartableDataReader. More...
 
class  RestartableDataValue::SetNotStoredKey
 Helper that protects access to setNotStored() to only RestartableDataWriter. More...
 
struct  RestartableDataValue::StoreJSONParams
 Struct that represents parameters for how to store the JSON value via store. More...
 
class  RestartableData< T >
 Concrete definition of a parameter value for a specified type. More...
 

Typedefs

using DataNames = std::unordered_set< std::string >
 

Functions

template<>
void dataStore (std::ostream &, RestartableDataValue::StoreJSONParams &, void *)
 
template<>
void dataLoad (std::istream &, RestartableDataValue::StoreJSONParams &, void *)
 

Typedef Documentation

◆ DataNames

using DataNames = std::unordered_set<std::string>

Definition at line 333 of file RestartableData.h.

Function Documentation

◆ dataLoad()

template<>
void dataLoad ( std::istream &  stream,
RestartableDataValue::StoreJSONParams v,
void *  ctx 
)

Definition at line 81 of file RestartableData.C.

82{
83 dataLoad(stream, v.value, ctx);
84 dataLoad(stream, v.type, ctx);
85 dataLoad(stream, v.name, ctx);
86 dataLoad(stream, v.declared, ctx);
87 dataLoad(stream, v.loaded, ctx);
88 dataLoad(stream, v.stored, ctx);
89 dataLoad(stream, v.has_context, ctx);
90}
void dataLoad(std::istream &stream, RestartableDataValue::StoreJSONParams &v, void *ctx)

Referenced by dataLoad(), and RestartableData< T >::loadInternal().

◆ dataStore()

template<>
void dataStore ( std::ostream &  stream,
RestartableDataValue::StoreJSONParams v,
void *  ctx 
)

Definition at line 68 of file RestartableData.C.

69{
70 dataStore(stream, v.value, ctx);
71 dataStore(stream, v.type, ctx);
72 dataStore(stream, v.name, ctx);
73 dataStore(stream, v.declared, ctx);
74 dataStore(stream, v.loaded, ctx);
75 dataStore(stream, v.stored, ctx);
76 dataStore(stream, v.has_context, ctx);
77}
void dataStore(std::ostream &stream, RestartableDataValue::StoreJSONParams &v, void *ctx)

Referenced by dataStore(), and RestartableData< T >::storeInternal().