DUNE: Uniform Navigational Environment  2022.04.1
DUNE::Compression::FileOutput Class Reference

Public Member Functions

 FileOutput (const char *filename, Methods method)
 
 ~FileOutput (void)
 
void attach (std::ostream &stream)
 

Protected Attributes

Methods m_method
 
std::ofstream m_stream
 
StreamBufferm_buffer
 

Constructor & Destructor Documentation

◆ FileOutput()

DUNE::Compression::FileOutput::FileOutput ( const char *  filename,
Methods  method 
)
inline

References attach(), and m_stream.

◆ ~FileOutput()

DUNE::Compression::FileOutput::~FileOutput ( void  )
inline

References m_buffer.

Member Function Documentation

◆ attach()

void DUNE::Compression::FileOutput::attach ( std::ostream &  stream)
inline

Member Data Documentation

◆ m_buffer

StreamBuffer* DUNE::Compression::FileOutput::m_buffer
protected

Referenced by attach(), and ~FileOutput().

◆ m_method

Methods DUNE::Compression::FileOutput::m_method
protected

Referenced by attach().

◆ m_stream

std::ofstream DUNE::Compression::FileOutput::m_stream
protected

Referenced by FileOutput().

Collaboration diagram for DUNE::Compression::FileOutput:
Collaboration graph