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

Classes

class  regina::python::GlobalArray< T, ReturnValuePolicy >
 A template class that references a constant one-dimensional C++ array. More...
class  regina::python::GlobalArray2D< T, ReturnValuePolicy >
 A template class that references a constant two-dimensional C++ array. More...
class  regina::python::GlobalArray3D< T, ReturnValuePolicy >
 A template class that references a constant three-dimensional C++ array. More...

Functions

template<typename T, class ReturnValuePolicy>
std::ostream & regina::python::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 & regina::python::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 & regina::python::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.


Copyright © 1999-2006, 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).