libzypp  13.10.6
zypp::Range< _Tp, _Compare > Struct Template Reference

#include <Range.h>

Public Member Functions

 Range ()
 Default ctor: Rel::ANY. More...
 
 Range (const _Tp &value_r)
 Ctor taking _Tp (Rel::EQ). More...
 
 Range (Rel op_r, const _Tp &value_r)
 Ctor taking Rel and _Tp. More...
 
bool overlaps (const Range &rhs) const
 Return whether two Ranges overlap. More...
 

Public Attributes

Rel op
 
_Tp value
 

Detailed Description

template<class _Tp, class _Compare = Compare<_Tp>>
struct zypp::Range< _Tp, _Compare >

Definition at line 34 of file Range.h.

Constructor & Destructor Documentation

template<class _Tp, class _Compare = Compare<_Tp>>
zypp::Range< _Tp, _Compare >::Range ( )
inline

Default ctor: Rel::ANY.

Definition at line 42 of file Range.h.

template<class _Tp, class _Compare = Compare<_Tp>>
zypp::Range< _Tp, _Compare >::Range ( const _Tp &  value_r)
inline

Ctor taking _Tp (Rel::EQ).

Definition at line 47 of file Range.h.

template<class _Tp, class _Compare = Compare<_Tp>>
zypp::Range< _Tp, _Compare >::Range ( Rel  op_r,
const _Tp &  value_r 
)
inline

Ctor taking Rel and _Tp.

Definition at line 53 of file Range.h.

Member Function Documentation

template<class _Tp, class _Compare = Compare<_Tp>>
bool zypp::Range< _Tp, _Compare >::overlaps ( const Range< _Tp, _Compare > &  rhs) const
inline

Return whether two Ranges overlap.

Definition at line 59 of file Range.h.

Member Data Documentation

template<class _Tp, class _Compare = Compare<_Tp>>
Rel zypp::Range< _Tp, _Compare >::op

Definition at line 37 of file Range.h.

template<class _Tp, class _Compare = Compare<_Tp>>
_Tp zypp::Range< _Tp, _Compare >::value

Definition at line 39 of file Range.h.


The documentation for this struct was generated from the following file: