#include <SmallWORMDict.h>
Classes | |
struct | Frame |
struct | IterHelp |
Public Types | |
typedef boost::transform_iterator< IterHelp, boost::counting_iterator< int > > | const_iterator |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | find (std::string const &s) const |
const_iterator | find (char const *s) const |
size_t | index (std::string const &s) const |
size_t | index (char const *s) const |
Frame | operator[] (int i) const |
size_t | size () const |
SmallWORMDict () | |
SmallWORMDict (std::vector< std::string > const &idict) | |
~SmallWORMDict () | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< char > | m_data |
std::vector< unsigned int > | m_index |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
struct | IterHelp |
int | test::SmallWORMDict::test () |
A small WORM Dictionary of small words optimized to do a single allocation
Definition at line 25 of file SmallWORMDict.h.
typedef boost::transform_iterator<IterHelp,boost::counting_iterator<int> > cond::SmallWORMDict::const_iterator |
Definition at line 67 of file SmallWORMDict.h.
cond::SmallWORMDict::SmallWORMDict | ( | ) |
Definition at line 9 of file SmallWORMDict.cc.
cond::SmallWORMDict::~SmallWORMDict | ( | ) |
Definition at line 10 of file SmallWORMDict.cc.
|
explicit |
Definition at line 12 of file SmallWORMDict.cc.
References a, b, begin(), popcon2dropbox::copy(), end(), mps_fire::i, m_data, m_index, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
Definition at line 75 of file SmallWORMDict.h.
References findQualityFiles::size.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), find(), and SmallWORMDict().
SmallWORMDict::const_iterator cond::SmallWORMDict::find | ( | std::string const & | s | ) | const |
Definition at line 48 of file SmallWORMDict.cc.
References begin(), end(), and pfDeepBoostedJetPreprocessParams_cfi::lower_bound.
Referenced by BeautifulSoup.Tag::__getattr__(), BeautifulSoup.Tag::firstText(), and index().
SmallWORMDict::const_iterator cond::SmallWORMDict::find | ( | char const * | s | ) | const |
Definition at line 54 of file SmallWORMDict.cc.
References begin(), end(), and pfDeepBoostedJetPreprocessParams_cfi::lower_bound.
Referenced by BeautifulSoup.Tag::__getattr__(), and BeautifulSoup.Tag::firstText().
size_t cond::SmallWORMDict::index | ( | std::string const & | s | ) | const |
Definition at line 40 of file SmallWORMDict.cc.
References find().
Referenced by BeautifulSoup.PageElement::insert().
size_t cond::SmallWORMDict::index | ( | char const * | s | ) | const |
Definition at line 44 of file SmallWORMDict.cc.
References find().
Referenced by BeautifulSoup.PageElement::insert().
|
inline |
Definition at line 80 of file SmallWORMDict.h.
References spr::find(), mps_fire::i, gen::k, alignCSCRings::s, findQualityFiles::size, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
size_t cond::SmallWORMDict::size | ( | void | ) | const |
Definition at line 61 of file SmallWORMDict.cc.
References m_index.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 103 of file SmallWORMDict.h.
|
friend |
Definition at line 103 of file SmallWORMDict.h.
|
friend |
Definition at line 65 of file SmallWORMDict.h.
|
friend |
|
private |
Definition at line 100 of file SmallWORMDict.h.
Referenced by SmallWORMDict().
|
private |
Definition at line 101 of file SmallWORMDict.h.
Referenced by size(), and SmallWORMDict().