Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ base/

operations_research::RecordReader Class Reference

This class reads a protocol buffer from a file. More...

#include <recordio.h>

List of all members.

Public Member Functions

 RecordReader (File *const file)
template<class P>
bool ReadProtocolMessage (P *const proto)
bool Close ()
 Closes the underlying file.


Detailed Description

This class reads a protocol buffer from a file.

The format must be the one described in RecordWriter, above.

Definition at line 84 of file recordio.h.


Constructor & Destructor Documentation

operations_research::RecordReader::RecordReader ( File *const   file  )  [explicit]

Definition at line 51 of file recordio.cc.


Member Function Documentation

template<class P>
bool operations_research::RecordReader::ReadProtocolMessage ( P *const   proto  )  [inline]

Definition at line 88 of file recordio.h.

bool operations_research::RecordReader::Close (  ) 

Closes the underlying file.

Definition at line 53 of file recordio.cc.


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