mUPnP for C++
mUPnP::SharedVector< T > Class Template Reference

#include <Vector.h>

Inheritance diagram for mUPnP::SharedVector< T >:

Public Member Functions

 SharedVector ()
 
 ~SharedVector ()
 
bool add (mupnp_shared_ptr< T > obj)
 
bool add (T *obj)
 
bool insertAt (T *obj, size_t index)
 
mupnp_shared_ptr< T > get (size_t index)
 
bool exists (mupnp_shared_ptr< T > obj)
 
bool exists (T *obj)
 
ssize_t indexOf (mupnp_shared_ptr< T > obj)
 
ssize_t indexOf (T *obj)
 
bool remove (size_t idx)
 
bool remove (mupnp_shared_ptr< T > obj)
 
bool remove (T *obj)
 

Constructor & Destructor Documentation

◆ SharedVector()

template<typename T >
mUPnP::SharedVector< T >::SharedVector ( )
inline

◆ ~SharedVector()

template<typename T >
mUPnP::SharedVector< T >::~SharedVector ( )
inline

Member Function Documentation

◆ add() [1/2]

template<typename T >
bool mUPnP::SharedVector< T >::add ( mupnp_shared_ptr< T > obj)
inline

◆ add() [2/2]

template<typename T >
bool mUPnP::SharedVector< T >::add ( T * obj)
inline

◆ exists() [1/2]

template<typename T >
bool mUPnP::SharedVector< T >::exists ( mupnp_shared_ptr< T > obj)
inline

◆ exists() [2/2]

template<typename T >
bool mUPnP::SharedVector< T >::exists ( T * obj)
inline

◆ get()

template<typename T >
mupnp_shared_ptr< T > mUPnP::SharedVector< T >::get ( size_t index)
inline

◆ indexOf() [1/2]

template<typename T >
ssize_t mUPnP::SharedVector< T >::indexOf ( mupnp_shared_ptr< T > obj)
inline

◆ indexOf() [2/2]

template<typename T >
ssize_t mUPnP::SharedVector< T >::indexOf ( T * obj)
inline

◆ insertAt()

template<typename T >
bool mUPnP::SharedVector< T >::insertAt ( T * obj,
size_t index )
inline

◆ remove() [1/3]

template<typename T >
bool mUPnP::SharedVector< T >::remove ( mupnp_shared_ptr< T > obj)
inline

◆ remove() [2/3]

template<typename T >
bool mUPnP::SharedVector< T >::remove ( size_t idx)
inline

◆ remove() [3/3]

template<typename T >
bool mUPnP::SharedVector< T >::remove ( T * obj)
inline

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