Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set | ||
|
||
#include <recordio.h>
Public Member Functions | |
RecordWriter (File *const file) | |
template<class P> | |
bool | WriteProtocolMessage (const P &proto) |
bool | Close () |
Closes the underlying file. | |
void | set_use_compression (bool use_compression) |
Static Public Attributes | |
static const int | kMagicNumber = 0x3ed7230a |
Magic number when writing and reading protocol buffers. |
The data written in the file follows the following format (sequentially):
Definition at line 32 of file recordio.h.
operations_research::RecordWriter::RecordWriter | ( | File *const | file | ) | [explicit] |
Definition at line 23 of file recordio.cc.
bool operations_research::RecordWriter::WriteProtocolMessage | ( | const P & | proto | ) | [inline] |
Definition at line 39 of file recordio.h.
bool operations_research::RecordWriter::Close | ( | ) |
void operations_research::RecordWriter::set_use_compression | ( | bool | use_compression | ) |
Definition at line 30 of file recordio.cc.
const int operations_research::RecordWriter::kMagicNumber = 0x3ed7230a [static] |