arrays.h File Reference

#include "rutz/algo.h"
#include "rutz/atomic.h"
#include <cstddef>
Include dependency graph for arrays.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rutz::out_of_range
 Exception class for range errors. More...
struct  rutz::static_block< T, N >
 A simple wrapper around a C-style array. More...
class  rutz::fixed_block< T >
 A dynamically-allocated array whose size is fixed at construction. More...
class  rutz::shared_array< T >
 A reference-counted smart pointer for arrays. More...
class  rutz::dynamic_block< T >
 A dynamically-allocated array whose size may be changed at runtime. More...

Namespaces

namespace  rutz
 

Auxiliary helper namespace used in implementing shared_ptr.


Functions

template<class T , std::size_t N>
T * rutz::array_begin (T(&array)[N])
 Get a pointer to the beginning of a C-style array.
template<class T , std::size_t N>
T * rutz::array_end (T(&array)[N])
 Get a pointer to the one-past-the-end of a C-style array.
template<class T , std::size_t N>
const T * rutz::array_begin (T const (&array)[N])
 Get a pointer to the beginning of a C-style const array.
template<class T , std::size_t N>
const T * rutz::array_end (T const (&array)[N])
 Get a pointer to the one-past-the-end of a C-style const array.
template<typename T >
bool rutz::operator== (const shared_array< T > &a, const shared_array< T > &b)
 Equality for shared_array; returns true if both have the same pointee.
template<typename T >
bool rutz::operator!= (const shared_array< T > &a, const shared_array< T > &b)
 Inequality for shared_array; returns true if each has different pointees.
static const char __attribute__ ((used)) vcid_groovx_rutz_arrays_h_utc20050626084020[]

Detailed Description

STL-style array classes similar to std::vector but much more lightweight

Definition in file arrays.h.

Generated on Sun May 8 08:42:50 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3