Givaro
Data Structures | Public Member Functions | Protected Attributes | Friends
List0< T > Class Template Reference

ListO. More...

#include <givlist0.h>

+ Collaboration diagram for List0< T >:

Data Structures

class  Iterator
struct  node

Public Member Functions

 List0 ()
 List0 (const List0< T > &p)
 ~List0 ()
void destroy ()
List0< T > & copy (const List0< T > &p)
List0< T > & logcopy (const List0< T > &p)
List0< T > & operator= (const List0< T > &p)
int is_empty () const
size_t size () const
void insertlast (const T &)
void insertfirst (const T &)
int getlast (T &item) const
int getfirst (T &item) const
int getrmvlast (T &item)
int getrmvfirst (T &item)

Protected Attributes

size_t _size
node_head
node_queue

Friends

class Iterator

Detailed Description

template<class T>
class Givaro::List0< T >

ListO.


Constructor & Destructor Documentation

List0 ( )
inline
List0 ( const List0< T > &  p)
inline
~List0 ( )
inline

Member Function Documentation

void destroy ( )
inline
List0< T > & copy ( const List0< T > &  p)
inline
List0< T > & logcopy ( const List0< T > &  p)
inline
List0< T > & operator= ( const List0< T > &  p)
inline
int is_empty ( ) const
inline
size_t size ( ) const
inline
void insertlast ( const T &  val)
void insertfirst ( const T &  val)
int getlast ( T &  item) const
int getfirst ( T &  item) const
int getrmvlast ( T &  item)
int getrmvfirst ( T &  item)

Friends And Related Function Documentation

friend class Iterator
friend

Field Documentation

size_t _size
protected
node* _head
protected
node* _queue
protected

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