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

#include <proto_stream.h>

Public Member Functions

bool Close ()
 
ProtoStreamWriteroperator= (const ProtoStreamWriter &)=delete
 
 ProtoStreamWriter (const string &filename)
 
 ProtoStreamWriter (const ProtoStreamWriter &)=delete
 
template<typename MessageType >
void WriteProto (const MessageType &proto)
 
 ~ProtoStreamWriter ()
 

Private Member Functions

void Write (const string &uncompressed_data)
 

Private Attributes

std::ofstream out_
 

Detailed Description

Definition at line 33 of file proto_stream.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file proto_stream.cc.

cartographer::io::ProtoStreamWriter::~ProtoStreamWriter ( )

Definition at line 50 of file proto_stream.cc.

cartographer::io::ProtoStreamWriter::ProtoStreamWriter ( const ProtoStreamWriter )
delete

Member Function Documentation

bool cartographer::io::ProtoStreamWriter::Close ( )

Definition at line 59 of file proto_stream.cc.

ProtoStreamWriter& cartographer::io::ProtoStreamWriter::operator= ( const ProtoStreamWriter )
delete
void cartographer::io::ProtoStreamWriter::Write ( const string &  uncompressed_data)
private

Definition at line 52 of file proto_stream.cc.

template<typename MessageType >
void cartographer::io::ProtoStreamWriter::WriteProto ( const MessageType &  proto)
inline

Definition at line 43 of file proto_stream.h.

Member Data Documentation

std::ofstream cartographer::io::ProtoStreamWriter::out_
private

Definition at line 55 of file proto_stream.h.


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


cartographer
Author(s):
autogenerated on Wed Jun 5 2019 21:58:00