|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
RAII guard for Zero_One_BFS initialization and cleanup. More...
Public Member Functions | |
| ZOB_Init_Guard (Zero_One_BFS &__owner, const GT &__g) noexcept | |
| Constructor. | |
| ZOB_Init_Guard (const ZOB_Init_Guard &)=delete | |
| Deleted copy constructor. | |
| ZOB_Init_Guard & | operator= (const ZOB_Init_Guard &)=delete |
| Deleted copy assignment. | |
| ZOB_Init_Guard (ZOB_Init_Guard &&)=delete | |
| Deleted move constructor. | |
| ZOB_Init_Guard & | operator= (ZOB_Init_Guard &&)=delete |
| Deleted move assignment. | |
| void | commit () noexcept |
| Commits the operation, preventing cleanup on destruction. | |
| ~ZOB_Init_Guard () noexcept | |
| Destructor. | |
Private Attributes | |
| Zero_One_BFS * | owner = nullptr |
| const GT * | g = nullptr |
| bool | committed = false |
RAII guard for Zero_One_BFS initialization and cleanup.
Definition at line 209 of file Zero_One_BFS.H.
|
inlinenoexcept |
Constructor.
| [in] | __owner | The Zero_One_BFS instance. |
| [in] | __g | The graph being processed. |
Definition at line 220 of file Zero_One_BFS.H.
|
delete |
Deleted copy constructor.
|
delete |
Deleted move constructor.
|
inlinenoexcept |
Destructor.
Performs cleanup if not committed.
Definition at line 239 of file Zero_One_BFS.H.
References Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::ZOB_Init_Guard::committed, Aleph::divide_and_conquer_partition_dp(), Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::ZOB_Init_Guard::owner, Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::reset_state_after_failure(), and Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::uninit_discard().
|
inlinenoexcept |
Commits the operation, preventing cleanup on destruction.
Definition at line 236 of file Zero_One_BFS.H.
References Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::ZOB_Init_Guard::committed.
|
delete |
Deleted copy assignment.
|
delete |
Deleted move assignment.
|
private |
Definition at line 213 of file Zero_One_BFS.H.
Referenced by Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::ZOB_Init_Guard::~ZOB_Init_Guard(), and Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::ZOB_Init_Guard::commit().
|
private |
Definition at line 212 of file Zero_One_BFS.H.
|
private |
Definition at line 211 of file Zero_One_BFS.H.
Referenced by Aleph::Zero_One_BFS< GT, Distance, Itor, SA >::ZOB_Init_Guard::~ZOB_Init_Guard().