Go to the documentation of this file.
3 #ifndef __ZMQ_ARRAY_INCLUDED__
4 #define __ZMQ_ARRAY_INCLUDED__
46 template <
typename T,
int ID = 0>
class array_t
52 typedef typename std::vector<T *>::size_type
size_type;
65 static_cast<item_t *
> (item_)->set_array_index (
66 static_cast<int> (
_items.size ()));
72 erase (
static_cast<item_t *
> (item_)->get_array_index ());
80 ->set_array_index (
static_cast<int> (
index_));
90 ->set_array_index (
static_cast<int> (index2_));
93 ->set_array_index (
static_cast<int> (index1_));
102 static_cast<item_t *
> (item_)->get_array_index ());
virtual ~array_item_t() ZMQ_DEFAULT
std::vector< T * > items_t
#define T(upbtypeconst, upbtype, ctype, default_value)
array_item_t< ID > item_t
#define ZMQ_NON_COPYABLE_NOR_MOVABLE(classname)
static size_type index(T *item_)
void swap(Json::Value &a, Json::Value &b)
Specialize std::swap() for Json::Value.
int get_array_index() const
void erase(size_type index_)
std::vector< T * >::size_type size_type
T *& operator[](size_type index_)
void set_array_index(int index_)
void swap(size_type index1_, size_type index2_)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:48