libzypp  17.8.0
CpeId.cc File Reference
#include <iostream>
#include <array>
#include "zypp/base/String.h"
#include "zypp/base/LogTools.h"
#include "zypp/base/NonCopyable.h"
#include "zypp/CpeId.h"
Include dependency graph for CpeId.cc:

Go to the source code of this file.

Classes

class  zypp::CpeId::Impl
 CpeId implementation. More...
 

Namespaces

 zypp
 Easy-to use interface to the ZYPP dependency resolver.
 

Macros

#define WFN_ATTRIBUTES
 Initializer list with all wfn attributes. More...
 
#define OUTS(N)   { N, #N }
 
#define WFN_STRICT_SPEC   0
 Symmetric attribute compare if wildcards are involved! The specs define any comarison with a wildcarded attribute as target to return uncomparable: More...
 

Macro Definition Documentation

◆ WFN_ATTRIBUTES

#define WFN_ATTRIBUTES
Value:
{\
Attribute::part, \
Attribute::vendor, \
Attribute::product, \
Attribute::version, \
Attribute::update, \
Attribute::edition, \
Attribute::language, \
Attribute::sw_edition,\
Attribute::target_sw, \
Attribute::target_hw, \
Attribute::other, \
}

Initializer list with all wfn attributes.

Definition at line 23 of file CpeId.cc.

◆ OUTS

#define OUTS (   N)    { N, #N }

◆ WFN_STRICT_SPEC

#define WFN_STRICT_SPEC   0

Symmetric attribute compare if wildcards are involved! The specs define any comarison with a wildcarded attribute as target to return uncomparable:

wildcardfree <=> wildcarded ==> uncomparable,
wildcarded <=> wildcardfree ==> superset or disjoint

But a symmetric result is much more intuitive:

wildcardfree <=> wildcarded ==> subset or disjoint
wildcarded <=> wildcardfree ==> superset or disjoint

Definition at line 929 of file CpeId.cc.