21 #ifndef __detectpano_boundedset_h
22 #define __detectpano_boundedset_h
42 template <
typename _Key,
typename _Compare = std::less<_Key> >
47 std::set< _Key, _Compare>
_set;
50 typedef typename std::set<_Key, _Compare>::iterator
iterator;
115 #endif // __detectpano_boundedset_h
void setMaxSize(int iMax)
sets the max size of bounded set
void insert(const _Key &x)
size_t max_size() const
Returns the maximum size of the bounded_set.
std::set< _Key, _Compare > & getSet()
bounded_set(size_t iMaxSize)
size_t size() const
Returns the size of the limited_multiset.
std::set< _Key, _Compare >::iterator iterator
std::set< _Key, _Compare > _set