Regina 7.3 Calculation Engine
Static Public Attributes | List of all members
regina::detail::Strings< dim_ > Struct Template Reference

Contains a collection of compile-time constant strings that describe features of the dimension dim. More...

#include <triangulation/detail/strings.h>

Static Public Attributes

static constexpr const char * dim
 A string that gives the dimension dim as a number. More...
 
static constexpr const char * face
 A string that gives the name of a dim-face, all in lower case. More...
 
static constexpr const char * Face
 A string that gives the name of a dim-face, with the first word capitalised. More...
 
static constexpr const char * faces
 A string that gives the plural name of a dim-face, all in lower case. More...
 
static constexpr const char * Faces
 A string that gives the plural name of a dim-face, with the first word capitalised. More...
 
static constexpr const char * simplex
 A string that gives the name of a dim-simplex, all in lower case. More...
 
static constexpr const char * Simplex
 A string that gives the name of a dim-simplex, with the first word capitalised. More...
 
static constexpr const char * simplices
 A string that gives the plural name of a dim-simplex, all in lower case. More...
 

Detailed Description

template<int dim_>
struct regina::detail::Strings< dim_ >

Contains a collection of compile-time constant strings that describe features of the dimension dim.

Template Parameters
dim_any dimension between 0 and 15 inclusive.

Member Data Documentation

◆ dim

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::dim
staticconstexpr

A string that gives the dimension dim as a number.

An example for dim = 3 is "3".

◆ face

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::face
staticconstexpr

A string that gives the name of a dim-face, all in lower case.

An example for dim = 3 is "tetrahedron". An example for dim = 7 is "7-face".

◆ Face

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::Face
staticconstexpr

A string that gives the name of a dim-face, with the first word capitalised.

An example for dim = 3 is "Tetrahedron". An example for dim = 7 is "7-face".

◆ faces

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::faces
staticconstexpr

A string that gives the plural name of a dim-face, all in lower case.

An example for dim = 3 is "tetrahedra". An example for dim = 7 is "7-faces".

◆ Faces

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::Faces
staticconstexpr

A string that gives the plural name of a dim-face, with the first word capitalised.

An example for dim = 3 is "Tetrahedra". An example for dim = 7 is "7-faces".

◆ simplex

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::simplex
staticconstexpr

A string that gives the name of a dim-simplex, all in lower case.

An example for dim = 3 is "tetrahedron". An example for dim = 7 is "7-simplex".

◆ Simplex

template<int dim_>
static constexpr const char * regina::detail::Strings< dim_ >::Simplex
staticconstexpr

A string that gives the name of a dim-simplex, with the first word capitalised.

A string that gives the plural name of a dim-simplex, with the first word capitalised.

An example for dim = 3 is "Tetrahedron". An example for dim = 7 is "7-simplex".

An example for dim = 3 is "Tetrahedra". An example for dim = 7 is "7-simplices".

◆ simplices

template<int dim_>
constexpr const char* regina::detail::Strings< dim_ >::simplices
staticconstexpr

A string that gives the plural name of a dim-simplex, all in lower case.

An example for dim = 3 is "tetrahedra". An example for dim = 7 is "7-simplices".


The documentation for this struct was generated from the following file:

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