#include <proto_stream.h>
Public Member Functions | |
bool | eof () const override |
ProtoStreamReader & | operator= (const ProtoStreamReader &) |
ProtoStreamReader (const std::string &filename) | |
ProtoStreamReader (const ProtoStreamReader &) | |
bool | ReadProto (google::protobuf::Message *proto) override |
~ProtoStreamReader () | |
Private Member Functions | |
bool | Read (std::string *decompressed_data) |
Private Attributes | |
std::ifstream | in_ |
Definition at line 53 of file proto_stream.h.
cartographer::io::ProtoStreamReader::ProtoStreamReader | ( | const std::string & | filename | ) | [explicit] |
Definition at line 70 of file proto_stream.cc.
bool cartographer::io::ProtoStreamReader::eof | ( | ) | const [override, virtual] |
Implements cartographer::io::ProtoStreamReaderInterface.
Definition at line 97 of file proto_stream.cc.
ProtoStreamReader& cartographer::io::ProtoStreamReader::operator= | ( | const ProtoStreamReader & | ) |
bool cartographer::io::ProtoStreamReader::Read | ( | std::string * | decompressed_data | ) | [private] |
Definition at line 79 of file proto_stream.cc.
bool cartographer::io::ProtoStreamReader::ReadProto | ( | google::protobuf::Message * | proto | ) | [override, virtual] |
Implements cartographer::io::ProtoStreamReaderInterface.
Definition at line 92 of file proto_stream.cc.
std::ifstream cartographer::io::ProtoStreamReader::in_ [private] |
Definition at line 67 of file proto_stream.h.