SILICON
Loading...
Searching...
No Matches
ActiveKeyGuard Class Reference

#include <activeKeyGuard.hpp>

Public Member Functions

 ActiveKeyGuard (std::vector< std::string > &stack, std::string key, const std::string_view errorPrefix)
 ~ActiveKeyGuard ()
 ActiveKeyGuard (const ActiveKeyGuard &)=delete
ActiveKeyGuard & operator= (const ActiveKeyGuard &)=delete

Private Attributes

std::vector< std::string > & stack
bool pushed = false

Detailed Description

Definition at line 30 of file activeKeyGuard.hpp.

Constructor & Destructor Documentation

◆ ActiveKeyGuard() [1/2]

ActiveKeyGuard ( std::vector< std::string > & stack,
std::string key,
const std::string_view errorPrefix )
inline

Definition at line 32 of file activeKeyGuard.hpp.

◆ ~ActiveKeyGuard()

~ActiveKeyGuard ( )
inline

Definition at line 47 of file activeKeyGuard.hpp.

◆ ActiveKeyGuard() [2/2]

ActiveKeyGuard ( const ActiveKeyGuard & )
delete

Member Function Documentation

◆ operator=()

ActiveKeyGuard & operator= ( const ActiveKeyGuard & )
delete

Member Data Documentation

◆ pushed

bool pushed = false
private

Definition at line 58 of file activeKeyGuard.hpp.

◆ stack

std::vector<std::string>& stack
private

Definition at line 57 of file activeKeyGuard.hpp.


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