|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Base class for all file writers. More...
#include <BaseWriter.hpp>

Public Member Functions | |
| BaseWriter ()=default | |
| virtual | ~BaseWriter ()=default |
| BaseWriter (const BaseWriter &)=delete | |
| BaseWriter & | operator= (const BaseWriter &)=delete |
| BaseWriter (BaseWriter &&)=delete | |
| BaseWriter & | operator= (BaseWriter &&)=delete |
| virtual std::string | getName () const =0 |
| Returns the display name of the format (e.g., "HDF5", "CSV"). | |
| virtual std::vector< std::string > | getExtensions () const =0 |
| Returns a list of supported file extensions (e.g., {".h5"}, {".csv"}). | |
| virtual void | write (const std::string &base_path, const correlation::analysis::DistributionFunctions &dists, bool smoothing) const =0 |
| Writes the distribution function data to file(s). | |
Base class for all file writers.
|
default |

|
virtualdefault |
|
delete |

|
delete |

|
pure virtual |
Returns a list of supported file extensions (e.g., {".h5"}, {".csv"}).
Implemented in correlation::writers::ArrowWriter, correlation::writers::CSVWriter, and correlation::writers::HDF5Writer.

|
pure virtual |
Returns the display name of the format (e.g., "HDF5", "CSV").
Implemented in correlation::writers::ArrowWriter, correlation::writers::CSVWriter, and correlation::writers::HDF5Writer.

|
delete |

|
delete |

|
pure virtual |
Writes the distribution function data to file(s).
| base_path | The base name for the output files. |
| dists | The DistributionFunctions object containing the data. |
| smoothing | Whether to include smoothed data. |
Implemented in correlation::writers::ArrowWriter, correlation::writers::CSVWriter, and correlation::writers::HDF5Writer.
