uLib-0.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
uLib::SmartVector< T > Class Template Reference

#include <Core/Vector.h>

Inheritance diagram for uLib::SmartVector< T >:
uLib::SmartPointer< Vector< T > >

Public Member Functions

 SmartVector ()
 
 SmartVector (const SmartVector &copy)
 
 SmartVector (unsigned int size)
 
virtual ~SmartVector ()
 
T & operator[] (int p)
 
void swap_elements (unsigned int first, unsigned int second)
 
void remove_element (unsigned int index)
 
void remove_element (T &t)
 
- Public Member Functions inherited from uLib::SmartPointer< Vector< T > >
 SmartPointer (Vector< T > *ptr=NULL)
 
 SmartPointer (Vector< T > &ref)
 
 SmartPointer (const SmartPointer &copy) throw ()
 
 SmartPointer (SmartPointer *copy) throw ()
 
virtual ~SmartPointer ()
 
SmartPointeroperator= (const SmartPointer &copy)
 
Vector< T > & operator* () const throw ()
 
Vector< T > * operator-> () const throw ()
 
Vector< T > * get () const throw ()
 
bool unique () const throw ()
 

Constructor & Destructor Documentation

template<typename T >
uLib::SmartVector< T >::SmartVector ( )
inline
template<typename T >
uLib::SmartVector< T >::SmartVector ( const SmartVector< T > &  copy)
inline
template<typename T >
uLib::SmartVector< T >::SmartVector ( unsigned int  size)
inline
template<typename T >
virtual uLib::SmartVector< T >::~SmartVector ( )
inlinevirtual

Member Function Documentation

template<typename T >
T& uLib::SmartVector< T >::operator[] ( int  p)
inline
template<typename T >
void uLib::SmartVector< T >::remove_element ( unsigned int  index)
inline
template<typename T >
void uLib::SmartVector< T >::remove_element ( T &  t)
inline
template<typename T >
void uLib::SmartVector< T >::swap_elements ( unsigned int  first,
unsigned int  second 
)
inline

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