|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
#include <AttrRecorderInterface.h>

Public Member Functions | |
| void | record_triple (const char *name, double a, double b, double c) |
| void | record_triple (const char *name, int a, int b, int c) |
| virtual void | record_arr (const char *name, const double *arr, int length)=0 |
| virtual void | record_arr (const char *name, const int *arr, int length)=0 |
| virtual void | record_arr (const char *name, const long *arr, int length)=0 |
| virtual void | record (const char *name, const char *val)=0 |
| virtual void | record (const char *name, double val)=0 |
| virtual void | record (const char *name, int val)=0 |
| virtual void | record (const char *name, long val)=0 |
Abstract class that provides the interface for recording file header information
The expectation is that logic for serializing attribute information to different formats will be organized into different subclasses. For example, we might define an HDF5 class and a Text class.
|
pure virtual |
record a scalar attribute
Implemented in TextAttrRecorder.
|
pure virtual |
record a 1d array of values
Implemented in TextAttrRecorder.
|
inline |
A convenience method for recording 3 doubles