libzypp 17.38.5

Capability.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
12#ifndef ZYPP_CAPABILITY_H
13#define ZYPP_CAPABILITY_H
14
15#include <iosfwd>
16
17#include <zypp-core/Globals.h>
18#include <zypp/sat/detail/PoolMember.h>
19
20#include <zypp/IdString.h>
21#include <zypp/Edition.h>
22#include <zypp/Rel.h>
23#include <zypp/ResTraits.h>
24#include <zypp/ResolverNamespace.h>
25#include <zypp/CapMatch.h>
26
28 namespace zypp
29{
30
31 class Capability;
32 class CapDetail;
33 class Arch;
34
35 using CapabilitySet = std::unordered_set<Capability>;
36
38 //
39 // CLASS NAME : Capability
40 //
62 class ZYPP_API Capability: protected sat::detail::PoolMember
63 {
64 public:
65 enum CtorFlag { PARSED, UNPARSED };
66
67 public:
69 Capability() : _id( sat::detail::emptyId ) {}
70
72 explicit Capability( sat::detail::IdType id_r ) : _id( id_r ) {}
73
77
89 explicit Capability( const char * str_r, const ResKind & prefix_r = ResKind(), CtorFlag flag_r = UNPARSED );
91 explicit Capability( const std::string & str_r, const ResKind & prefix_r = ResKind(), CtorFlag flag_r = UNPARSED );
93 Capability( const Arch & arch_r, const char * str_r, const ResKind & prefix_r = ResKind(), CtorFlag flag_r = UNPARSED );
95 Capability( const Arch & arch_r, const std::string & str_r, const ResKind & prefix_r = ResKind(), CtorFlag flag_r = UNPARSED );
96
98 Capability( const char * str_r, CtorFlag flag_r, const ResKind & prefix_r = ResKind() );
100 Capability( const std::string & str_r, CtorFlag flag_r, const ResKind & prefix_r = ResKind() );
102 Capability( const Arch & arch_r, const char * str_r, CtorFlag flag_r, const ResKind & prefix_r = ResKind() );
104 Capability( const Arch & arch_r, const std::string & str_r, CtorFlag flag_r, const ResKind & prefix_r = ResKind() );
106
107
111
112 Capability( const std::string & name_r, const std::string & op_r, const std::string & ed_r, const ResKind & prefix_r = ResKind() );
114 Capability( const std::string & name_r, Rel op_r, const std::string & ed_r, const ResKind & prefix_r = ResKind() );
116 Capability( const std::string & name_r, Rel op_r, const Edition & ed_r, const ResKind & prefix_r = ResKind() );
118
122
123 Capability( const std::string & arch_r, const std::string & name_r, const std::string & op_r, const std::string & ed_r, const ResKind & prefix_r = ResKind() );
125 Capability( const std::string & arch_r, const std::string & name_r, Rel op_r, const std::string & ed_r, const ResKind & prefix_r = ResKind() );
127 Capability( const std::string & arch_r, const std::string & name_r, Rel op_r, const Edition & ed_r, const ResKind & prefix_r = ResKind() );
129 Capability( const Arch & arch_r, const std::string & name_r, const std::string & op_r, const std::string & ed_r, const ResKind & prefix_r = ResKind() );
131 Capability( const Arch & arch_r, const std::string & name_r, Rel op_r, const std::string & ed_r, const ResKind & prefix_r = ResKind() );
133 Capability( const Arch & arch_r, const std::string & name_r, Rel op_r, const Edition & ed_r, const ResKind & prefix_r = ResKind() );
135
141 Capability( ResolverNamespace namespace_r, IdString value_r = IdString::Null );
142 Capability( ResolverNamespace namespace_r, const char * value_r ) : Capability( namespace_r, IdString(value_r) ) {}
143 Capability( ResolverNamespace namespace_r, const std::string & value_r ) : Capability( namespace_r, IdString(value_r) ) {}
145
148
151 enum CapRel
152 {
153 CAP_AND = 16,
154 CAP_OR = 17,
155
156 CAP_COND = 22,
157 CAP_UNLESS = 29,
158 CAP_ELSE = 26,
159
160 CAP_WITH = 18,
161 CAP_WITHOUT = 28,
162
163 CAP_NAMESPACE = 19,
164 CAP_ARCH = 20,
165 };
166
167 Capability( CapRel rel_r, const Capability & lhs_r, const Capability & rhs_r );
169
170 public:
172 static const Capability Null;
173
175 static const Capability Empty;
176
177 public:
179 explicit operator bool() const
180 { return ! empty(); }
181
185 bool empty() const
186 { return( _id == sat::detail::emptyId || _id == sat::detail::noId ); }
187
188 public:
190 const char * c_str() const;
191
193 std::string asString() const
194 { return c_str(); }
195
196 public:
198 CapDetail detail() const;
199
200 public:
211 static CapMatch matches( const Capability & lhs, const Capability & rhs ) { return _doMatch( lhs.id(), rhs.id() ); }
212 static CapMatch matches( const Capability & lhs, const IdString & rhs ) { return _doMatch( lhs.id(), rhs.id() ); }
213 static CapMatch matches( const Capability & lhs, const std::string & rhs ) { return _doMatch( lhs.id(), Capability(rhs).id() ); }
214 static CapMatch matches( const Capability & lhs, const char * rhs ) { return _doMatch( lhs.id(), Capability(rhs).id() );}
215
216 static CapMatch matches( const IdString & lhs, const Capability & rhs ) { return _doMatch( lhs.id(), rhs.id() ); }
217 static CapMatch matches( const IdString & lhs, const IdString & rhs ) { return _doMatch( lhs.id(), rhs.id() ); }
218 static CapMatch matches( const IdString & lhs, const std::string & rhs ) { return _doMatch( lhs.id(), Capability(rhs).id() ); }
219 static CapMatch matches( const IdString & lhs, const char * rhs ) { return _doMatch( lhs.id(), Capability(rhs).id() ); }
220
221 static CapMatch matches( const std::string & lhs, const Capability & rhs ) { return _doMatch( Capability(lhs).id(), rhs.id() );}
222 static CapMatch matches( const std::string & lhs, const IdString & rhs ) { return _doMatch( Capability(lhs).id(), rhs.id() ); }
223 static CapMatch matches( const std::string & lhs, const std::string & rhs ) { return _doMatch( Capability(lhs).id(), Capability(rhs).id() ); }
224 static CapMatch matches( const std::string & lhs, const char * rhs ) { return _doMatch( Capability(lhs).id(), Capability(rhs).id() ); }
225
226 static CapMatch matches( const char * lhs, const Capability & rhs ) { return _doMatch( Capability(lhs).id(), rhs.id() );}
227 static CapMatch matches( const char * lhs, const IdString & rhs ) { return _doMatch( Capability(lhs).id(), rhs.id() ); }
228 static CapMatch matches( const char * lhs, const std::string & rhs ) { return _doMatch( Capability(lhs).id(), Capability(rhs).id() ); }
229 static CapMatch matches( const char * lhs, const char * rhs ) { return _doMatch( Capability(lhs).id(), Capability(rhs).id() ); }
230
231 CapMatch matches( const Capability & rhs ) const { return _doMatch( id(), rhs.id() ); }
232 CapMatch matches( const IdString & rhs ) const { return _doMatch( id(), rhs.id() ); }
233 CapMatch matches( const std::string & rhs ) const { return _doMatch( id(), Capability(rhs).id() ); }
234 CapMatch matches( const char * rhs ) const { return _doMatch( id(), Capability(rhs).id() ); }
236
239 struct Matches
240 {
241 CapMatch operator()( const Capability & lhs, const Capability & rhs ) const
242 { return Capability::matches( lhs, rhs ); }
243 };
244
245 public:
251 static bool isInterestingFileSpec( const IdString & name_r ) { return isInterestingFileSpec( name_r.c_str() ); }
252 static bool isInterestingFileSpec( const std::string & name_r ) { return isInterestingFileSpec( name_r.c_str() ); }
253 static bool isInterestingFileSpec( const char * name_r );
254
279 static Capability guessPackageSpec( const std::string & str_r );
284 static Capability guessPackageSpec( const std::string & str_r, bool & rewrote_r );
285
286 public:
288 sat::detail::IdType id() const
289 { return _id; }
290 private:
292 static CapMatch _doMatch( sat::detail::IdType lhs, sat::detail::IdType rhs );
293 private:
294 sat::detail::IdType _id;
295 };
296
297
299 std::ostream & operator<<( std::ostream & str, const Capability & obj ) ZYPP_API;
300
302 std::ostream & dumpOn( std::ostream & str, const Capability & obj ) ZYPP_API;
303
305 std::ostream & operator<<( std::ostream & str, Capability::CapRel obj ) ZYPP_API;
306
308 inline bool operator==( const Capability & lhs, const Capability & rhs )
309 { return lhs.id() == rhs.id(); }
310
312 inline bool operator!=( const Capability & lhs, const Capability & rhs )
313 { return lhs.id() != rhs.id(); }
314
316 inline bool operator<( const Capability & lhs, const Capability & rhs )
317 { return lhs.id() < rhs.id(); }
318
330 struct ZYPP_API dumpCap
331 {
332 dumpCap( Capability cap_r )
333 : _cap { cap_r }
334 {}
335 private:
336 friend std::ostream & operator<<( std::ostream & str, const dumpCap & obj );
337 std::ostream & dumpOn( std::ostream & str ) const;
338 private:
339 std::ostream & _dumpRec( std::ostream & str, Capability cap_r, std::string lvl_r="" ) const;
340 Capability _cap;
341 };
342
343 inline std::ostream & operator<<( std::ostream & str, const dumpCap & obj )
344 { return obj.dumpOn( str ); }
345
347 //
348 // CLASS NAME : CapDetail
349 //
364 class ZYPP_API CapDetail: protected sat::detail::PoolMember
365 {
366 public:
367 enum Kind
368 {
369 NOCAP = 0x00,
370 NAMED = 0x01,
371 VERSIONED = 0x02,
372 EXPRESSION = 0x04
373 };
374
378 enum CapRel
379 {
380 REL_NONE = 0,
381 CAP_AND = Capability::CAP_AND,
382 CAP_OR = Capability::CAP_OR,
383
384 CAP_COND = Capability::CAP_COND,
385 CAP_UNLESS = Capability::CAP_UNLESS,
386 CAP_ELSE = Capability::CAP_ELSE,
387
388 CAP_WITH = Capability::CAP_WITH,
389 CAP_WITHOUT = Capability::CAP_WITHOUT,
390
391 CAP_NAMESPACE = Capability::CAP_NAMESPACE,
392 CAP_ARCH = Capability::CAP_ARCH,
393 };
394
395 public:
396 CapDetail()
397 : _kind( NOCAP ), _lhs( 0 ), _rhs( 0 ), _flag( 0 ), _archIfSimple( 0 )
398 {}
399 explicit CapDetail( const Capability & cap_r )
400 : _kind( NOCAP ), _lhs( cap_r.id() ), _rhs( 0 ), _flag( 0 ), _archIfSimple( 0 )
401 { _init(); }
402 explicit CapDetail( sat::detail::IdType id_r )
403 : _kind( NOCAP ), _lhs( id_r ), _rhs( 0 ), _flag( 0 ), _archIfSimple( 0 )
404 { _init(); }
405
406 public:
407 Kind kind() const { return _kind; }
408 bool isNull() const { return _kind == NOCAP; }
409 bool isNamed() const { return _kind == NAMED; }
410 bool isVersioned() const { return _kind == VERSIONED; }
411 bool isSimple() const { return _kind & (NAMED|VERSIONED); }
412 bool isExpression() const { return _kind == EXPRESSION; }
413
416 bool hasArch() const { return _archIfSimple; }
417 IdString arch() const { return _archIfSimple ? IdString( _archIfSimple ) : IdString(); }
418 IdString name() const { return isSimple() ? IdString( _lhs ) : IdString(); }
419 Rel op() const { return isVersioned() ? Rel( _flag ) : isSimple() ? Rel::ANY : Rel::NONE; }
420 Edition ed() const { return isVersioned() ? Edition( _rhs ) : Edition(); }
422
425 Capability lhs() const { return isExpression() ? Capability( _lhs ) : Capability::Null; }
426 CapRel capRel() const { return isExpression() ? CapRel(_flag) : REL_NONE; }
427 Capability rhs() const { return isExpression() ? Capability( _rhs ) : Capability::Null; }
429
430 private:
431 void _init();
432 private:
433 Kind _kind;
434 sat::detail::IdType _lhs;
435 sat::detail::IdType _rhs;
436 unsigned _flag;
437 sat::detail::IdType _archIfSimple;
438 };
439
440
442 std::ostream & operator<<( std::ostream & str, const CapDetail & obj ) ZYPP_API;
443
445 std::ostream & operator<<( std::ostream & str, CapDetail::Kind obj ) ZYPP_API;
446
448 std::ostream & operator<<( std::ostream & str, CapDetail::CapRel obj ) ZYPP_API;
449
451
452 inline CapDetail Capability::detail() const { return CapDetail( _id ); }
453
455} // namespace zypp
457
458 ZYPP_DEFINE_ID_HASHABLE( ::zypp::Capability );
459
460#endif // ZYPP_CAPABILITY_H
CapMatch.h
Edition.h
Globals.h
Provides API related macros.
ZYPP_DEFINE_ID_HASHABLE
#define ZYPP_DEFINE_ID_HASHABLE(C)
Define hash function for id based classes.
Definition Hash.h:26
IdString.h
PoolMember.h
Rel.h
ResTraits.h
ResolverNamespace.h
bool
zypp::Arch
Architecture.
Definition Arch.h:37
zypp::CapDetail
Helper providing more detailed information about a Capability.
Definition Capability.h:365
zypp::CapDetail::CapDetail
CapDetail(const Capability &cap_r)
Definition Capability.h:399
zypp::CapDetail::CapDetail
CapDetail()
Definition Capability.h:396
zypp::CapDetail::isNamed
bool isNamed() const
Definition Capability.h:409
zypp::CapDetail::Kind
Kind
Definition Capability.h:368
zypp::CapDetail::NAMED
@ NAMED
Definition Capability.h:370
zypp::CapDetail::NOCAP
@ NOCAP
Definition Capability.h:369
zypp::CapDetail::EXPRESSION
@ EXPRESSION
Definition Capability.h:372
zypp::CapDetail::VERSIONED
@ VERSIONED
Definition Capability.h:371
zypp::CapDetail::isSimple
bool isSimple() const
Definition Capability.h:411
zypp::CapDetail::name
IdString name() const
Definition Capability.h:418
zypp::CapDetail::isNull
bool isNull() const
Definition Capability.h:408
zypp::CapDetail::hasArch
bool hasArch() const
Definition Capability.h:416
zypp::CapDetail::CapDetail
CapDetail(sat::detail::IdType id_r)
Definition Capability.h:402
zypp::CapDetail::arch
IdString arch() const
Definition Capability.h:417
zypp::CapDetail::rhs
Capability rhs() const
Definition Capability.h:427
zypp::CapDetail::ed
Edition ed() const
Definition Capability.h:420
zypp::CapDetail::op
Rel op() const
Definition Capability.h:419
zypp::CapDetail::_archIfSimple
sat::detail::IdType _archIfSimple
Definition Capability.h:437
zypp::CapDetail::lhs
Capability lhs() const
Definition Capability.h:425
zypp::CapDetail::kind
Kind kind() const
Definition Capability.h:407
zypp::CapDetail::_init
void _init()
Definition Capability.cc:640
zypp::CapDetail::_kind
Kind _kind
Definition Capability.h:433
zypp::CapDetail::_rhs
sat::detail::IdType _rhs
Definition Capability.h:435
zypp::CapDetail::capRel
CapRel capRel() const
Definition Capability.h:426
zypp::CapDetail::_lhs
sat::detail::IdType _lhs
Definition Capability.h:434
zypp::CapDetail::_flag
unsigned _flag
Definition Capability.h:436
zypp::CapDetail::CapRel
CapRel
Enum values corresponding with libsolv defines.
Definition Capability.h:379
zypp::CapDetail::CAP_OR
@ CAP_OR
or
Definition Capability.h:382
zypp::CapDetail::REL_NONE
@ REL_NONE
Not an expression.
Definition Capability.h:380
zypp::CapDetail::CAP_AND
@ CAP_AND
and
Definition Capability.h:381
zypp::CapDetail::CAP_WITHOUT
@ CAP_WITHOUT
without
Definition Capability.h:389
zypp::CapDetail::CAP_ARCH
@ CAP_ARCH
Used internally.
Definition Capability.h:392
zypp::CapDetail::CAP_ELSE
@ CAP_ELSE
else
Definition Capability.h:386
zypp::CapDetail::CAP_UNLESS
@ CAP_UNLESS
unless
Definition Capability.h:385
zypp::CapDetail::CAP_NAMESPACE
@ CAP_NAMESPACE
Definition Capability.h:391
zypp::CapDetail::CAP_WITH
@ CAP_WITH
with
Definition Capability.h:388
zypp::CapDetail::CAP_COND
@ CAP_COND
if
Definition Capability.h:384
zypp::CapDetail::isVersioned
bool isVersioned() const
Definition Capability.h:410
zypp::CapDetail::isExpression
bool isExpression() const
Definition Capability.h:412
zypp::CapMatch
Tri state Capability match result.
Definition CapMatch.h:39
zypp::Capability
A sat capability.
Definition Capability.h:63
zypp::Capability::matches
static CapMatch matches(const char *lhs, const char *rhs)
Definition Capability.h:229
zypp::Capability::matches
static CapMatch matches(const IdString &lhs, const std::string &rhs)
Definition Capability.h:218
zypp::Capability::Capability
Capability(ResolverNamespace namespace_r, const char *value_r)
Definition Capability.h:142
zypp::Capability::id
sat::detail::IdType id() const
Expert backdoor.
Definition Capability.h:288
zypp::Capability::matches
CapMatch matches(const char *rhs) const
Definition Capability.h:234
zypp::Capability::matches
static CapMatch matches(const char *lhs, const IdString &rhs)
Definition Capability.h:227
zypp::Capability::asString
std::string asString() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition Capability.h:193
zypp::Capability::matches
CapMatch matches(const IdString &rhs) const
Definition Capability.h:232
zypp::Capability::matches
static CapMatch matches(const std::string &lhs, const Capability &rhs)
Definition Capability.h:221
zypp::Capability::matches
static CapMatch matches(const Capability &lhs, const std::string &rhs)
Definition Capability.h:213
zypp::Capability::matches
CapMatch matches(const std::string &rhs) const
Definition Capability.h:233
zypp::Capability::matches
static CapMatch matches(const IdString &lhs, const Capability &rhs)
Definition Capability.h:216
zypp::Capability::Null
static const Capability Null
No or Null Capability ( Id 0 ).
Definition Capability.h:172
zypp::Capability::matches
static CapMatch matches(const IdString &lhs, const char *rhs)
Definition Capability.h:219
zypp::Capability::matches
static CapMatch matches(const Capability &lhs, const Capability &rhs)
Definition Capability.h:211
zypp::Capability::matches
CapMatch matches(const Capability &rhs) const
Definition Capability.h:231
zypp::Capability::_id
sat::detail::IdType _id
Definition Capability.h:294
zypp::Capability::Capability
Capability()
Default ctor, Empty capability.
Definition Capability.h:69
zypp::Capability::empty
bool empty() const
Whether the Capability is empty.
Definition Capability.h:185
zypp::Capability::CapRel
CapRel
Enum values correspond with libsolv defines.
Definition Capability.h:152
zypp::Capability::CAP_OR
@ CAP_OR
or
Definition Capability.h:154
zypp::Capability::CAP_WITH
@ CAP_WITH
with
Definition Capability.h:160
zypp::Capability::CAP_WITHOUT
@ CAP_WITHOUT
without
Definition Capability.h:161
zypp::Capability::CAP_COND
@ CAP_COND
if
Definition Capability.h:156
zypp::Capability::CAP_ELSE
@ CAP_ELSE
else
Definition Capability.h:158
zypp::Capability::CAP_ARCH
@ CAP_ARCH
Used internally.
Definition Capability.h:164
zypp::Capability::CAP_UNLESS
@ CAP_UNLESS
unless
Definition Capability.h:157
zypp::Capability::CAP_NAMESPACE
@ CAP_NAMESPACE
Definition Capability.h:163
zypp::Capability::CAP_AND
@ CAP_AND
and
Definition Capability.h:153
zypp::Capability::detail
CapDetail detail() const
Helper providing more detailed information about a Capability.
Definition Capability.h:452
zypp::Capability::matches
static CapMatch matches(const Capability &lhs, const char *rhs)
Definition Capability.h:214
zypp::Capability::operator!=
bool operator!=(const Capability &lhs, const Capability &rhs)
Definition Capability.h:312
zypp::Capability::matches
static CapMatch matches(const std::string &lhs, const IdString &rhs)
Definition Capability.h:222
zypp::Capability::c_str
const char * c_str() const
Conversion to const char *.
Definition Capability.cc:446
zypp::Capability::operator==
bool operator==(const Capability &lhs, const Capability &rhs)
Definition Capability.h:308
zypp::Capability::_doMatch
static CapMatch _doMatch(sat::detail::IdType lhs, sat::detail::IdType rhs)
Match two Capabilities.
Definition Capability.cc:458
zypp::Capability::isInterestingFileSpec
static bool isInterestingFileSpec(const IdString &name_r)
Test for a filename that is likely being REQUIRED.
Definition Capability.h:251
zypp::Capability::operator<
bool operator<(const Capability &lhs, const Capability &rhs)
Arbitrary order.
Definition Capability.h:316
zypp::Capability::matches
static CapMatch matches(const Capability &lhs, const IdString &rhs)
Definition Capability.h:212
zypp::Capability::Capability
Capability(ResolverNamespace namespace_r, const std::string &value_r)
Definition Capability.h:143
zypp::Capability::CtorFlag
CtorFlag
Definition Capability.h:65
zypp::Capability::PARSED
@ PARSED
Definition Capability.h:65
zypp::Capability::UNPARSED
@ UNPARSED
Definition Capability.h:65
zypp::Capability::Empty
static const Capability Empty
Empty Capability.
Definition Capability.h:175
zypp::Capability::isInterestingFileSpec
static bool isInterestingFileSpec(const std::string &name_r)
Definition Capability.h:252
zypp::Capability::Capability
Capability(sat::detail::IdType id_r)
Ctor from id.
Definition Capability.h:72
zypp::Capability::matches
static CapMatch matches(const IdString &lhs, const IdString &rhs)
Definition Capability.h:217
zypp::Capability::matches
static CapMatch matches(const char *lhs, const Capability &rhs)
Definition Capability.h:226
zypp::Capability::matches
static CapMatch matches(const char *lhs, const std::string &rhs)
Definition Capability.h:228
zypp::Capability::matches
static CapMatch matches(const std::string &lhs, const char *rhs)
Definition Capability.h:224
zypp::Capability::matches
static CapMatch matches(const std::string &lhs, const std::string &rhs)
Definition Capability.h:223
zypp::Edition
Edition represents [epoch:]version[-release].
Definition Edition.h:61
zypp::IdString
Access to the sat-pools string space.
Definition IdString.h:44
zypp::IdString::c_str
const char * c_str() const
Conversion to const char *.
Definition IdString.cc:50
zypp::IdString::id
IdType id() const
Expert backdoor.
Definition IdString.h:133
zypp::IdString::Null
static const IdString Null
No or Null string ( Id 0 ).
Definition IdString.h:75
zypp::ResKind
Resolvable kinds.
Definition ResKind.h:33
str
String related utilities and Regular expression matching.
zypp::sat::detail::emptyId
static const IdType emptyId(1)
zypp::sat::detail::noId
static const IdType noId(0)
zypp::sat::detail::IdType
int IdType
Generic Id type.
Definition PoolMember.h:104
zypp::sat
Libsolv interface
zypp::solver::detail
Definition PoolImpl.h:110
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::ResolverNamespace
ResolverNamespace
The resolver's dependency namespaces.
Definition ResolverNamespace.h:25
zypp::dumpOn
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
Definition Capability.cc:588
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Definition SerialNumber.cc:52
zypp::CapabilitySet
std::unordered_set< Capability > CapabilitySet
Definition Capability.h:35
zypp::ZYPP_API
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247
zypp::Capability::Matches
matches functor.
Definition Capability.h:240
zypp::Capability::Matches::operator()
CapMatch operator()(const Capability &lhs, const Capability &rhs) const
Definition Capability.h:241
zypp::Rel
Relational operators.
Definition Rel.h:46
zypp::Rel::NONE
static const Rel NONE
Definition Rel.h:59
zypp::Rel::ANY
static const Rel ANY
Definition Rel.h:58
zypp::dumpCap::_cap
Capability _cap
Definition Capability.h:340
zypp::dumpCap::operator<<
friend std::ostream & operator<<(std::ostream &str, const dumpCap &obj)
zypp::dumpCap::_dumpRec
std::ostream & _dumpRec(std::ostream &str, Capability cap_r, std::string lvl_r="") const
Definition Capability.cc:612
zypp::dumpCap::dumpCap
dumpCap(Capability cap_r)
Definition Capability.h:332
zypp::dumpCap::dumpOn
std::ostream & dumpOn(std::ostream &str) const
Definition Capability.cc:610
zypp::sat::detail::PoolMember
Backlink to the associated PoolImpl.
Definition PoolMember.h:89