1 #ifndef OBJMGR_SET__HPP
2 #define OBJMGR_SET__HPP
10 #define R_WRAP(Type, Call, Declaration) \
15 ret = parent_type::Call; \
19 #define R_WRAP_VOID(Call, Declaration) \
26 #define W_WRAP(Type, Call, Declaration) \
31 ret = parent_type::Call; \
35 #define W_WRAP_VOID(Call, Declaration) \
43 template<
typename Key,
typename Compare = less<Key> >
44 class set : std::set<Key, Compare>
48 typedef pair<
typename parent_type::const_iterator,
50 typedef pair<
typename parent_type::iterator,
77 typedef typename parent_type::key_type
key_type;
80 typedef typename parent_type::iterator
iterator;
97 parent_type::operator=(m);
161 template<
typename Key,
typename Compare = less<Key> >
166 typedef pair<
typename parent_type::const_iterator,
168 typedef pair<
typename parent_type::iterator,
215 parent_type::operator=(m);
250 #define R_WRAP(Type, Call, Declaration) \
255 ret = parent_type::Call; \
259 #define R_WRAP_VOID(Call, Declaration) \
266 #define W_WRAP(Type, Call, Declaration) \
271 ret = parent_type::Call; \
275 #define W_WRAP_VOID(Call, Declaration) \
CAtomicCounter_WithAutoInit –.
size_type erase(const key_type &key)
checked_multiset< Key, Compare > this_type
iterator insert(iterator pos, const value_type &val)
pair< typename parent_type::const_iterator, typename parent_type::const_iterator > const_iterator_pair
const_iterator_pair equal_range(const key_type &key) const
this_type & operator=(const this_type &m)
iterator upper_bound(const key_type &key)
iterator find(const key_type &key)
const_iterator begin() const
iterator lower_bound(const key_type &key)
const_iterator upper_bound(const key_type &key) const
pair< typename parent_type::iterator, bool > iterator_bool
iterator insert(const value_type &val)
CAtomicCounter_WithAutoInit m_WCounter
const_iterator end() const
checked_multiset(const this_type &m)
parent_type::size_type size_type
parent_type::value_type value_type
parent_type::iterator iterator
const_iterator find(const key_type &key) const
bool operator==(const this_type &m) const
iterator_pair equal_range(const key_type &key)
std::multiset< Key, Compare > parent_type
CAtomicCounter_WithAutoInit m_RCounter
parent_type::key_type key_type
bool operator<(const this_type &m) const
const_iterator lower_bound(const key_type &key) const
pair< typename parent_type::iterator, typename parent_type::iterator > iterator_pair
parent_type::const_iterator const_iterator
CAtomicCounter_WithAutoInit m_RCounter
iterator_bool insert(const value_type &val)
const_iterator begin() const
iterator upper_bound(const key_type &key)
pair< typename parent_type::const_iterator, typename parent_type::const_iterator > const_iterator_pair
const_iterator_pair equal_range(const key_type &key) const
parent_type::iterator iterator
const_iterator upper_bound(const key_type &key) const
bool operator<(const this_type &m) const
CAtomicCounter_WithAutoInit m_WCounter
parent_type::value_type value_type
parent_type::key_type key_type
iterator find(const key_type &key)
iterator lower_bound(const key_type &key)
std::set< Key, Compare > parent_type
const_iterator find(const key_type &key) const
checked_set(const this_type &m)
iterator_pair equal_range(const key_type &key)
size_type erase(const key_type &key)
bool operator==(const this_type &m) const
pair< typename parent_type::iterator, typename parent_type::iterator > iterator_pair
const_iterator end() const
checked_set< Key, Compare > this_type
pair< typename parent_type::iterator, bool > iterator_bool
iterator insert(iterator pos, const value_type &val)
const_iterator lower_bound(const key_type &key) const
parent_type::size_type size_type
parent_type::const_iterator const_iterator
this_type & operator=(const this_type &m)
Include a standard set of the NCBI C++ Toolkit most basic headers.
bool operator<(const CEquivRange &A, const CEquivRange &B)
bool operator==(const CEquivRange &A, const CEquivRange &B)
void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)
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.
double value_type
The numeric datatype used by the parser.
const struct ncbi::grid::netcache::search::fields::KEY key
#define R_WRAP(Type, Call, Declaration)
#define W_WRAP_VOID(Call, Declaration)
#define W_WRAP(Type, Call, Declaration)