#include <bookkeeping.hh>
◆ MapType
template<typename K , typename V >
◆ at()
template<typename K , typename V >
297 boost::mutex::scoped_lock
const lock(
mut);
298 auto i =
map.find(k);
305 return Detail::LValue<V>(pv);
309 throw std::invalid_argument(
"Invalid key");
Referenced by BOOST_AUTO_TEST_CASE().
◆ get()
template<typename K , typename V >
334 boost::mutex::scoped_lock
const lock(
mut);
335 auto i =
map.find(k);
346 throw std::invalid_argument(
"Invalid key");
Referenced by BOOST_AUTO_TEST_CASE().
◆ keys()
template<typename K , typename V >
352 boost::mutex::scoped_lock
const lock(
mut);
354 for(
const typename MapType::value_type& el:
map)
356 result.push_back(el.first);
Referenced by BOOST_AUTO_TEST_CASE().
◆ remove() [1/2]
template<typename K , typename V >
285 boost::mutex::scoped_lock lock(
mut);
286 typename MapType::iterator i =
map.find(k);
◆ remove() [2/2]
template<typename K , typename V >
260 boost::mutex::scoped_lock
const lock(
mut);
261 auto i =
map.find(k);
268 Token
const t(wt.lock());
269 Token
const t_orig(pv->token.lock());
◆ reReserve()
template<typename K , typename V >
230 boost::mutex::scoped_lock
const lock(
mut);
231 auto i =
map.find(k);
246 Token t(pv->token.lock());
Referenced by BOOST_AUTO_TEST_CASE().
◆ reserve()
template<typename K , typename V >
212 boost::mutex::scoped_lock
const lock(
mut);
213 if(
map.end() !=
map.find(k))
215 throw std::invalid_argument(
"Key already exists");
Referenced by BOOST_AUTO_TEST_CASE().
◆ set()
template<typename K , typename V >
315 boost::mutex::scoped_lock
const lock(
mut);
316 auto i =
map.find(k);
328 throw std::invalid_argument(
"Invalid key");
Referenced by BOOST_AUTO_TEST_CASE().
◆ values()
template<typename K , typename V >
364 boost::mutex::scoped_lock
const lock(
mut);
366 for(
const typename MapType::value_type& el:
map)
371 result.push_back(pv->value);
Referenced by BOOST_AUTO_TEST_CASE().
◆ map
template<typename K , typename V >
◆ mut
template<typename K , typename V >
The documentation for this class was generated from the following files: