libMesh::RBDataSerialization::RBEvaluationSerialization Class Reference

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
 

Detailed Description

Serializes RBEvaluation objects using Cap'n Proto.

This class serializes an RBEvaluation object using the Cap'n Proto library.

Author
David Knezevic
Date
2015

Definition at line 58 of file rb_data_serialization.h.

Constructor & Destructor Documentation

◆ RBEvaluationSerialization()

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.

◆ ~RBEvaluationSerialization()

virtual libMesh::RBDataSerialization::RBEvaluationSerialization::~RBEvaluationSerialization ( )
virtual

Destructor.

Member Function Documentation

◆ write_to_file()

void libMesh::RBDataSerialization::RBEvaluationSerialization::write_to_file ( const std::string &  path)

Write the Cap'n'Proto buffer to disk.

Member Data Documentation

◆ _rb_eval

RBEvaluation& libMesh::RBDataSerialization::RBEvaluationSerialization::_rb_eval
private

The RBEvaluation object that will be written to disk.

Definition at line 83 of file rb_data_serialization.h.


The documentation for this class was generated from the following file: