1 #ifndef OBJMGR_MAP__HPP
2 #define OBJMGR_MAP__HPP
10 #define R_WRAP(Type, Call, Declaration) \
15 ret = m_Container.Call; \
19 #define R_WRAP_VOID(Call, Declaration) \
26 #define W_WRAP(Type, Call, Declaration) \
31 ret = m_Container.Call; \
35 #define W_WRAP_VOID(Call, Declaration) \
43 template<
class Container>
50 typedef typename container_type::size_type
size_type;
51 typedef typename container_type::key_type
key_type;
54 typedef typename container_type::iterator
iterator;
181 template<
class Container>
189 typedef typename container_type::key_type
key_type;
192 typedef typename container_type::iterator
iterator;
230 while ( it !=
m_Container.end() && it != pos && it->first == pos->first )
313 template<
class Container>
318 typedef typename container_type::key_type
key_type;
320 typedef typename container_type::iterator
iterator;
336 template<
typename Key,
typename T,
typename Compare = less<Key> >
342 template<
typename Key,
typename T,
typename Compare = less<Key> >
CAtomicCounter_WithAutoInit –.
container_type m_Container
container_type::const_iterator const_iterator
iterator check(iterator pos)
map_checker(const this_type &m)
iterator upper_bound(const key_type &key)
container_type::iterator iterator
map_checker< Container > this_type
const_iterator begin() const
bool operator<(const this_type &m) const
container_type::mapped_type & operator[](const key_type &key)
const_iterator end() const
container_type::key_type key_type
iterator insert(iterator pos, const value_type &val)
const_iterator lower_bound(const key_type &key) const
iterator_bool insert(const value_type &val)
CAtomicCounter_WithAutoInit m_RCounter
this_type & operator=(const this_type &m)
const_iterator_pair equal_range(const key_type &key) const
bool operator==(const this_type &m) const
pair< const_iterator, const_iterator > const_iterator_pair
iterator_pair equal_range(const key_type &key)
container_type::size_type size_type
iterator find(const key_type &key)
const_iterator upper_bound(const key_type &key) const
pair< iterator, iterator > iterator_pair
container_type::value_type value_type
CAtomicCounter_WithAutoInit m_WCounter
pair< iterator, bool > iterator_bool
iterator lower_bound(const key_type &key)
const_iterator find(const key_type &key) const
size_type erase(const key_type &key)
const_iterator_pair equal_range(const key_type &key) const
CAtomicCounter_WithAutoInit m_WCounter
iterator insert(iterator pos, const value_type &val)
pair< iterator, iterator > iterator_pair
container_type::const_iterator const_iterator
container_type m_Container
pair< iterator, bool > iterator_bool
const_iterator find(const key_type &key) const
iterator find(const key_type &key)
container_type::size_type size_type
const_iterator lower_bound(const key_type &key) const
const_iterator end() const
iterator insert(const value_type &val)
container_type::key_type key_type
const_iterator begin() const
multimap_checker(const this_type &m)
multimap_checker< Container > this_type
CAtomicCounter_WithAutoInit m_RCounter
iterator lower_bound(const key_type &key)
bool operator==(const this_type &m) const
container_type::iterator iterator
iterator_pair equal_range(const key_type &key)
iterator upper_bound(const key_type &key)
container_type::value_type value_type
pair< const_iterator, const_iterator > const_iterator_pair
bool operator<(const this_type &m) const
this_type & operator=(const this_type &m)
const_iterator upper_bound(const key_type &key) const
iterator check(iterator pos)
size_type erase(const key_type &key)
iterator begin(const range_type &range)
container_type::const_iterator constiterator
container_type::iterator iterator
const_iterator begin(const range_type &range) const
container_type::range_type range_type
const_iterator begin() const
container_type::key_type key_type
Include a standard set of the NCBI C++ Toolkit most basic headers.
TValue Add(int delta) THROWS_NONE
Atomically add value (=delta), and return new counter value.
TValue Get(void) const THROWS_NONE
Get atomic counter value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define R_WRAP(Type, Call, Declaration)
#define W_WRAP_VOID(Call, Declaration)
#define W_WRAP(Type, Call, Declaration)
range(_Ty, _Ty) -> range< _Ty >
double value_type
The numeric datatype used by the parser.
const struct ncbi::grid::netcache::search::fields::KEY key