Fonctions membres publiques | Liste de tous les membres
Référence du modèle de la classe LinkedList< T >

#include <LinkedList.h>

Fonctions membres publiques

 LinkedList ()
 
 LinkedList (int sizeIndex, T _t)
 
 ~LinkedList ()
 
virtual int size ()
 
virtual bool add (int index, T)
 
virtual bool add (T)
 
virtual bool unshift (T)
 
virtual bool set (int index, T)
 
virtual T remove (int index)
 
virtual T pop ()
 
virtual T shift ()
 
virtual T get (int index)
 
virtual void clear ()
 
virtual void sort (int(*cmp)(T &, T &))
 
virtual bool contains (T t)
 
T & operator[] (int index)
 
T & operator[] (size_t &i)
 
const T & operator[] (const size_t &i) const
 

Documentation des constructeurs et destructeur

◆ LinkedList() [1/2]

template<typename T >
LinkedList< T >::LinkedList ( )

◆ LinkedList() [2/2]

template<typename T >
LinkedList< T >::LinkedList ( int  sizeIndex,
_t 
)

◆ ~LinkedList()

template<typename T >
LinkedList< T >::~LinkedList ( )

Documentation des fonctions membres

◆ add() [1/2]

template<typename T >
bool LinkedList< T >::add ( int  index,
_t 
)
virtual

◆ add() [2/2]

template<typename T >
bool LinkedList< T >::add ( _t)
virtual

◆ clear()

template<typename T >
void LinkedList< T >::clear ( )
virtual

◆ contains()

template<typename T >
bool LinkedList< T >::contains ( t)
virtual

◆ get()

template<typename T >
T LinkedList< T >::get ( int  index)
virtual

◆ operator[]() [1/3]

template<typename T >
T & LinkedList< T >::operator[] ( int  index)
inline

◆ operator[]() [2/3]

template<typename T >
T& LinkedList< T >::operator[] ( size_t &  i)
inline

◆ operator[]() [3/3]

template<typename T >
const T& LinkedList< T >::operator[] ( const size_t &  i) const
inline

◆ pop()

template<typename T >
T LinkedList< T >::pop ( )
virtual

◆ remove()

template<typename T >
T LinkedList< T >::remove ( int  index)
virtual

◆ set()

template<typename T >
bool LinkedList< T >::set ( int  index,
_t 
)
virtual

◆ shift()

template<typename T >
T LinkedList< T >::shift ( )
virtual

◆ size()

template<typename T >
int LinkedList< T >::size ( )
virtual

◆ sort()

template<typename T >
void LinkedList< T >::sort ( int(*)(T &, T &)  cmp)
virtual

◆ unshift()

template<typename T >
bool LinkedList< T >::unshift ( _t)
virtual