#include <proto_stream.h>
Public Member Functions | |
bool | Close () override |
ProtoStreamWriter & | operator= (const ProtoStreamWriter &) |
ProtoStreamWriter (const std::string &filename) | |
ProtoStreamWriter (const ProtoStreamWriter &) | |
void | WriteProto (const google::protobuf::Message &proto) override |
~ProtoStreamWriter () | |
Private Member Functions | |
void | Write (const std::string &uncompressed_data) |
Private Attributes | |
std::ofstream | out_ |
Definition at line 35 of file proto_stream.h.
cartographer::io::ProtoStreamWriter::ProtoStreamWriter | ( | const std::string & | filename | ) |
Definition at line 47 of file proto_stream.cc.
bool cartographer::io::ProtoStreamWriter::Close | ( | ) | [override, virtual] |
Implements cartographer::io::ProtoStreamWriterInterface.
Definition at line 65 of file proto_stream.cc.
ProtoStreamWriter& cartographer::io::ProtoStreamWriter::operator= | ( | const ProtoStreamWriter & | ) |
void cartographer::io::ProtoStreamWriter::Write | ( | const std::string & | uncompressed_data | ) | [private] |
Definition at line 52 of file proto_stream.cc.
void cartographer::io::ProtoStreamWriter::WriteProto | ( | const google::protobuf::Message & | proto | ) | [override, virtual] |
Implements cartographer::io::ProtoStreamWriterInterface.
Definition at line 59 of file proto_stream.cc.
std::ofstream cartographer::io::ProtoStreamWriter::out_ [private] |
Definition at line 49 of file proto_stream.h.