Regina 7.0 Calculation Engine
Classes | Namespaces | Functions
globalarray.h File Reference

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

#include "pybind11/pybind11.h"
#include "helpers.h"

Classes

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

Namespaces

namespace  regina
 Contains the entire Regina calculation engine.
 
namespace  regina::python
 Utility classes and routines to assist with Python bindings for the calculation engine.
 

Functions

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

Detailed Description

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


Copyright © 1999-2021, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).