Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::db::ZmqDB Class Reference
Inheritance diagram for caffe2::db::ZmqDB:
caffe2::db::DB

Public Member Functions

 ZmqDB (const string &source, Mode mode)
 
void Close () override
 Closes the database.
 
unique_ptr< CursorNewCursor () override
 Returns a cursor to read the database. More...
 
unique_ptr< TransactionNewTransaction () override
 Returns a transaction to write data to the database. More...
 
- Public Member Functions inherited from caffe2::db::DB
 DB (const string &source, Mode mode)
 

Additional Inherited Members

- Protected Member Functions inherited from caffe2::db::DB
 DISABLE_COPY_AND_ASSIGN (DB)
 
- Protected Attributes inherited from caffe2::db::DB
Mode mode_
 

Detailed Description

Definition at line 86 of file zmqdb.cc.

Member Function Documentation

◆ NewCursor()

unique_ptr<Cursor> caffe2::db::ZmqDB::NewCursor ( )
inlineoverridevirtual

Returns a cursor to read the database.

The caller takes the ownership of the pointer.

Implements caffe2::db::DB.

Definition at line 97 of file zmqdb.cc.

◆ NewTransaction()

unique_ptr<Transaction> caffe2::db::ZmqDB::NewTransaction ( )
inlineoverridevirtual

Returns a transaction to write data to the database.

The caller takes the ownership of the pointer.

Implements caffe2::db::DB.

Definition at line 101 of file zmqdb.cc.


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