Public Member Functions | Data Fields

List< C, A > Struct Template Reference

#include <List.h>

Public Member Functions

first ()
car ()
ConsCell< C, A > * rest ()
ConsCell< C, A > * cdr ()
void push (C a)
void push ()
pop ()
void clear ()
void reverse ()
 List (C acar)
 List (C a, C b)
 List (C a, C b, C c)
 List ()

Data Fields

ConsCell< C, A > * head

Detailed Description

template<class C, class A = DefaultAlloc>
struct List< C, A >

Definition at line 440 of file List.h.


Constructor & Destructor Documentation

template<class C, class A = DefaultAlloc>
List< C, A >::List ( acar  )  [inline]

Definition at line 451 of file List.h.

template<class C, class A = DefaultAlloc>
List< C, A >::List ( a,
b 
) [inline]

Definition at line 452 of file List.h.

template<class C, class A = DefaultAlloc>
List< C, A >::List ( a,
b,
c 
) [inline]

Definition at line 453 of file List.h.

template<class C, class A = DefaultAlloc>
List< C, A >::List (  )  [inline]

Definition at line 454 of file List.h.


Member Function Documentation

template<class C, class A = DefaultAlloc>
C List< C, A >::car (  )  [inline]

Definition at line 443 of file List.h.

Referenced by List< K >::pop().

template<class C, class A = DefaultAlloc>
ConsCell<C,A>* List< C, A >::cdr (  )  [inline]

Definition at line 445 of file List.h.

Referenced by List< K >::pop().

template<class C, class A = DefaultAlloc>
void List< C, A >::clear ( void   )  [inline]

Definition at line 449 of file List.h.

Referenced by Env< K, C, A >::clear().

template<class C, class A = DefaultAlloc>
C List< C, A >::first (  )  [inline]

Definition at line 442 of file List.h.

Referenced by List< K >::car(), and Env< K, C, A >::pop().

template<class C, class A = DefaultAlloc>
C List< C, A >::pop (  )  [inline]

Definition at line 448 of file List.h.

template<class C, class A = DefaultAlloc>
void List< C, A >::push ( a  )  [inline]
template<class C, class A = DefaultAlloc>
void List< C, A >::push (  )  [inline]

Definition at line 447 of file List.h.

template<class C, class A = DefaultAlloc>
ConsCell<C,A>* List< C, A >::rest (  )  [inline]

Definition at line 444 of file List.h.

Referenced by List< K >::cdr().

template<class C , class A >
void List< C, A >::reverse (  ) 

Definition at line 459 of file List.h.

References ConsCell< C, A >::cdr, and List< C, A >::head.


Field Documentation

template<class C, class A = DefaultAlloc>
ConsCell<C,A>* List< C, A >::head

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