Serializes RBEvaluation objects using Cap'n Proto. More...
#include <rb_data_serialization.h>
Public Member Functions | |
RBEvaluationSerialization (RBEvaluation &rb_eval) | |
virtual | ~RBEvaluationSerialization () |
void | write_to_file (const std::string &path) |
Private Attributes | |
RBEvaluation & | _rb_eval |
Serializes RBEvaluation objects using Cap'n Proto.
This class serializes an RBEvaluation object using the Cap'n Proto library.
Definition at line 58 of file rb_data_serialization.h.
libMesh::RBDataSerialization::RBEvaluationSerialization::RBEvaluationSerialization | ( | RBEvaluation & | rb_eval | ) |
Initialize a new buffer using the structure from the Cap'n'Proto schema described in rb_data.capnp.
|
virtual |
Destructor.
void libMesh::RBDataSerialization::RBEvaluationSerialization::write_to_file | ( | const std::string & | path | ) |
Write the Cap'n'Proto buffer to disk.
|
private |
The RBEvaluation object that will be written to disk.
Definition at line 83 of file rb_data_serialization.h.