fixed_array_2d Class Template Reference
[Containers Library]

#include <stlsoft/containers/fixed_array.hpp>

Inheritance diagram for fixed_array_2d:

stl_collection_tag collection_tag

List of all members.


Detailed Description

template<typename T, typename A = typename allocator_selector<T>::allocator_type, typename P = do_construction<T>, bool R = true>
class stlsoft::fixed_array_2d< T, A, P, R >

2 dimensional fixed array

Parameters:
T The value type
A The allocator type
P The construction policy type

Public Types

typedef fixed_array_2d< T, A,
P, R > 
class_type
typedef fixed_array_1d< T, A,
P, false > 
dimension_element_type
typedef dimension_element_type const_dimension_element_type
typedef A allocator_type
typedef T value_type
typedef value_type & reference
typedef value_type const & const_reference
typedef value_type * pointer
typedef value_type const * const_pointer
typedef size_t size_type
typedef size_t index_type
typedef ss_ptrdiff_t difference_type
typedef bool bool_type
typedef pointer_iterator
< value_type, pointer,
reference >::type 
iterator
typedef pointer_iterator
< value_type const
, const_pointer,
const_reference >::type 
const_iterator

Public Member Functions

 fixed_array_2d (index_type d0, index_type d1)
 fixed_array_2d (index_type d0, index_type d1, allocator_type const &ator)
 fixed_array_2d (index_type d0, index_type d1, value_type const &t)
 fixed_array_2d (index_type d0, index_type d1, value_type const &t, allocator_type const &ator)
 fixed_array_2d (class_type const &rhs)
allocator_type get_allocator () const
void swap (class_type &rhs) throw ()
reference at (index_type i0, index_type i1)
const_reference at (index_type i0, index_type i1) const
reference at_unchecked (index_type i0, index_type i1)
const_reference at_unchecked (index_type i0, index_type i1) const
reference operator() (index_type i0, index_type i1)
const_reference operator() (index_type i0, index_type i1) const
dimension_element_type at (index_type i0)
const_dimension_element_type at (index_type i0) const
dimension_element_type at_unchecked (index_type i0)
const_dimension_element_type at_unchecked (index_type i0) const
dimension_element_type operator[] (index_type i0)
const_dimension_element_type operator[] (index_type i0) const
reference front ()
 A reference to the first element in the array.
reference back ()
const_reference front () const
const_reference back () const
index_type dimension0 () const
index_type dimension1 () const
index_type size () const
bool_type empty () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
pointer data ()
const_pointer data () const

Static Public Member Functions

static size_type max_size ()

Member Function Documentation

reference front (  ) 

A reference to the first element in the array.


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

Generated on Thu Jun 10 08:58:41 2010 for STLSoft by  doxygen 1.5.6