Regina Calculation Engine
|
Provides access to a registry of all coordinate systems that can be used to create and store normal hypersurfaces in 4-manifold triangulations. More...
#include "hypersurface/hypercoords.h"
#include "utilities/registryutils.h"
#include "hypersurface/hscoordregistry-impl.h"
Namespaces | |
regina | |
Contains the entire Regina calculation engine. | |
Functions | |
template<typename FunctionObject , typename... Args> | |
ReturnsTraits< FunctionObject >::ReturnType | regina::forCoords (HyperCoords coords, FunctionObject &&func, typename ReturnsTraits< FunctionObject >::ReturnType defaultReturn, Args &&... args) |
Allows the user to call a template function whose template parameter matches a given value of HyperCoords, which is not known until runtime. More... | |
template<typename FunctionObject , typename... Args> | |
ReturnsTraits< FunctionObject >::Void | regina::forCoords (HyperCoords coords, FunctionObject &&func, Args &&... args) |
Allows the user to call a template function whose template parameter matches a given value of HyperCoords, which is not known until runtime. More... | |
Provides access to a registry of all coordinate systems that can be used to create and store normal hypersurfaces in 4-manifold triangulations.
Each time a new coordinate system is created, the file hscoordregistry-impl.h must be updated to include it. Instructions on how to do this are included in hscoordregistry-impl.h.
External routines can access the registry by calling one of the forCoords() template functions defined in hscoordregistry.h.