/vesta/vestasys.org/basics/generics/18/src/TestIntSeq.C File Reference

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

Include dependency graph for TestIntSeq.C:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

T Iota ( int  n  ) 

Definition at line 48 of file TestIntSeq.C.

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

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

T Rev ( const T s  ) 

Definition at line 56 of file TestIntSeq.C.

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

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Thu May 24 23:22:08 2007 for Vesta by  doxygen 1.5.1