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