Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

globalarray.h File Reference

Allows global C++ arrays to be wrapped neatly in Python. More...

#include <boost/python.hpp>

Namespaces

namespace  regina
namespace  regina::python

Functions

template<typename T, class ReturnValuePolicy>
std::ostream & operator<< (std::ostream &out, const GlobalArray< T, ReturnValuePolicy > &arr)
 Writes a string representation of the given array, including all of its elements, to the given output stream.
template<typename T, class ReturnValuePolicy>
std::ostream & operator<< (std::ostream &out, const GlobalArray2D< T, ReturnValuePolicy > &arr)
 Writes a string representation of the given array, including all of its elements, to the given output stream.
template<typename T, class ReturnValuePolicy>
std::ostream & operator<< (std::ostream &out, const GlobalArray3D< T, ReturnValuePolicy > &arr)
 Writes a string representation of the given array, including all of its elements, to the given output stream.


Detailed Description

Allows global C++ arrays to be wrapped neatly in Python.


Function Documentation

template<typename T, class ReturnValuePolicy>
std::ostream& operator<< std::ostream &  out,
const GlobalArray3D< T, ReturnValuePolicy > &  arr
 

Writes a string representation of the given array, including all of its elements, to the given output stream.

Parameters:
out the output stream to which to write.
arr the array whose contents are to be written.
Returns:
the given output stream.

template<typename T, class ReturnValuePolicy>
std::ostream& operator<< std::ostream &  out,
const GlobalArray2D< T, ReturnValuePolicy > &  arr
 

Writes a string representation of the given array, including all of its elements, to the given output stream.

Parameters:
out the output stream to which to write.
arr the array whose contents are to be written.
Returns:
the given output stream.

template<typename T, class ReturnValuePolicy>
std::ostream& operator<< std::ostream &  out,
const GlobalArray< T, ReturnValuePolicy > &  arr
 

Writes a string representation of the given array, including all of its elements, to the given output stream.

Parameters:
out the output stream to which to write.
arr the array whose contents are to be written.
Returns:
the given output stream.


Copyright © 1999-2004, Ben Burton
This software is released under the GNU General Public License.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).