#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 Attributes | |
std::vector< char > | m_data |
std::vector< unsigned int > | m_index |
Friends | |
struct | IterHelp |
A small WORM Dictionary of small words optimized to do a single allocation
Definition at line 21 of file SmallWORMDict.h.
typedef boost::transform_iterator<IterHelp,boost::counting_iterator<int> > cond::SmallWORMDict::const_iterator |
Definition at line 61 of file SmallWORMDict.h.
cond::SmallWORMDict::SmallWORMDict | ( | ) |
Definition at line 6 of file SmallWORMDict.cc.
cond::SmallWORMDict::~SmallWORMDict | ( | ) |
Definition at line 7 of file SmallWORMDict.cc.
|
explicit |
Definition at line 9 of file SmallWORMDict.cc.
References begin(), filterCSVwithJSON::copy, end(), i, j, m_data, m_index, cppFunctionSkipper::operator, AlCaHLTBitMon_ParallelJobs::p, and python.multivaluedict::sort().
|
inline |
Definition at line 64 of file SmallWORMDict.h.
References IterHelp.
Referenced by find(), and SmallWORMDict().
|
inline |
Definition at line 69 of file SmallWORMDict.h.
References IterHelp, and 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 49 of file SmallWORMDict.cc.
References begin(), and end().
Referenced by BeautifulSoup.Tag::__getattr__(), BeautifulSoup.Tag::firstText(), and index().
SmallWORMDict::const_iterator cond::SmallWORMDict::find | ( | char const * | s | ) | const |
Definition at line 55 of file SmallWORMDict.cc.
References begin(), and end().
Referenced by BeautifulSoup.Tag::__getattr__(), and BeautifulSoup.Tag::firstText().
size_t cond::SmallWORMDict::index | ( | std::string const & | s | ) | const |
Definition at line 41 of file SmallWORMDict.cc.
References find().
Referenced by BeautifulSoup.PageElement::_invert().
size_t cond::SmallWORMDict::index | ( | char const * | s | ) | const |
Definition at line 45 of file SmallWORMDict.cc.
References find().
Referenced by BeautifulSoup.PageElement::_invert().
|
inline |
size_t cond::SmallWORMDict::size | ( | void | ) | const |
|
friend |
Definition at line 59 of file SmallWORMDict.h.
|
private |
Definition at line 94 of file SmallWORMDict.h.
Referenced by cond::SmallWORMDict::IterHelp::operator()(), operator[](), and SmallWORMDict().
|
private |
Definition at line 95 of file SmallWORMDict.h.
Referenced by cond::SmallWORMDict::IterHelp::operator()(), operator[](), size(), and SmallWORMDict().