RAII guard saving a function call to stack. Can be used to protect against infinite recursion.
More...
#include <metadata_manager.h>
RAII guard saving a function call to stack. Can be used to protect against infinite recursion.
Definition at line 182 of file metadata_manager.h.
◆ StackGuard()
Constructor.
- Parameters
-
| [in] | stack | The stack where this guard should be recorded. |
| [in] | fn | The called function. |
| [in] | extractor | The extractor that calls the function. |
◆ ~StackGuard()
| movie_publisher::StackGuard::~StackGuard |
( |
| ) |
|
◆ getStackDescription()
| std::string movie_publisher::StackGuard::getStackDescription |
( |
| ) |
const |
|
private |
Get a human-readable representation of the whole call stack.
◆ extractor
◆ fn
| std::string movie_publisher::StackGuard::fn |
|
private |
◆ stack
The documentation for this class was generated from the following file: