CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::FormattedDataFile< DataObject > Class Template Reference

#include <FormattedDataFile.hh>

Detailed Description

template<typename DataObject>
class CASM::FormattedDataFile< DataObject >

Definition at line 24 of file FormattedDataFile.hh.

Public Member Functions

 FormattedDataFile (FormattedDataFileOptions const &options)
 
 FormattedDataFile (fs::path file_path, bool json_output, bool json_arrays, bool compress)
 
 ~FormattedDataFile ()
 
void operator() (DataFormatter< DataObject > const &formatter, DataObject const &object)
 

Private Attributes

bool m_initialized
 
jsonParser m_json
 
bool m_json_output
 
bool m_json_arrays
 
std::unique_ptr< std::ostream > m_ostream
 

Constructor & Destructor Documentation

◆ FormattedDataFile() [1/2]

template<typename DataObject >
CASM::FormattedDataFile< DataObject >::FormattedDataFile ( FormattedDataFileOptions const &  options)

Definition at line 12 of file FormattedDataFile_impl.hh.

◆ FormattedDataFile() [2/2]

template<typename DataObject >
CASM::FormattedDataFile< DataObject >::FormattedDataFile ( fs::path  file_path,
bool  json_output,
bool  json_arrays,
bool  compress 
)

Definition at line 18 of file FormattedDataFile_impl.hh.

◆ ~FormattedDataFile()

template<typename DataObject >
CASM::FormattedDataFile< DataObject >::~FormattedDataFile

Definition at line 33 of file FormattedDataFile_impl.hh.

Member Function Documentation

◆ operator()()

template<typename DataObject >
void CASM::FormattedDataFile< DataObject >::operator() ( DataFormatter< DataObject > const &  formatter,
DataObject const &  object 
)

Definition at line 40 of file FormattedDataFile_impl.hh.

Member Data Documentation

◆ m_initialized

template<typename DataObject >
bool CASM::FormattedDataFile< DataObject >::m_initialized
private

Definition at line 37 of file FormattedDataFile.hh.

◆ m_json

template<typename DataObject >
jsonParser CASM::FormattedDataFile< DataObject >::m_json
private

Definition at line 38 of file FormattedDataFile.hh.

◆ m_json_arrays

template<typename DataObject >
bool CASM::FormattedDataFile< DataObject >::m_json_arrays
private

Definition at line 40 of file FormattedDataFile.hh.

◆ m_json_output

template<typename DataObject >
bool CASM::FormattedDataFile< DataObject >::m_json_output
private

Definition at line 39 of file FormattedDataFile.hh.

◆ m_ostream

template<typename DataObject >
std::unique_ptr<std::ostream> CASM::FormattedDataFile< DataObject >::m_ostream
private

Definition at line 41 of file FormattedDataFile.hh.


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