Array< T, SIZE > Class Template Reference

A simple object wrapper for arrays. More...

#include <Array.h++>

Collaboration diagram for Array< T, SIZE >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef T value_type
typedef T * iterator
typedef const T * const_iterator
typedef T & reference
typedef const T & const_reference

Public Member Functions

 Array () throw ()
 ~Array () throw ()
T & operator[] (int index) throw (OutOfBoundsException)
T & operator[] (uint_t index) throw (OutOfBoundsException)
const T & operator[] (int index) const throw (OutOfBoundsException)
const T & operator[] (uint_t index) const throw (OutOfBoundsException)
 operator T * () throw ()
iterator begin () throw ()
const_iterator begin () const throw ()
iterator end () throw ()
const_iterator end () const throw ()
size_t size () const throw ()


Detailed Description

template<typename T, size_t SIZE>
class ccxx::Array< T, SIZE >

A simple object wrapper for arrays.

See section 17.5.4 of The C++ Programming Language.

Author:
Mark Lindner

Member Typedef Documentation

typedef const T* const_iterator

typedef const T& const_reference

typedef T* iterator

typedef T& reference

typedef T value_type


Constructor & Destructor Documentation

Array (  )  throw () [inline]

~Array (  )  throw () [inline]


Member Function Documentation

const_iterator begin (  )  const throw () [inline]

iterator begin (  )  throw () [inline]

const_iterator end (  )  const throw () [inline]

iterator end (  )  throw () [inline]

operator T * (  )  throw () [inline]

const T& operator[] ( uint_t  index  )  const throw (OutOfBoundsException) [inline]

const T& operator[] ( int  index  )  const throw (OutOfBoundsException) [inline]

T& operator[] ( uint_t  index  )  throw (OutOfBoundsException) [inline]

T& operator[] ( int  index  )  throw (OutOfBoundsException) [inline]

size_t size (  )  const throw () [inline]


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

Generated on Sat Apr 17 23:03:07 2010 for libcommonc++ by  doxygen 1.5.9