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
;
28 void clear(const std::string
&key
);
29 void set(const std::string
&key
, const std::string
&value
);
31 std::string
get(const std::string
&key
);
33 void get(const std::string
&key
, std::vector
<std::string
> &values
);
35 void match(const std::string
&pattern
, std::vector
<KeyPair
> &values
);
37 bool matches(const std::string
&string
, const std::string
&pattern
);