![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include <metadata.hpp>
Public Types | |
typedef std::map< std::string, std::string > | dict_t |
Public Member Functions | |
metadata_t (const dict_t &dict) | |
void | add_ref () |
bool | drop_ref () |
const char * | get (const std::string &property) const |
Private Member Functions | |
metadata_t (const metadata_t &) | |
metadata_t & | operator= (const metadata_t &) |
Private Attributes | |
dict_t | dict |
atomic_counter_t | ref_cnt |
Definition at line 40 of file metadata.hpp.
typedef std::map<std::string, std::string> zmq::metadata_t::dict_t |
Definition at line 43 of file metadata.hpp.
zmq::metadata_t::metadata_t | ( | const dict_t & | dict | ) |
Definition at line 33 of file metadata.cpp.
|
private |
void zmq::metadata_t::add_ref | ( | ) |
Definition at line 48 of file metadata.cpp.
References zmq::atomic_counter_t::add(), and ref_cnt.
Referenced by zmq::msg_t::set_metadata().
bool zmq::metadata_t::drop_ref | ( | ) |
Definition at line 53 of file metadata.cpp.
References ref_cnt, and zmq::atomic_counter_t::sub().
Referenced by zmq::stream_engine_t::~stream_engine_t().
const char * zmq::metadata_t::get | ( | const std::string & | property | ) | const |
Definition at line 39 of file metadata.cpp.
References dict.
Referenced by zmq_msg_gets().
|
private |
|
private |
Definition at line 65 of file metadata.hpp.
Referenced by get().
|
private |
Definition at line 62 of file metadata.hpp.
Referenced by add_ref(), and drop_ref().