yosys-master
|
#include <utils.h>
Public Member Functions | |
stackmap () | |
stackmap (const std::map< Key, T, Compare > &other) | |
template<typename Other > | |
void | operator= (const Other &other) |
bool | has (const Key &k) |
void | set (const Key &k, const T &v) |
void | unset (const Key &k) |
const T & | get (const Key &k) |
void | reset (const Key &k) |
const std::map< Key, T, Compare > & | stdmap () |
void | save () |
void | restore () |
~stackmap () | |
Private Attributes | |
std::vector< std::map< Key, T *, Compare > > | backup_state |
std::map< Key, T, Compare > | current_state |
Static Private Attributes | |
static T | empty_tuple |
|
inline |
|
inline |
Definition at line 119 of file utils.h.
|
inline |
|
inline |
|
inline |
Definition at line 47 of file utils.h.
|
inline |
Definition at line 84 of file utils.h.
|
inline |
Definition at line 107 of file utils.h.
|
inline |
Definition at line 102 of file utils.h.
|
inline |
Definition at line 63 of file utils.h.
|
inline |
|
inline |
Definition at line 70 of file utils.h.
|
private |
|
private |
|
staticprivate |