|
libzypp 17.38.6
|
StrMatcher implementation. More...
Public Member Functions | |
| Impl () | |
| Impl (std::string search_r, const Match &flags_r) | |
| Impl (const Impl &)=delete | |
| Impl (Impl &&)=delete | |
| ~Impl () | |
| Impl & | operator= (const Impl &)=delete |
| Impl & | operator= (Impl &&)=delete |
| void | compile () const |
| Compile the pattern. | |
| bool | isCompiled () const |
| Whether the pattern is already compiled. | |
| bool | doMatch (const char *string_r) const |
| Return whether string matches. | |
| const std::string & | searchstring () const |
| The current searchstring. | |
| void | setSearchstring (std::string string_r) |
| Set a new searchstring. | |
| const Match & | flags () const |
| The current search flags. | |
| void | setFlags (const Match &flags_r) |
| Set new search flags. | |
Private Member Functions | |
| void | invalidate () |
| Has to be called if _search or _flags change. | |
| Impl * | clone () const |
| clone for RWCOW_pointer | |
Private Attributes | |
| std::string | _search |
| Match | _flags |
| scoped_ptr< sat::detail::CDatamatcher > | _matcher |
Friends | |
| Impl * | rwcowClone (const Impl *rhs) |
StrMatcher implementation.
::datamatcher_free. Definition at line 168 of file StrMatcher.cc.
|
inline |
Definition at line 170 of file StrMatcher.cc.
|
inline |
Definition at line 173 of file StrMatcher.cc.
|
delete |
|
delete |
|
inline |
Definition at line 178 of file StrMatcher.cc.
|
inline |
Compile the pattern.
Definition at line 187 of file StrMatcher.cc.
|
inline |
Whether the pattern is already compiled.
Definition at line 205 of file StrMatcher.cc.
|
inline |
Return whether string matches.
Definition at line 209 of file StrMatcher.cc.
|
inline |
The current searchstring.
Definition at line 219 of file StrMatcher.cc.
|
inline |
Set a new searchstring.
Definition at line 223 of file StrMatcher.cc.
|
inline |
The current search flags.
Definition at line 227 of file StrMatcher.cc.
|
inline |
Set new search flags.
Definition at line 231 of file StrMatcher.cc.
|
inlineprivate |
Has to be called if _search or _flags change.
Definition at line 236 of file StrMatcher.cc.
|
inlineprivate |
clone for RWCOW_pointer
Definition at line 251 of file StrMatcher.cc.
|
private |
Definition at line 244 of file StrMatcher.cc.
|
private |
Definition at line 245 of file StrMatcher.cc.
|
mutableprivate |
Definition at line 246 of file StrMatcher.cc.