dsalglib  1.0.0
dsalglib is a ready to use data structures and algorithms library written in C++ . Object Oriented Template implementations are written.
Classes | Public Member Functions | List of all members
dsa::linklist< type > Class Template Reference

#include <linklist.h>

Public Member Functions

 linklist ()
 
bool isempty ()
 
void clear ()
 
long long int size ()
 
void operator= (linklist< type > from)
 
type & operator[] (long long int index)
 
void add_back (type param)
 
void add_front (type param)
 
void pop_front ()
 
void pop_back ()
 
long long int search (type svalue)
 
void remove (type rvalue)
 
void remove_at (long long int index)
 
void traverse (void(fun)(type obj))
 

Detailed Description

template<class type>
class dsa::linklist< type >

Definition at line 10 of file linklist.h.

Constructor & Destructor Documentation

template<class type>
dsa::linklist< type >::linklist ( )
inline

Definition at line 44 of file linklist.h.

Member Function Documentation

template<class type>
void dsa::linklist< type >::add_back ( type  param)
inline

Definition at line 134 of file linklist.h.

template<class type>
void dsa::linklist< type >::add_front ( type  param)
inline

Definition at line 161 of file linklist.h.

template<class type>
void dsa::linklist< type >::clear ( )
inline

Definition at line 69 of file linklist.h.

template<class type>
bool dsa::linklist< type >::isempty ( )
inline

Definition at line 56 of file linklist.h.

template<class type>
void dsa::linklist< type >::operator= ( linklist< type >  from)
inline

Definition at line 93 of file linklist.h.

template<class type>
type& dsa::linklist< type >::operator[] ( long long int  index)
inline

Definition at line 114 of file linklist.h.

template<class type>
void dsa::linklist< type >::pop_back ( )
inline

Definition at line 223 of file linklist.h.

template<class type>
void dsa::linklist< type >::pop_front ( )
inline

Definition at line 187 of file linklist.h.

template<class type>
void dsa::linklist< type >::remove ( type  rvalue)
inline

Definition at line 276 of file linklist.h.

template<class type>
void dsa::linklist< type >::remove_at ( long long int  index)
inline

Definition at line 313 of file linklist.h.

template<class type>
long long int dsa::linklist< type >::search ( type  svalue)
inline

Definition at line 254 of file linklist.h.

template<class type>
long long int dsa::linklist< type >::size ( )
inline

Definition at line 83 of file linklist.h.

template<class type>
void dsa::linklist< type >::traverse ( void(fun)(type obj)  )
inline

Definition at line 342 of file linklist.h.


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