Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

tos_ref Class Reference

#include <tos.h>

Inheritance diagram for tos_ref:

tos ro_tos List of all members.

Public Methods

 tos_ref (void)
 tos_ref (const tos_ref<elem_t> &other)
 tos_ref (tos<elem_t> *init_tos)
 ~tos_ref (void)
size_t count (void) const
bool is_empty (void) const
bool count_is (size_t test_count) const
bool is_member (elem_t the_elem) const
size_t position (elem_t the_elem) const
elem_t elem_by_num (size_t position) const
tos_handle<elem_t> lookup_handle (elem_t the_elem) const
elem_t elem_by_handle (tos_handle<elem_t> the_handle) const
tos_handle<elem_t> handle_for_num (size_t position) const
tos_handle<elem_t> next_handle (tos_handle<elem_t> the_handle) const
tos_handle<elem_t> previous_handle (tos_handle<elem_t> the_handle) const
elem_t head (void) const
elem_t tail (void) const
tos_handle<elem_t> head_handle (void) const
tos_handle<elem_t> tail_handle (void) const
void append (elem_t the_elem)
void prepend (elem_t the_elem)
void set_elem_by_num (size_t elem_num, elem_t the_elem)
void insert (size_t elem_num, elem_t the_elem)
void remove (size_t elem_num)
void set_elem_by_handle (tos_handle<elem_t> the_handle, elem_t the_elem)
void insert_before (tos_handle<elem_t> the_handle, elem_t the_elem)
void insert_after (tos_handle<elem_t> the_handle, elem_t the_elem)
void remove (tos_handle<elem_t> the_handle)
elem_t pop (void)
elem_t tail_pop (void)
void clear (void)
tos_ref& operator= (const tos_ref<elem_t> &other)
 operator ro_tos_ref (void) const


Detailed Description

template<class elem_t> class tos_ref


Constructor & Destructor Documentation

template<class elem_t>
tos_ref<elem_t>::tos_ref<elem_t> (
void)

template<class elem_t>
tos_ref<elem_t>::tos_ref<elem_t> (
const tos_ref<elem_t>& other)

template<class elem_t>
tos_ref<elem_t>::tos_ref<elem_t> (
tos<elem_t>* init_tos)

template<class elem_t>
tos_ref<elem_t>::~tos_ref<elem_t> (
void) [inline]


Member Function Documentation

template<class elem_t>
void tos_ref<elem_t>::append (
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
void tos_ref<elem_t>::clear (
void) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
size_t tos_ref<elem_t>::count (
void) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
bool tos_ref<elem_t>::count_is (
size_t test_count) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
elem_t tos_ref<elem_t>::elem_by_handle (
tos_handle<elem_t> the_handle) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
elem_t tos_ref<elem_t>::elem_by_num (
size_t position) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
tos_handle<elem_t> tos_ref<elem_t>::handle_for_num<elem_t> (
size_t position) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
elem_t tos_ref<elem_t>::head (
void) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
tos_handle<elem_t> tos_ref<elem_t>::head_handle<elem_t> (
void) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
void tos_ref<elem_t>::insert (
size_t elem_num,
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
void tos_ref<elem_t>::insert_after (
tos_handle<elem_t> the_handle,
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
void tos_ref<elem_t>::insert_before (
tos_handle<elem_t> the_handle,
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
bool tos_ref<elem_t>::is_empty (
void) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
bool tos_ref<elem_t>::is_member (
elem_t the_elem) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
tos_handle<elem_t> tos_ref<elem_t>::lookup_handle<elem_t> (
elem_t the_elem) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
tos_handle<elem_t> tos_ref<elem_t>::next_handle<elem_t> (
tos_handle<elem_t> the_handle) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
tos_ref<elem_t>::operator ro_tos_ref<elem_t> (
void) const [inline]

template<class elem_t>
tos_ref<elem_t> & tos_ref<elem_t>::operator= (
const tos_ref<elem_t>& other) [inline]

template<class elem_t>
elem_t tos_ref<elem_t>::pop (
void) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
size_t tos_ref<elem_t>::position (
elem_t the_elem) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
void tos_ref<elem_t>::prepend (
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
tos_handle<elem_t> tos_ref<elem_t>::previous_handle<elem_t> (
tos_handle<elem_t> the_handle) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
void tos_ref<elem_t>::remove (
tos_handle<elem_t> the_handle) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
void tos_ref<elem_t>::remove (
size_t elem_num) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
void tos_ref<elem_t>::set_elem_by_handle (
tos_handle<elem_t> the_handle,
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
void tos_ref<elem_t>::set_elem_by_num (
size_t elem_num,
elem_t the_elem) [inline, virtual]

Reimplemented from tos.

template<class elem_t>
elem_t tos_ref<elem_t>::tail (
void) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
tos_handle<elem_t> tos_ref<elem_t>::tail_handle<elem_t> (
void) const [inline, virtual]

Reimplemented from ro_tos.

template<class elem_t>
elem_t tos_ref<elem_t>::tail_pop (
void) [inline, virtual]

Reimplemented from tos.


The documentation for this class was generated from the following file:
Generated at Mon Jul 31 13:44:46 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000