namespace zypp
{
///////////////////////////////////////////////////////////////////
- /// \class ESetCompareDef
+ /// \class _SetCompareDef
/// \brief Result of set comparison (use like 'enum class \ref SetCompare')
/// This is the type a \c compare function should return.
///////////////////////////////////////////////////////////////////
- struct ESetCompareDef {
+ struct _SetCompareDef {
enum Enum {
uncomparable = 0, ///< "{?}"
equal = (1<<0), ///< "{=}"
/** String representantion */
static const std::string & asString( Enum val_r );
};
- /** \relates ESetCompareDef typedef 'enum class SetCompare' */
- typedef base::EnumClass<ESetCompareDef> SetCompare;
+ /** \relates _SetCompareDef typedef 'enum class SetCompare' */
+ typedef base::EnumClass<_SetCompareDef> SetCompare;
/** \relates SetCompare Stream output */
inline std::ostream & operator<<( std::ostream & str, const SetCompare::Enum & obj )
{ return str << obj.asEnum(); }
///////////////////////////////////////////////////////////////////
- /// \class ESetRelationDef
+ /// \class _SetRelationDef
/// \brief Set Relation based on \ref SetCompare (use like 'enum class \ref SetRelation')
/// Comparison (\c== \c!=) between \ref SetRelation and \ref SetCompare
/// is defined to let \c SetRelation::subset match \c SetCompare::equal
/// as well as \c SetCompare::properSubset. Accordingly \c SetRelation::subset
/// matches \c SetCompare::equal as well as \c SetCompare::properSuperset.
///////////////////////////////////////////////////////////////////
- struct ESetRelationDef {
+ struct _SetRelationDef {
enum Enum {
uncomparable = SetCompare::uncomparable, ///< "{??}"
equal = SetCompare::equal, ///< "{==}"
/** String representantion */
static const std::string & asString( Enum val_r );
};
- /** \relates ESetRelationDef typedef 'enum class SetRelation' */
- typedef base::EnumClass<ESetRelationDef> SetRelation;
+ /** \relates _SetRelationDef typedef 'enum class SetRelation' */
+ typedef base::EnumClass<_SetRelationDef> SetRelation;
/** \relates SetRelation Stream output */
inline std::ostream & operator<<( std::ostream & str, const SetRelation::Enum & obj )
namespace base
{
///////////////////////////////////////////////////////////////////
- /// \class SetRelationMixin
+ /// \class SetRelationMixin<Derived>
/// \brief Provide set relation methods based on Derived::setRelationMixinCompare
/// A class using this mixin must provide:
/// \code