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

#include <proto_stream.h>

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

Public Member Functions

bool eof () const override
 
ProtoStreamReaderoperator= (const ProtoStreamReader &)=delete
 
 ProtoStreamReader (const std::string &filename)
 
 ProtoStreamReader (const ProtoStreamReader &)=delete
 
bool ReadProto (google::protobuf::Message *proto) override
 
 ~ProtoStreamReader ()=default
 
- Public Member Functions inherited from cartographer::io::ProtoStreamReaderInterface
 ProtoStreamReaderInterface ()=default
 
virtual ~ProtoStreamReaderInterface ()
 

Private Member Functions

bool Read (std::string *decompressed_data)
 

Private Attributes

std::ifstream in_
 

Detailed Description

Definition at line 53 of file proto_stream.h.

Constructor & Destructor Documentation

◆ ProtoStreamReader() [1/2]

cartographer::io::ProtoStreamReader::ProtoStreamReader ( const std::string &  filename)
explicit

Definition at line 69 of file proto_stream.cc.

◆ ~ProtoStreamReader()

cartographer::io::ProtoStreamReader::~ProtoStreamReader ( )
default

◆ ProtoStreamReader() [2/2]

cartographer::io::ProtoStreamReader::ProtoStreamReader ( const ProtoStreamReader )
delete

Member Function Documentation

◆ eof()

bool cartographer::io::ProtoStreamReader::eof ( ) const
overridevirtual

Implements cartographer::io::ProtoStreamReaderInterface.

Definition at line 96 of file proto_stream.cc.

◆ operator=()

ProtoStreamReader& cartographer::io::ProtoStreamReader::operator= ( const ProtoStreamReader )
delete

◆ Read()

bool cartographer::io::ProtoStreamReader::Read ( std::string *  decompressed_data)
private

Definition at line 78 of file proto_stream.cc.

◆ ReadProto()

bool cartographer::io::ProtoStreamReader::ReadProto ( google::protobuf::Message *  proto)
overridevirtual

Implements cartographer::io::ProtoStreamReaderInterface.

Definition at line 91 of file proto_stream.cc.

Member Data Documentation

◆ in_

std::ifstream cartographer::io::ProtoStreamReader::in_
private

Definition at line 67 of file proto_stream.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59