tudocomp
– The TU Dortmund Compression Framework
Range.hpp File Reference
#include <tudocomp/def.hpp>
#include <limits>

Go to the source code of this file.

Classes

class  tdc::Range
 Represents a generic range of positive integers. More...
 
class  tdc::MinDistributedRange
 Represents a range of positive integers that tend to be distributed towards the minimum. More...
 
class  tdc::TypeRange< T >
 Represents a range of valid values for a certain type. More...
 
class  tdc::FixedRange< t_min, t_max >
 Represents a compiler-level fixed range. More...
 
class  tdc::LiteralRange
 Represents the range of valid tdc::uliteral_t values. More...
 
class  tdc::LengthRange
 Represents the range of valid tdc::len_t values. More...
 

Namespaces

 tdc
 Contains the text compression and encoding framework.
 

Typedefs

using tdc::BitRange = FixedRange< 0, 1 >
 Represents the range of bit values, ie 0 to 1 More...
 

Variables

constexpr auto tdc::size_r = TypeRange<size_t>()
 Global predefined range for the size_t. More...
 
constexpr auto tdc::bit_r = BitRange()
 Global predefined range for bits (0 or 1). More...
 
constexpr auto tdc::literal_r = LiteralRange()
 Global predefined reange for literals. More...
 
constexpr auto tdc::uliteral_r = LiteralRange()
 
constexpr auto tdc::len_r = LengthRange()
 Global predefined range for len_t. More...