Raul::Array< T > Class Template Reference

An array. More...

#include <Array.hpp>

Inherits Raul::Deletable.

Collaboration diagram for Raul::Array< T >:
Collaboration graph

List of all members.

Public Member Functions

 Array (size_t size=0)
 Array (size_t size, T initial_value)
 Array (size_t size, const Array< T > &contents)
void alloc (size_t num_elems)
void alloc (size_t num_elems, T initial_value)
void push_back (T n)
size_t size () const
T & operator[] (size_t i) const
T & at (size_t i) const

Detailed Description

template<class T>
class Raul::Array< T >

An array.

Has a stack-like push_back(), but is NOT a resizeable array (the size given to the constructor or alloc method is the maximum number of elements which can be pushed).


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

Generated on 31 Mar 2010 for RAUL by  doxygen 1.6.1