Public Member Functions | Private Attributes | List of all members
cartographer::io::StreamFileWriter Class Reference

#include <file_writer.h>

Inheritance diagram for cartographer::io::StreamFileWriter:
Inheritance graph
[legend]

Public Member Functions

bool Close () override
 
 StreamFileWriter (const string &filename)
 
bool Write (const char *data, size_t len) override
 
bool WriteHeader (const char *data, size_t len) override
 
 ~StreamFileWriter () override
 
- Public Member Functions inherited from cartographer::io::FileWriter
 FileWriter ()
 
 FileWriter (const FileWriter &)=delete
 
FileWriteroperator= (const FileWriter &)=delete
 
virtual ~FileWriter ()
 

Private Attributes

std::ofstream out_
 

Detailed Description

Definition at line 48 of file file_writer.h.

Constructor & Destructor Documentation

cartographer::io::StreamFileWriter::~StreamFileWriter ( )
override

Definition at line 25 of file file_writer.cc.

cartographer::io::StreamFileWriter::StreamFileWriter ( const string &  filename)

Definition at line 22 of file file_writer.cc.

Member Function Documentation

bool cartographer::io::StreamFileWriter::Close ( )
overridevirtual

Implements cartographer::io::FileWriter.

Definition at line 35 of file file_writer.cc.

bool cartographer::io::StreamFileWriter::Write ( const char *  data,
size_t  len 
)
overridevirtual

Implements cartographer::io::FileWriter.

Definition at line 27 of file file_writer.cc.

bool cartographer::io::StreamFileWriter::WriteHeader ( const char *  data,
size_t  len 
)
overridevirtual

Implements cartographer::io::FileWriter.

Definition at line 43 of file file_writer.cc.

Member Data Documentation

std::ofstream cartographer::io::StreamFileWriter::out_
private

Definition at line 59 of file file_writer.h.


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


cartographer
Author(s):
autogenerated on Mon Jun 10 2019 12:51:39