1 /** Aesalon, a tool to visualize program behaviour in real time.
2 Copyright (C) 2009-2011, Aesalon development team.
4 Aesalon is distributed under the terms of the GNU GPLv3. See
5 the included file LICENSE for more information.
7 @file include/config/Vault.h
10 #ifndef AesalonConfig_Vault_H
11 #define AesalonConfig_Vault_H
21 typedef std::pair
<std::string
, std::string
> KeyPair
;
23 typedef std::multimap
<std::string
, std::string
> DataMap
;
29 void clear(const std::string
&key
);
30 void set(const std::string
&key
, const std::string
&value
);
32 std::string
get(const std::string
&key
);
34 void get(const std::string
&key
, std::vector
<std::string
> &values
);
36 void match(const std::string
&pattern
, std::vector
<KeyPair
> &values
);
38 bool matches(const std::string
&string
, const std::string
&pattern
);