OR-Tools  8.2
RecordWriter

Detailed Description

Definition at line 33 of file recordio.h.

Public Member Functions

 RecordWriter (File *const file)
 
template<class P >
bool WriteProtocolMessage (const P &proto)
 
bool Close ()
 
void set_use_compression (bool use_compression)
 

Static Public Attributes

static const int kMagicNumber = 0x3ed7230a
 

Constructor & Destructor Documentation

◆ RecordWriter()

RecordWriter ( File *const  file)
explicit

Definition at line 26 of file recordio.cc.

Member Function Documentation

◆ Close()

bool Close ( )

Definition at line 29 of file recordio.cc.

◆ set_use_compression()

void set_use_compression ( bool  use_compression)

Definition at line 31 of file recordio.cc.

◆ WriteProtocolMessage()

bool WriteProtocolMessage ( const P &  proto)
inline

Definition at line 41 of file recordio.h.

Member Data Documentation

◆ kMagicNumber

const int kMagicNumber = 0x3ed7230a
static

Definition at line 36 of file recordio.h.


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