cheshirekow  v0.1.0
edelsbrunner96::ExampleTraits::Storage Class Reference

Storage abstraction for simplices and points. More...

#include <edelsbrunner96/example_traits.hpp>

Private Member Functions

PointRef NullPoint ()
 
SimplexRefNullSimplex ()
 
Pointoperator[] (PointRef p)
 
Simplexoperator[] (SimplexRef s)
 
SimplexRef Promote ()
 
void Retire (SimplexRef simplex)
 

Private Attributes

std::vector< Simplex * > free_
 

Detailed Description

Storage abstraction for simplices and points.

Here we actually define a class, but you could just as well typedef a class that's defined elsewhere.

Must provide

Definition at line 86 of file example_traits.hpp.

Member Function Documentation

PointRef edelsbrunner96::ExampleTraits::Storage::NullPoint ( )
inlineprivate

Definition at line 91 of file example_traits.hpp.

SimplexRef& edelsbrunner96::ExampleTraits::Storage::NullSimplex ( )
inlineprivate

Definition at line 99 of file example_traits.hpp.

Point& edelsbrunner96::ExampleTraits::Storage::operator[] ( PointRef  p)
inlineprivate

Definition at line 87 of file example_traits.hpp.

Simplex& edelsbrunner96::ExampleTraits::Storage::operator[] ( SimplexRef  s)
inlineprivate

Definition at line 95 of file example_traits.hpp.

SimplexRef edelsbrunner96::ExampleTraits::Storage::Promote ( )
inlineprivate

Definition at line 103 of file example_traits.hpp.

void edelsbrunner96::ExampleTraits::Storage::Retire ( SimplexRef  simplex)
inlineprivate

Definition at line 114 of file example_traits.hpp.

Member Data Documentation

std::vector<Simplex*> edelsbrunner96::ExampleTraits::Storage::free_
private

Definition at line 120 of file example_traits.hpp.


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