Array.hpp File Reference

Template data structure of type 'dynamically allocated array' (class Array<T>). More...

#include <cstring>
#include <cstdlib>
#include <new>
#include <iostream>
#include "sgfatal.hpp"

Include dependency graph for Array.hpp:

This graph shows which files directly or indirectly include this file:


Classes

class  Array< T >
 Template data structure of type array. More...

Functions

template<typename T>
std::ostream & operator<< (std::ostream &out, const Array< T > &array)
 The C++-style output operator.
template<typename T>
std::istream & operator>> (std::istream &in, Array< T > &array)
 The C++-style input operator.

Detailed Description

Template data structure of type 'dynamically allocated array' (class Array<T>).

Template data structure of type 'dynamically allocated array'. This is a base for all the main SG data structures.

Date:
June 29, 2004 - created

Function Documentation

template<typename T>
std::ostream& operator<< ( std::ostream &  out,
const Array< T > &  array 
) [inline]

The C++-style output operator.

Parameters:
[in] out std::ostream to which the array will be dumped.
[in] array The array to dump to the std::ostream.
Returns:
Used std::ostream.

template<typename T>
std::istream& operator>> ( std::istream &  in,
Array< T > &  array 
) [inline]

The C++-style input operator.

Parameters:
[in] in The std::istream to obtain data from.
[in] array The array to be filled with data.
Returns:
The used std::istream.


Generated on Fri Sep 21 12:32:50 2007 for SG2 by  doxygen 1.5.2