Cell factory. Uses Gudhi::Simple_object_pool, which is based on boost::object_pool, to construct and destroy cell pointer. More...
Public Member Functions | |
| Pool_cell_constructor () | |
| Default constructor. | |
| Pool_cell_constructor (const Pool_cell_constructor &col) | |
| Copy constructor. More... | |
| Pool_cell_constructor (Pool_cell_constructor &&col) | |
| Move constructor. More... | |
| template<class... U> | |
| Cell * | construct (U &&... u) |
| Constructs a cell with the given cell arguments. More... | |
| void | destroy (Cell *cell) |
| Destroyes the given cell. More... | |
| Pool_cell_constructor & | operator= (const Pool_cell_constructor &other) |
| Assign operator. | |
Friends | |
| void | swap (Pool_cell_constructor &col1, Pool_cell_constructor &col2) |
| Swap operator. | |
Cell factory. Uses Gudhi::Simple_object_pool, which is based on boost::object_pool, to construct and destroy cell pointer.
|
inline |
Copy constructor.
| col | Factory to copy. |
|
inline |
Move constructor.
| col | Factory to move. |
|
inline |
|
inline |
Destroyes the given cell.
| cell | Cell pointer. |