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

fix_vector< T, _size > Class Template Reference

#include <fixvect.hpp>

List of all members.

Public Types

typedef T value_type
typedef T & reference
typedef const T & const_reference
typedef T * iterator
typedef const T * const_iterator
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef std::reverse_iterator<
const_iterator, value_type,
const_reference, difference_type
const_reverse_iterator
typedef std::reverse_iterator<
iterator, value_type, reference,
difference_type
reverse_iterator

Public Methods

iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
size_type capacity () const
bool empty () const
reference operator[] (size_type n)
const_reference operator[] (size_type n) const
reference front ()
const_reference front () const
reference back ()
const_reference back () const

Private Attributes

info [_size]

template<class T, unsigned _size>
class fix_vector< T, _size >


Member Typedef Documentation

template<class T, unsigned _size>
typedef const T* fix_vector< T, _size >::const_iterator
 

Definition at line 36 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::begin(), and fix_vector< T, _size >::end().

template<class T, unsigned _size>
typedef const T& fix_vector< T, _size >::const_reference
 

Definition at line 34 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::back(), fix_vector< T, _size >::front(), and fix_vector< T, _size >::operator[]().

template<class T, unsigned _size>
typedef std::reverse_iterator<const_iterator, value_type, const_reference, difference_type> fix_vector< T, _size >::const_reverse_iterator
 

Definition at line 42 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::rbegin(), and fix_vector< T, _size >::rend().

template<class T, unsigned _size>
typedef ptrdiff_t fix_vector< T, _size >::difference_type
 

Definition at line 38 of file fixvect.hpp.

template<class T, unsigned _size>
typedef T* fix_vector< T, _size >::iterator
 

Definition at line 35 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::begin(), and fix_vector< T, _size >::end().

template<class T, unsigned _size>
typedef T& fix_vector< T, _size >::reference
 

Definition at line 33 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::back(), fix_vector< T, _size >::front(), and fix_vector< T, _size >::operator[]().

template<class T, unsigned _size>
typedef std::reverse_iterator<iterator, value_type, reference, difference_type> fix_vector< T, _size >::reverse_iterator
 

Definition at line 45 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::rbegin(), and fix_vector< T, _size >::rend().

template<class T, unsigned _size>
typedef size_t fix_vector< T, _size >::size_type
 

Definition at line 37 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::capacity(), fix_vector< T, _size >::operator[](), and fix_vector< T, _size >::size().

template<class T, unsigned _size>
typedef T fix_vector< T, _size >::value_type
 

Definition at line 32 of file fixvect.hpp.


Member Function Documentation

template<class T, unsigned _size>
const_reference fix_vector< T, _size >::back   const [inline]
 

Definition at line 86 of file fixvect.hpp.

References fix_vector< T, _size >::const_reference, and fix_vector< T, _size >::end().

00086 { return *(end() - 1); }

template<class T, unsigned _size>
reference fix_vector< T, _size >::back   [inline]
 

Definition at line 85 of file fixvect.hpp.

References fix_vector< T, _size >::end(), and fix_vector< T, _size >::reference.

00085 { return *(end() - 1); }

template<class T, unsigned _size>
const_iterator fix_vector< T, _size >::begin   const [inline]
 

Definition at line 53 of file fixvect.hpp.

References fix_vector< T, _size >::const_iterator, and fix_vector< T, _size >::info.

00053 { return info; }

template<class T, unsigned _size>
iterator fix_vector< T, _size >::begin   [inline]
 

Definition at line 52 of file fixvect.hpp.

References fix_vector< T, _size >::info, and fix_vector< T, _size >::iterator.

Referenced by fix_vector< T, _size >::rend().

00052 { return info; }

template<class T, unsigned _size>
size_type fix_vector< T, _size >::capacity   const [inline]
 

Definition at line 77 of file fixvect.hpp.

References fix_vector< T, _size >::size_type.

00077 { return _size; }

template<class T, unsigned _size>
bool fix_vector< T, _size >::empty   const [inline]
 

Definition at line 78 of file fixvect.hpp.

00078 { return false; }

template<class T, unsigned _size>
const_iterator fix_vector< T, _size >::end   const [inline]
 

Definition at line 55 of file fixvect.hpp.

References fix_vector< T, _size >::const_iterator, and fix_vector< T, _size >::info.

00055 { return info+_size; }

template<class T, unsigned _size>
iterator fix_vector< T, _size >::end   [inline]
 

Definition at line 54 of file fixvect.hpp.

References fix_vector< T, _size >::info, and fix_vector< T, _size >::iterator.

Referenced by fix_vector< T, _size >::back(), and fix_vector< T, _size >::rbegin().

00054 { return info+_size; }

template<class T, unsigned _size>
const_reference fix_vector< T, _size >::front   const [inline]
 

Definition at line 84 of file fixvect.hpp.

References fix_vector< T, _size >::const_reference, and fix_vector< T, _size >::info.

00084 { return info[0]; }

template<class T, unsigned _size>
reference fix_vector< T, _size >::front   [inline]
 

Definition at line 83 of file fixvect.hpp.

References fix_vector< T, _size >::info, and fix_vector< T, _size >::reference.

00083 { return info[0]; }

template<class T, unsigned _size>
const_reference fix_vector< T, _size >::operator[] size_type    n const [inline]
 

Definition at line 82 of file fixvect.hpp.

References fix_vector< T, _size >::const_reference, fix_vector< T, _size >::info, and fix_vector< T, _size >::size_type.

00082 { return info[n]; }

template<class T, unsigned _size>
reference fix_vector< T, _size >::operator[] size_type    n [inline]
 

Definition at line 81 of file fixvect.hpp.

References fix_vector< T, _size >::info, fix_vector< T, _size >::reference, and fix_vector< T, _size >::size_type.

00081 { return info[n]; }

template<class T, unsigned _size>
const_reverse_iterator fix_vector< T, _size >::rbegin   const [inline]
 

Definition at line 62 of file fixvect.hpp.

References fix_vector< T, _size >::const_reverse_iterator, and fix_vector< T, _size >::end().

00063   {
00064     return const_reverse_iterator(end());
00065   }

template<class T, unsigned _size>
reverse_iterator fix_vector< T, _size >::rbegin   [inline]
 

Definition at line 58 of file fixvect.hpp.

References fix_vector< T, _size >::end(), and fix_vector< T, _size >::reverse_iterator.

00059   {
00060     return reverse_iterator(end());
00061   }

template<class T, unsigned _size>
const_reverse_iterator fix_vector< T, _size >::rend   const [inline]
 

Definition at line 70 of file fixvect.hpp.

References fix_vector< T, _size >::begin(), and fix_vector< T, _size >::const_reverse_iterator.

00071   {
00072     return const_reverse_iterator(begin());
00073   }

template<class T, unsigned _size>
reverse_iterator fix_vector< T, _size >::rend   [inline]
 

Definition at line 66 of file fixvect.hpp.

References fix_vector< T, _size >::begin(), and fix_vector< T, _size >::reverse_iterator.

00067   {
00068     return reverse_iterator(begin());
00069   }

template<class T, unsigned _size>
size_type fix_vector< T, _size >::size   const [inline]
 

Definition at line 76 of file fixvect.hpp.

References fix_vector< T, _size >::size_type.

00076 { return _size; }


Member Data Documentation

template<class T, unsigned _size>
T fix_vector< T, _size >::info[_size] [private]
 

Definition at line 88 of file fixvect.hpp.

Referenced by fix_vector< T, _size >::begin(), fix_vector< T, _size >::end(), fix_vector< T, _size >::front(), and fix_vector< T, _size >::operator[]().


The documentation for this class was generated from the following file:
Generated on Mon Jan 13 22:20:36 2003 for perdr by doxygen1.2.15