Lucene++ - a full-featured, c++ search engine
API Documentation
Utility template class to handle maps that can be safely copied and shared. More...
#include <Map.h>
Inheritance diagram for Lucene::Map< KEY, VALUE, LESS >:Public Types | |
| typedef Map< KEY, VALUE, LESS > | this_type |
| typedef std::pair< KEY, VALUE > | key_value |
| typedef std::map< KEY, VALUE, LESS > | map_type |
| typedef map_type::iterator | iterator |
| typedef map_type::const_iterator | const_iterator |
| typedef KEY | key_type |
| typedef VALUE | value_type |
Public Member Functions | |
| virtual | ~Map () |
| void | reset () |
| int32_t | size () const |
| bool | empty () const |
| void | clear () |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| operator bool () const | |
| bool | operator! () const |
| map_type & | operator= (const map_type &other) |
| void | put (const KEY &key, const VALUE &value) |
| template<class ITER > | |
| void | putAll (ITER first, ITER last) |
| template<class ITER > | |
| void | remove (ITER pos) |
| template<class ITER > | |
| ITER | remove (ITER first, ITER last) |
| bool | remove (const KEY &key) |
| iterator | find (const KEY &key) |
| VALUE | get (const KEY &key) const |
| bool | contains (const KEY &key) const |
| VALUE & | operator[] (const KEY &key) |
Public Member Functions inherited from Lucene::LuceneSync | |
| virtual | ~LuceneSync () |
| virtual SynchronizePtr | getSync () |
| Return this object synchronize lock. | |
| virtual LuceneSignalPtr | getSignal () |
| Return this object signal. | |
| virtual void | lock (int32_t timeout=0) |
| Lock this object using an optional timeout. | |
| virtual void | unlock () |
| Unlock this object. | |
| virtual bool | holdsLock () |
| Returns true if this object is currently locked by current thread. | |
| virtual void | wait (int32_t timeout=0) |
| Wait for signal using an optional timeout. | |
| virtual void | notifyAll () |
| Notify all threads waiting for signal. | |
Static Public Member Functions | |
| static this_type | newInstance () |
Protected Attributes | |
| boost::shared_ptr< map_type > | mapContainer |
Protected Attributes inherited from Lucene::LuceneSync | |
| SynchronizePtr | objectLock |
| LuceneSignalPtr | objectSignal |
Utility template class to handle maps that can be safely copied and shared.
| typedef map_type::const_iterator Lucene::Map< KEY, VALUE, LESS >::const_iterator |
| typedef map_type::iterator Lucene::Map< KEY, VALUE, LESS >::iterator |
| typedef KEY Lucene::Map< KEY, VALUE, LESS >::key_type |
| typedef std::pair<KEY, VALUE> Lucene::Map< KEY, VALUE, LESS >::key_value |
| typedef std::map<KEY, VALUE, LESS> Lucene::Map< KEY, VALUE, LESS >::map_type |
| typedef Map<KEY, VALUE, LESS> Lucene::Map< KEY, VALUE, LESS >::this_type |
| typedef VALUE Lucene::Map< KEY, VALUE, LESS >::value_type |
|
inlinevirtual |
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
Referenced by Lucene::CloseableThreadLocal< TYPE >::get().
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
Referenced by Lucene::CloseableThreadLocal< TYPE >::get().
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inlinestatic |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
|
inline |
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
Referenced by Lucene::CloseableThreadLocal< TYPE >::close().
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
inline |
References Lucene::Map< KEY, VALUE, LESS >::mapContainer.
|
protected |
Referenced by Lucene::Map< KEY, VALUE, LESS >::begin(), Lucene::Map< KEY, VALUE, LESS >::begin(), Lucene::Map< KEY, VALUE, LESS >::clear(), Lucene::Map< KEY, VALUE, LESS >::contains(), Lucene::Map< KEY, VALUE, LESS >::empty(), Lucene::Map< KEY, VALUE, LESS >::end(), Lucene::Map< KEY, VALUE, LESS >::end(), Lucene::Map< KEY, VALUE, LESS >::find(), Lucene::Map< KEY, VALUE, LESS >::get(), Lucene::Map< KEY, VALUE, LESS >::newInstance(), Lucene::Map< KEY, VALUE, LESS >::operator bool(), Lucene::Map< KEY, VALUE, LESS >::operator!(), Lucene::Map< KEY, VALUE, LESS >::operator=(), Lucene::Map< KEY, VALUE, LESS >::operator[](), Lucene::Map< KEY, VALUE, LESS >::remove(), Lucene::Map< KEY, VALUE, LESS >::remove(), Lucene::Map< KEY, VALUE, LESS >::remove(), Lucene::Map< KEY, VALUE, LESS >::reset(), and Lucene::Map< KEY, VALUE, LESS >::size().