libzypp  17.5.0
zypp::ESetCompareDef Class Reference

Result of set comparison (use like 'enum class SetCompare') This is the type a compare function should return. More...

#include <SetRelationMixin.h>

Public Types

enum  Enum {
  uncomparable = 0, equal = (1<<0), properSubset = (1<<1), properSuperset = (1<<2),
  disjoint = (1<<3)
}
 

Static Public Member Functions

static const std::string & asString (Enum val_r)
 String representantion. More...
 

Related Functions

(Note that these are not member functions.)

typedef base::EnumClass< ESetCompareDefSetCompare
 

Detailed Description

Result of set comparison (use like 'enum class SetCompare') This is the type a compare function should return.

Definition at line 28 of file SetRelationMixin.h.

Member Enumeration Documentation

◆ Enum

Enumerator
uncomparable 

"{?}"

equal 

"{=}"

properSubset 

"{<}"

properSuperset 

"{>}"

disjoint 

"{ }"

Definition at line 29 of file SetRelationMixin.h.

Member Function Documentation

◆ asString()

const std::string & zypp::ESetCompareDef::asString ( Enum  val_r)
static

String representantion.

Definition at line 18 of file SetRelationMixin.cc.

Friends And Related Function Documentation

◆ SetCompare

typedef base::EnumClass<ESetCompareDef> SetCompare
related

typedef 'enum class SetCompare'

Definition at line 40 of file SetRelationMixin.h.


The documentation for this class was generated from the following files: