Public Member Functions | Private Attributes | List of all members
zmq::blob_t Struct Reference

#include <blob.hpp>

Public Member Functions

 blob_t ()
 
 blob_t (const blob_t &other)
 
 blob_t (const size_t size_)
 
 blob_t (const unsigned char *const data_, const size_t size_)
 
 blob_t (unsigned char *const data_, const size_t size_, reference_tag_t)
 
void clear ()
 
unsigned char * data ()
 
const unsigned char * data () const
 
bool operator< (blob_t const &other_) const
 
blob_toperator= (const blob_t &other)
 
void set (const unsigned char *const data_, const size_t size_)
 
void set_deep_copy (blob_t const &other_)
 
size_t size () const
 
 ~blob_t ()
 

Private Attributes

unsigned char * _data
 
bool _owned
 
size_t _size
 

Detailed Description

Definition at line 46 of file blob.hpp.

Constructor & Destructor Documentation

◆ blob_t() [1/5]

zmq::blob_t::blob_t ( )
inline

Definition at line 49 of file blob.hpp.

◆ blob_t() [2/5]

zmq::blob_t::blob_t ( const size_t  size_)
inlineexplicit

Definition at line 52 of file blob.hpp.

◆ blob_t() [3/5]

zmq::blob_t::blob_t ( const unsigned char *const  data_,
const size_t  size_ 
)
inline

Definition at line 62 of file blob.hpp.

◆ blob_t() [4/5]

zmq::blob_t::blob_t ( unsigned char *const  data_,
const size_t  size_,
reference_tag_t   
)
inline

Definition at line 77 of file blob.hpp.

◆ ~blob_t()

zmq::blob_t::~blob_t ( )
inline

Definition at line 135 of file blob.hpp.

◆ blob_t() [5/5]

zmq::blob_t::blob_t ( const blob_t other)
inline

Definition at line 164 of file blob.hpp.

Member Function Documentation

◆ clear()

void zmq::blob_t::clear ( )
inline

Definition at line 126 of file blob.hpp.

◆ data() [1/2]

unsigned char* zmq::blob_t::data ( )
inline

Definition at line 89 of file blob.hpp.

◆ data() [2/2]

const unsigned char* zmq::blob_t::data ( ) const
inline

Definition at line 86 of file blob.hpp.

◆ operator<()

bool zmq::blob_t::operator< ( blob_t const &  other_) const
inline

Definition at line 92 of file blob.hpp.

◆ operator=()

blob_t& zmq::blob_t::operator= ( const blob_t other)
inline

Definition at line 168 of file blob.hpp.

◆ set()

void zmq::blob_t::set ( const unsigned char *const  data_,
const size_t  size_ 
)
inline

Definition at line 113 of file blob.hpp.

◆ set_deep_copy()

void zmq::blob_t::set_deep_copy ( blob_t const &  other_)
inline

Definition at line 100 of file blob.hpp.

◆ size()

size_t zmq::blob_t::size ( ) const
inline

Definition at line 83 of file blob.hpp.

Member Data Documentation

◆ _data

unsigned char* zmq::blob_t::_data
private

Definition at line 179 of file blob.hpp.

◆ _owned

bool zmq::blob_t::_owned
private

Definition at line 181 of file blob.hpp.

◆ _size

size_t zmq::blob_t::_size
private

Definition at line 180 of file blob.hpp.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:11