Range< C, S > Class Template Reference

#include <Range.h>

Collaboration diagram for Range< C, S >:

Public Member Functions

 Range ()
 
 Range (C start_, C end_)
 
Range intersection (Range const &) const
 
bool contains (C const &) const
 
size () const
 

Public Attributes

C start
 
C end
 

Detailed Description

template<class C, class S = size_t>
class Range< C, S >

Definition at line 18 of file Range.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

template<class C , class S >
Range< C, S >::Range

Definition at line 39 of file Range.h.

◆ Range() [2/2]

template<class C , class S >
Range< C, S >::Range ( C  start_,
C  end_ 
)

Definition at line 42 of file Range.h.

Member Function Documentation

◆ contains()

template<class C , class S >
bool Range< C, S >::contains ( C const &  value) const

Definition at line 54 of file Range.h.

References assert.

◆ intersection()

template<class C , class S >
Range< C, S > Range< C, S >::intersection ( Range< C, S > const &  rhs) const

Definition at line 46 of file Range.h.

References Range< C, S >::end, max(), min(), and Range< C, S >::start.

Referenced by HttpHdrRangeSpec::canonize(), and ACLIntRange::match().

◆ size()

Member Data Documentation

◆ end

◆ start


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors