libzypp  17.38.7
strmatcher.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
9 // Automatically generated wrapper for zypp/base/StrMatcher.h
10 #ifndef STRMATCHER_H_ZYPPNG_WRAPPER_H
11 #define STRMATCHER_H_ZYPPNG_WRAPPER_H
12 
13 #include <zypp/base/StrMatcher.h>
14 
15 namespace zyppng
16 {
17  using ::zypp::Match;
18  using ::zypp::MatchException;
19  using ::zypp::MatchUnknownModeException;
20  using ::zypp::MatchInvalidRegexException;
21  using ::zypp::StrMatcher;
22 
23  // ADL specific wrapper
24  inline bool operator==(const Match & lhs, const Match & rhs) { return ::zypp::operator==(lhs, rhs); }
25 
26  // ADL specific wrapper
27  inline bool operator!=(const Match & lhs, const Match & rhs) { return ::zypp::operator!=(lhs, rhs); }
28 
29  // ADL specific wrapper
30  inline Match operator|(const Match & lhs, const Match & rhs) { return ::zypp::operator|(lhs, rhs); }
31 
32  // ADL specific wrapper
33  inline Match operator-(const Match & lhs, const Match & rhs) { return ::zypp::operator-(lhs, rhs); }
34 
35  // ADL specific wrapper
36  inline std::ostream & operator<<(std::ostream & str, Match::Mode obj) { return ::zypp::operator<<(str, obj); }
37 
38  // ADL specific wrapper
39  inline bool operator<(const StrMatcher & lhs, const StrMatcher & rhs) { return ::zypp::operator<(lhs, rhs); }
40 } // namespace zyppng
41 #endif // STRMATCHER_H_ZYPPNG_WRAPPER_H
bool operator<(const StrMatcher &lhs, const StrMatcher &rhs)
Definition: strmatcher.h:39
std::ostream & operator<<(std::ostream &str, Match::Mode obj)
Definition: strmatcher.h:36
String matching option flags as used e.g.
Definition: StrMatcher.h:32
String matching (STRING|SUBSTRING|GLOB|REGEX).
Definition: StrMatcher.h:297
Match operator|(const Match &lhs, const Match &rhs)
Definition: strmatcher.h:30
String related utilities and Regular expression matching.
bool operator!=(const Match &lhs, const Match &rhs)
Definition: strmatcher.h:27
Match operator-(const Match &lhs, const Match &rhs)
Definition: strmatcher.h:33
Mode
Mode flags (mutual exclusive).
Definition: StrMatcher.h:40
std::ostream & operator<<(std::ostream &str, zypp::RepoManagerFlags::RawMetadataRefreshPolicy obj)
Definition: repomanager.cc:101
bool operator==(const Match &lhs, const Match &rhs)
Definition: strmatcher.h:24