libzmq master
The Intelligent Transport Layer
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes

zmq::array_t< T, ID > Class Template Reference

#include <array.hpp>

Inheritance diagram for zmq::array_t< T, ID >:

List of all members.

Public Types

typedef std::vector< T * >
::size_type 
size_type

Public Member Functions

 array_t ()
 ~array_t ()
void clear ()
bool empty ()
void erase (size_type index_)
void erase (T *item_)
size_type index (T *item_)
T *& operator[] (size_type index_)
void push_back (T *item_)
size_type size ()
void swap (size_type index1_, size_type index2_)

Private Types

typedef array_item_t< ID > item_t
typedef std::vector< T * > items_t

Private Member Functions

 array_t (const array_t &)
const array_toperator= (const array_t &)

Private Attributes

items_t items

Detailed Description

template<typename T, int ID = 0>
class zmq::array_t< T, ID >

Definition at line 73 of file array.hpp.


Member Typedef Documentation

template<typename T, int ID = 0>
typedef array_item_t<ID> zmq::array_t< T, ID >::item_t [private]

Definition at line 77 of file array.hpp.

template<typename T, int ID = 0>
typedef std::vector<T*> zmq::array_t< T, ID >::items_t [private]

Definition at line 145 of file array.hpp.

template<typename T, int ID = 0>
typedef std::vector<T*>::size_type zmq::array_t< T, ID >::size_type

Definition at line 81 of file array.hpp.


Constructor & Destructor Documentation

template<typename T, int ID = 0>
zmq::array_t< T, ID >::array_t ( ) [inline]

Definition at line 83 of file array.hpp.

template<typename T, int ID = 0>
zmq::array_t< T, ID >::~array_t ( ) [inline]

Definition at line 87 of file array.hpp.

template<typename T, int ID = 0>
zmq::array_t< T, ID >::array_t ( const array_t< T, ID > &  ) [private]

Member Function Documentation

template<typename T, int ID = 0>
void zmq::array_t< T, ID >::clear ( ) [inline]

Definition at line 133 of file array.hpp.

template<typename T, int ID = 0>
bool zmq::array_t< T, ID >::empty ( ) [inline]

Definition at line 96 of file array.hpp.

template<typename T, int ID = 0>
void zmq::array_t< T, ID >::erase ( T *  item_) [inline]

Definition at line 113 of file array.hpp.

Referenced by zmq::array_t< class pipe_t, 2 >::erase().

Here is the caller graph for this function:

template<typename T, int ID = 0>
void zmq::array_t< T, ID >::erase ( size_type  index_) [inline]

Definition at line 117 of file array.hpp.

template<typename T, int ID = 0>
size_type zmq::array_t< T, ID >::index ( T *  item_) [inline]

Definition at line 138 of file array.hpp.

template<typename T, int ID = 0>
const array_t& zmq::array_t< T, ID >::operator= ( const array_t< T, ID > &  ) [private]
template<typename T, int ID = 0>
T*& zmq::array_t< T, ID >::operator[] ( size_type  index_) [inline]

Definition at line 101 of file array.hpp.

template<typename T, int ID = 0>
void zmq::array_t< T, ID >::push_back ( T *  item_) [inline]

Definition at line 106 of file array.hpp.

template<typename T, int ID = 0>
size_type zmq::array_t< T, ID >::size ( ) [inline]

Definition at line 91 of file array.hpp.

template<typename T, int ID = 0>
void zmq::array_t< T, ID >::swap ( size_type  index1_,
size_type  index2_ 
) [inline]

Definition at line 124 of file array.hpp.

Referenced by zmq::array_t< class pipe_t, 2 >::swap().

Here is the caller graph for this function:


Member Data Documentation

template<typename T, int ID = 0>
items_t zmq::array_t< T, ID >::items [private]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines