File: simplesurfacebundle.h

package info (click to toggle)
regina-normal 7.4.1-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 154,244 kB
  • sloc: cpp: 295,026; xml: 9,992; sh: 1,344; python: 1,225; perl: 616; ansic: 138; makefile: 26
file content (89 lines) | stat: -rw-r--r-- 2,889 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
  This file contains docstrings for use in the Python bindings.
  Do not edit! They were automatically extracted by ../gendoc.sh.
 */

#if defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif

namespace regina::python::doc {


// Docstring regina::python::doc::SimpleSurfaceBundle
static const char *SimpleSurfaceBundle =
R"doc(Represents a particularly simple closed surface bundle over the
circle. Only 2-sphere bundles, twisted 2-sphere bundles and projective
plane bundles are considered.

All optional Manifold routines are implemented for this class.

This class supports copying but does not implement separate move
operations, since its internal data is so small that copying is just
as efficient. It implements the C++ Swappable requirement via its own
member and global swap() functions, for consistency with the other
manifold classes.)doc";

namespace SimpleSurfaceBundle_ {

// Docstring regina::python::doc::SimpleSurfaceBundle_::__copy
static const char *__copy = R"doc(Creates a new copy of the given surface bundle.)doc";

// Docstring regina::python::doc::SimpleSurfaceBundle_::__eq
static const char *__eq =
R"doc(Determines whether this and the given surface bundle are of the same
type (i.e., they represent the same 3-manifold).

Parameter ``compare``:
    the surface bundle with which this will be compared.

Returns:
    ``True`` if and only if this and the given surface bundle are of
    the same type.)doc";

// Docstring regina::python::doc::SimpleSurfaceBundle_::__init
static const char *__init =
R"doc(Creates a new surface bundle of the given type.

Parameter ``bundleType``:
    the specific type of surface bundle to represent. This must be one
    of the 3-manifold constants defined in this class.)doc";

// Docstring regina::python::doc::SimpleSurfaceBundle_::global_swap
static const char *global_swap =
R"doc(Swaps the contents of the two given surface bundles.

This global routine simply calls SimpleSurfaceBundle::swap(); it is
provided so that SimpleSurfaceBundle meets the C++ Swappable
requirements.

Parameter ``a``:
    the first surface bundle whose contents should be swapped.

Parameter ``b``:
    the second surface bundle whose contents should be swapped.)doc";

// Docstring regina::python::doc::SimpleSurfaceBundle_::swap
static const char *swap =
R"doc(Swaps the contents of this and the given surface bundle.

Parameter ``other``:
    the surface bundle whose contents should be swapped with this.)doc";

// Docstring regina::python::doc::SimpleSurfaceBundle_::type
static const char *type =
R"doc(Returns the specific type of surface bundle being represented.

Returns:
    the type of surface bundle. This will be one of the 3-manifold
    constants defined in this class.)doc";

}

} // namespace regina::python::doc

#if defined(__GNUG__)
#pragma GCC diagnostic pop
#endif