|
a/src/query/dynconf.h |
|
b/src/query/dynconf.h |
|
... |
|
... |
145 |
if (!entry.decode(value))
|
145 |
if (!entry.decode(value))
|
146 |
continue;
|
146 |
continue;
|
147 |
out.push_back(entry);
|
147 |
out.push_back(entry);
|
148 |
}
|
148 |
}
|
149 |
}
|
149 |
}
|
150 |
return std::move(out);
|
150 |
return out;
|
151 |
}
|
151 |
}
|
152 |
|
152 |
|
153 |
template <template <class, class> class Container>
|
153 |
template <template <class, class> class Container>
|
154 |
Container<std::string, std::allocator<std::string>>
|
154 |
Container<std::string, std::allocator<std::string>>
|
155 |
RclDynConf::getStringEntries(const std::string& sk)
|
155 |
RclDynConf::getStringEntries(const std::string& sk)
|
|
... |
|
... |
157 |
std::vector<RclSListEntry> el = getEntries<std::vector, RclSListEntry>(sk);
|
157 |
std::vector<RclSListEntry> el = getEntries<std::vector, RclSListEntry>(sk);
|
158 |
Container<std::string, std::allocator<std::string>> sl;
|
158 |
Container<std::string, std::allocator<std::string>> sl;
|
159 |
for (const auto& entry : el) {
|
159 |
for (const auto& entry : el) {
|
160 |
sl.push_back(entry.value);
|
160 |
sl.push_back(entry.value);
|
161 |
}
|
161 |
}
|
162 |
return std::move(sl);
|
162 |
return sl;
|
163 |
}
|
163 |
}
|
164 |
|
164 |
|
165 |
// Defined subkeys. Values in dynconf.cpp
|
165 |
// Defined subkeys. Values in dynconf.cpp
|
166 |
// History
|
166 |
// History
|
167 |
extern const std::string docHistSubKey;
|
167 |
extern const std::string docHistSubKey;
|