libzypp: zypp/ng/base/strmatcher.h Source File

libzypp 17.38.6

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
15namespace 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
StrMatcher.h
zypp::Match
String matching option flags as used e.g.
Definition StrMatcher.h:33
zypp::StrMatcher
String matching (STRING|SUBSTRING|GLOB|REGEX).
Definition StrMatcher.h:298
zyppng::Match::Mode
Mode
Mode flags (mutual exclusive).
Definition StrMatcher.h:41
str
String related utilities and Regular expression matching.
zypp::operator|
Match operator|(const Match &lhs, const Match &rhs)
relates: Match
Definition StrMatcher.h:224
zypp::operator<
bool operator<(const Capability &lhs, const Capability &rhs)
relates: Capability Arbitrary order.
Definition Capability.h:317
zypp::operator-
Match operator-(const Match &lhs, const Match &rhs)
relates: Match
Definition StrMatcher.h:231
zypp::operator!=
bool operator!=(const Capability &lhs, const Capability &rhs)
relates: Capability
Definition Capability.h:313
zypp::operator==
bool operator==(const Capability &lhs, const Capability &rhs)
relates: Capability
Definition Capability.h:309
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Capabilities &obj)
relates: Capabilities Stream output
Definition Capabilities.cc:65
zyppng
Definition MediaNetworkRequestExecutor.h:16
zypp::MatchException
Exceptions thrown from attribute matching.
Definition StrMatcher.h:248
zypp::MatchInvalidRegexException
Invalid regular expression (failed regcomp).
Definition StrMatcher.h:271
zypp::MatchUnknownModeException
Unknown match mode.
Definition StrMatcher.h:258