StrMatcher implementation.
More...
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const StrMatcher::Impl &obj) |
| Stream output.
|
|
StrMatcher implementation.
- Note
- Take care to release any allocated regex by calling
::datamatcher_free
.
Definition at line 168 of file StrMatcher.cc.
◆ Impl() [1/2]
zypp::StrMatcher::Impl::Impl |
( |
| ) |
|
|
inline |
◆ Impl() [2/2]
zypp::StrMatcher::Impl::Impl |
( |
std::string |
search_r, |
|
|
const Match & |
flags_r |
|
) |
| |
|
inline |
◆ ~Impl()
zypp::StrMatcher::Impl::~Impl |
( |
| ) |
|
|
inline |
◆ compile()
void zypp::StrMatcher::Impl::compile |
( |
| ) |
const |
|
inline |
◆ isCompiled()
bool zypp::StrMatcher::Impl::isCompiled |
( |
| ) |
const |
|
inline |
Whether the pattern is already compiled.
Definition at line 200 of file StrMatcher.cc.
◆ doMatch()
bool zypp::StrMatcher::Impl::doMatch |
( |
const char * |
string_r | ) |
const |
|
inline |
◆ searchstring()
const std::string & zypp::StrMatcher::Impl::searchstring |
( |
| ) |
const |
|
inline |
◆ setSearchstring()
void zypp::StrMatcher::Impl::setSearchstring |
( |
std::string |
string_r | ) |
|
|
inline |
◆ flags()
const Match & zypp::StrMatcher::Impl::flags |
( |
| ) |
const |
|
inline |
◆ setFlags()
void zypp::StrMatcher::Impl::setFlags |
( |
const Match & |
flags_r | ) |
|
|
inline |
◆ invalidate()
void zypp::StrMatcher::Impl::invalidate |
( |
| ) |
|
|
inlineprivate |
Has to be called if _search or _flags change.
Definition at line 231 of file StrMatcher.cc.
◆ clone()
Impl * zypp::StrMatcher::Impl::clone |
( |
| ) |
const |
|
inlineprivate |
◆ rwcowClone
◆ operator<<()
◆ _search
std::string zypp::StrMatcher::Impl::_search |
|
private |
◆ _flags
Match zypp::StrMatcher::Impl::_flags |
|
private |
◆ _matcher
The documentation for this class was generated from the following file: