libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::RBDataSerialization::RBEvaluationSerialization Class Reference

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

#include <rb_data_serialization.h>

Public Member Functions

 RBEvaluationSerialization (RBEvaluation &rb_eval)
 Initialize a new buffer using the structure from the Cap'n'Proto schema described in rb_data.capnp. More...
 
virtual ~RBEvaluationSerialization ()
 Destructor. More...
 
void write_to_file (const std::string &path)
 Write the Cap'n'Proto buffer to disk. More...
 

Private Attributes

RBEvaluation_rb_eval
 The RBEvaluation object that will be written to disk. More...
 

Detailed Description

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

Author
David Knezevic
Date
2015 Serializes RBEvaluation objects using Cap'n Proto.

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: