#include <FileStreamHandler.hpp>
|
| FileStreamHandler (const char *path) |
|
virtual | ~FileStreamHandler () |
|
template<class DataType > |
void | put (const DataType &val) |
| Serialize data onto the stored stream.
|
|
template<class IndexType , class DataType > |
void | put_indexed (IndexType idx, const DataType &val) |
| Serialize data onto the stream in the form of "<index><sep><val>\n".
|
|
template<class IndexType , class DataType > |
void | put_var (IndexType idx, std::string var, const DataType &val) |
| Serialize data onto the stream in the form of "<index><sep><var><sep><val>\n".
|
|
template<class DataType > |
std::ostream & | operator<< (const DataType &val) |
| stream write operator that allows a StreamHandler to be used as a stream object
|
|
|
std::shared_ptr< std::ostream > | output_stream |
| The shared pointer to the managed stream object.
|
|
std::string | sep |
| The seperator string to be used in serialization.
|
|
◆ FileStreamHandler()
utils::FileStreamHandler::FileStreamHandler |
( |
const char * | path | ) |
|
|
inline |
◆ ~FileStreamHandler()
virtual utils::FileStreamHandler::~FileStreamHandler |
( |
| ) |
|
|
inlinevirtual |
◆ operator<<()
template<class DataType >
std::ostream & utils::StreamHandler::operator<< |
( |
const DataType & | val | ) |
|
|
inlineinherited |
◆ put()
template<class DataType >
void utils::StreamHandler::put |
( |
const DataType & | val | ) |
|
|
inlineinherited |
◆ put_indexed()
template<class IndexType , class DataType >
void utils::StreamHandler::put_indexed |
( |
IndexType | idx, |
|
|
const DataType & | val ) |
|
inlineinherited |
◆ put_var()
template<class IndexType , class DataType >
void utils::StreamHandler::put_var |
( |
IndexType | idx, |
|
|
std::string | var, |
|
|
const DataType & | val ) |
|
inlineinherited |
◆ output_stream
std::shared_ptr<std::ostream> utils::StreamHandler::output_stream |
|
protectedinherited |
◆ sep
std::string utils::StreamHandler::sep |
|
protectedinherited |
The documentation for this class was generated from the following file: