Regina Calculation Engine
|
Helper class that indicates what data type Base uses to store its list of subdim-faces. More...
#include <generic/detail/face.h>
Helper class that indicates what data type Base uses to store its list of subdim-faces.
Typically Base will represent a triangulation, or one of its components or boundary components. The typedef FaceListHolder<Base, subdim>::Holder represents the type that Base uses to store its subdim-faces.
Base should have a template function faces<subdim>() that returns a const reference to this type. That is, Base::faces<subdim> should have return type const FaceListHolder<Base, subdim>::Holder&
.
For each such class Base, this FaceListHolder template should be specialised in the same header where Base is defined. For all other types T, the template class FaceListHolder<T, subdim> will remain undefined.