ProteoWizard
|
#include <mru_list.hpp>
Public Types | |
typedef Item | item_type |
typedef item_list::iterator | iterator |
typedef item_list::reverse_iterator | reverse_iterator |
typedef item_list::const_iterator | const_iterator |
typedef item_list::const_reverse_iterator | const_reverse_iterator |
typedef item_list::value_type | value_type |
Public Member Functions | |
mru_list (std::size_t max_num_items_) | |
bool | insert (const item_type &item) |
template<typename Modifier > | |
bool | modify (iterator position, Modifier modifier) |
bool | empty () const |
std::size_t | size () const |
std::size_t | max_size () const |
void | clear () |
const item_type & | mru () const |
const item_type & | lru () const |
iterator | begin () |
iterator | end () |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_iterator | begin () const |
const_iterator | end () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
Private Types | |
typedef boost::multi_index::multi_index_container < Item, boost::multi_index::indexed_by < boost::multi_index::sequenced <>, boost::multi_index::hashed_unique < KeyExtractor > > > | item_list |
Private Attributes | |
item_list | il |
std::size_t | max_num_items |
Definition at line 49 of file mru_list.hpp.
|
private |
Definition at line 59 of file mru_list.hpp.
typedef Item pwiz::util::mru_list< Item, KeyExtractor >::item_type |
Definition at line 62 of file mru_list.hpp.
typedef item_list::iterator pwiz::util::mru_list< Item, KeyExtractor >::iterator |
Definition at line 63 of file mru_list.hpp.
typedef item_list::reverse_iterator pwiz::util::mru_list< Item, KeyExtractor >::reverse_iterator |
Definition at line 64 of file mru_list.hpp.
typedef item_list::const_iterator pwiz::util::mru_list< Item, KeyExtractor >::const_iterator |
Definition at line 65 of file mru_list.hpp.
typedef item_list::const_reverse_iterator pwiz::util::mru_list< Item, KeyExtractor >::const_reverse_iterator |
Definition at line 66 of file mru_list.hpp.
typedef item_list::value_type pwiz::util::mru_list< Item, KeyExtractor >::value_type |
Definition at line 67 of file mru_list.hpp.
|
inline |
Definition at line 69 of file mru_list.hpp.
|
inline |
Definition at line 71 of file mru_list.hpp.
Referenced by test().
|
inline |
Definition at line 86 of file mru_list.hpp.
|
inline |
Definition at line 91 of file mru_list.hpp.
Referenced by testModeBinaryDataOnly(), testModeMetaDataAndBinaryData(), testModeMetaDataAndSequence(), testModeMetaDataOnly(), and testModeOff().
|
inline |
Definition at line 92 of file mru_list.hpp.
Referenced by test(), testModeBinaryDataOnly(), testModeMetaDataAndBinaryData(), testModeMetaDataAndSequence(), and testModeMetaDataOnly().
|
inline |
Definition at line 93 of file mru_list.hpp.
Referenced by testModeBinaryDataOnly(), testModeMetaDataAndBinaryData(), testModeMetaDataAndSequence(), and testModeMetaDataOnly().
|
inline |
Definition at line 94 of file mru_list.hpp.
|
inline |
Definition at line 96 of file mru_list.hpp.
Referenced by testModeBinaryDataOnly(), testModeMetaDataAndBinaryData(), testModeMetaDataAndSequence(), and testModeMetaDataOnly().
|
inline |
Definition at line 97 of file mru_list.hpp.
Referenced by testModeBinaryDataOnly(), testModeMetaDataAndBinaryData(), testModeMetaDataAndSequence(), and testModeMetaDataOnly().
|
inline |
|
inline |
Definition at line 100 of file mru_list.hpp.
|
inline |
|
inline |
Definition at line 103 of file mru_list.hpp.
|
inline |
Definition at line 105 of file mru_list.hpp.
|
inline |
Definition at line 106 of file mru_list.hpp.
|
inline |
Definition at line 108 of file mru_list.hpp.
|
inline |
Definition at line 109 of file mru_list.hpp.
|
private |
Definition at line 112 of file mru_list.hpp.
Referenced by pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::begin(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::clear(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::empty(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::end(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::insert(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::lru(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::max_size(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::modify(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::mru(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::rbegin(), pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::rend(), and pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::size().
|
private |
Definition at line 113 of file mru_list.hpp.
Referenced by pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::insert(), and pwiz::util::mru_list< KeyValuePair, boost::multi_index::member_offset< KeyValuePair, size_t, first_offset > >::max_size().