19 #ifndef _TLP_GEO_ARRAY_H
20 #define _TLP_GEO_ARRAY_H
24 #include <tulip/tulipconf.h>
36 template <
typename Obj,
unsigned int SIZE>
48 inline Obj
operator[](
const unsigned int i)
const;
58 template <
typename Obj,
unsigned int SIZE>
65 std::ostream& operator<<(std::ostream &os,const Array<Obj,SIZE> &array);
67 template <
typename Obj,
unsigned int SIZE>
80 #include "cxx/Array.cxx"
Obj array[SIZE]
array The underlying array of data.
std::istream & operator>>(std::istream &is, Array< Obj, SIZE > &array)
operator >> stream operator to easily read an array
Obj operator[](const unsigned int i) const
operator [] Read-only accessor.
Fixed-size array encapsulation.In debug mode, a bound check is performed at each access. Stream operators implementations are provided.