Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

TestIntSeq.C File Reference

#include <limits.h>
#include <stdlib.h>
#include <Basics.H>
#include "Sequence.H"
#include <algorithm>

Go to the source code of this file.

Typedefs

typedef Sequence< int > T

Functions

bool Eq (const T &s, const T &t)
T Iota (int n)
T Rev (const T &s)
T Sort (const T &s)
T Rev_Iter (T &s)
int main ()


Typedef Documentation

typedef Sequence<int> T
 

Definition at line 34 of file TestIntSeq.C.


Function Documentation

bool Eq const T s,
const T t
 

Definition at line 39 of file TestIntSeq.C.

References Sequence< Elem, elem_ptrfree >::get(), and Sequence< Elem, elem_ptrfree >::size().

Referenced by main().

T Iota int  n  ) 
 

Definition at line 48 of file TestIntSeq.C.

References Sequence< Elem, elem_ptrfree >::addhi().

Referenced by main().

int main void   ) 
 

Definition at line 80 of file TestIntSeq.C.

References Sequence< Elem, elem_ptrfree >::addhi(), Sequence< Elem, elem_ptrfree >::cat(), Eq(), Sequence< Elem, elem_ptrfree >::get(), Iota(), Sequence< Elem, elem_ptrfree >::put(), Sequence< Elem, elem_ptrfree >::remhi(), Sequence< Elem, elem_ptrfree >::remlo(), Rev(), Rev_Iter(), Sequence< Elem, elem_ptrfree >::size(), and Sort().

T Rev const T s  ) 
 

Definition at line 56 of file TestIntSeq.C.

References Sequence< Elem, elem_ptrfree >::addlo().

Referenced by main().

T Rev_Iter T s  ) 
 

Definition at line 72 of file TestIntSeq.C.

References Sequence< Elem, elem_ptrfree >::addlo(), Sequence< Elem, elem_ptrfree >::begin(), Sequence< Elem, elem_ptrfree >::end(), and Sequence< Elem, elem_ptrfree >::size().

Referenced by main().

T Sort const T s  ) 
 

Definition at line 65 of file TestIntSeq.C.

References Sequence< Elem, elem_ptrfree >::begin(), and Sequence< Elem, elem_ptrfree >::end().

Referenced by main().


Generated on Mon May 8 00:49:00 2006 for Vesta by  doxygen 1.4.2