Regina Calculation Engine
|
Stores a single "hit" indicating that some given triangulation has been located in one of Regina's in-built census databases. More...
#include <census/ncensus.h>
Public Member Functions | |
const std::string & | name () const |
Returns the human-readable name associated with the triangulation in the database. More... | |
const NCensusDB * | db () const |
Returns details of the census database in which the triangulation was found. More... | |
const NCensusHit * | next () const |
Returns the next hit for the same triangulation, or 0 if there are no more hits. More... | |
Friends | |
class | NCensusDB |
class | NCensusHits |
Stores a single "hit" indicating that some given triangulation has been located in one of Regina's in-built census databases.
Note that a given triangulation might have several hits across Regina's databases. Therefore hits are typically returned using the separate NCensusHits class, which essentially represents a list of individual NCensusHit objects.
|
inline |
Returns details of the census database in which the triangulation was found.
|
inline |
Returns the human-readable name associated with the triangulation in the database.
This typically contains the name of the triangulation and/or the name of the underlying manifold.
|
inline |
Returns the next hit for the same triangulation, or 0 if there are no more hits.
Recall that hits are typically returned using the NCensusHits class, which stores a list of individual NCensusHit objects. To iterate through this list, you should begin by calling NCensusHits::first() to retrieve the first hit, and then for each hit call NCensusHit::next() (this function) to retrieve the next hit.