|
a/src/query/dynconf.h |
|
b/src/query/dynconf.h |
|
... |
|
... |
96 |
|
96 |
|
97 |
template<typename Tp> list<Tp> RclDynConf::getList(const string &sk)
|
97 |
template<typename Tp> list<Tp> RclDynConf::getList(const string &sk)
|
98 |
{
|
98 |
{
|
99 |
list<Tp> mlist;
|
99 |
list<Tp> mlist;
|
100 |
Tp entry;
|
100 |
Tp entry;
|
101 |
list<string> names = m_data.getNames(sk);
|
101 |
vector<string> names = m_data.getNames(sk);
|
102 |
for (list<string>::const_iterator it = names.begin();
|
102 |
for (vector<string>::const_iterator it = names.begin();
|
103 |
it != names.end(); it++) {
|
103 |
it != names.end(); it++) {
|
104 |
string value;
|
104 |
string value;
|
105 |
if (m_data.get(*it, value, sk)) {
|
105 |
if (m_data.get(*it, value, sk)) {
|
106 |
if (!entry.decode(value))
|
106 |
if (!entry.decode(value))
|
107 |
continue;
|
107 |
continue;
|