|
Xpace
|
#include <compress.h>
Public Types | |
| typedef N | type |
| typedef CompressibleInt< B > | baseType |
| typedef CompressibleInt< SIGN(N), N > | diffType |
| typedef CompressibleInt< UNSIGN(N), N > | normType |
Public Member Functions | |
| CompressibleInt (N n=0) | |
| CompressibleInt (MemBitStream *b, BytePool *) | |
| operator N () const | |
| operator CompressibleInt< CHANGE_SIGN (N) | |
| B () const | |
| bool | operator== (const CompressibleInt< N, B > &rhs) |
| bool | operator!= (const CompressibleInt< N, B > &rhs) |
| bool | operator> (const CompressibleInt< N, B > &rhs) |
| bool | operator< (const CompressibleInt< N, B > &rhs) |
| diffType | diff (const CompressibleInt< N, B > &rhs, BytePool *=0) const |
| N | operator- (const CompressibleInt< N, B > &rhs) |
| N | sum (diffType rhs, BytePool *=0) |
| CompressibleInt< N, B > & | operator+ (diffType rhs) |
| CompressibleInt< N, B > & | operator++ () |
| CompressibleInt< N, B > & | operator+= (N n) |
| UNSIGN (N) operator/(uint d) const | |
| size_t | bitsNeeded () const |
| bool | addBits (size_t bits, MemBitStream *b) const |
| size_t | lenVar () const |
| bool | addVar (MemBitStream *b) const |
Static Public Member Functions | |
| static N | min () |
| static N | max () |
| template<typename T , typename LIST > | |
| static uint32 | GCF (const LIST &list, T minVal=0) |
| static bool | writeGCF (uint32 gcf, MemBitStream *b) |
| static uint32 | readGCF (MemBitStream *b) |
| static N | getBits (MemBitStream *b, size_t numBits, BytePool *=0) |
| static N | getVar (MemBitStream *b, BytePool *=0) |
Definition at line 21 of file compress.h.
| typedef N Xpace::CompressibleInt< N, B >::type |
Definition at line 24 of file compress.h.
| typedef CompressibleInt<B> Xpace::CompressibleInt< N, B >::baseType |
Definition at line 25 of file compress.h.
| typedef CompressibleInt<SIGN(N), N> Xpace::CompressibleInt< N, B >::diffType |
Definition at line 26 of file compress.h.
| typedef CompressibleInt<UNSIGN(N), N> Xpace::CompressibleInt< N, B >::normType |
Definition at line 27 of file compress.h.
|
inline |
Definition at line 30 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::CompressibleInt().
|
inline |
Definition at line 36 of file compress.h.
|
inlinestatic |
Definition at line 43 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::CompressibleInt(), Xpace::CompressibleString< STR >::diffType::diffType(), and Xpace::CompressibleString< STR >::length().
|
inlinestatic |
Definition at line 48 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::min(), Xpace::CompressibleString< STR >::min(), and Xpace::CompressibleString< STR >::diffType::min().
|
inline |
Definition at line 54 of file compress.h.
| Xpace::CompressibleInt< N, B >::operator CompressibleInt< CHANGE_SIGN | ( | N | ) |
|
inline |
Definition at line 61 of file compress.h.
|
inline |
Definition at line 68 of file compress.h.
|
inline |
Definition at line 73 of file compress.h.
|
inline |
Definition at line 78 of file compress.h.
|
inline |
Definition at line 83 of file compress.h.
|
inline |
Definition at line 89 of file compress.h.
Referenced by Xpace::CompressibleString< STR >::diffType::getBits(), Xpace::CompressibleInt< int64 >::operator-(), Xpace::CompressibleInt< int64 >::operator<(), and Xpace::CompressibleString< STR >::operator<().
|
inline |
Definition at line 96 of file compress.h.
|
inline |
Definition at line 101 of file compress.h.
Referenced by Xpace::CompressibleString< STR >::diffType::diff(), Xpace::CompressibleInt< int64 >::operator+(), Xpace::CompressibleInt< int64 >::operator-(), and Xpace::CompressibleString< STR >::operator-().
|
inline |
Definition at line 107 of file compress.h.
|
inline |
Definition at line 113 of file compress.h.
|
inline |
Definition at line 119 of file compress.h.
|
inlinestatic |
Definition at line 846 of file compress.h.
References Xpace::CompressibleString< STR >::diff(), and type.
Referenced by Xpace::CompressibleInt< int64 >::operator+=(), Xpace::CompressibleString< STR >::operator/(), and Xpace::CompressibleString< STR >::diffType::operator/().
|
inlinestatic |
Definition at line 130 of file compress.h.
Referenced by Xpace::CompressibleString< STR >::GCF(), Xpace::CompressibleString< STR >::diffType::GCF(), and Xpace::CompressibleInt< int64 >::operator+=().
|
inlinestatic |
Definition at line 136 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::writeGCF(), Xpace::CompressibleString< STR >::writeGCF(), and Xpace::CompressibleString< STR >::diffType::writeGCF().
|
inline |
Definition at line 141 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::UNSIGN().
|
inline |
Definition at line 149 of file compress.h.
Referenced by Xpace::CompressibleString< STR >::readGCF(), Xpace::CompressibleString< STR >::diffType::readGCF(), and Xpace::CompressibleInt< int64 >::UNSIGN().
|
inline |
Definition at line 156 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::bitsNeeded(), Xpace::CompressibleString< STR >::bitsNeeded(), and Xpace::CompressibleString< STR >::diffType::bitsNeeded().
|
inline |
Definition at line 164 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::addBits(), Xpace::CompressibleString< STR >::addBits(), and Xpace::CompressibleString< STR >::diffType::addBits().
|
inline |
Definition at line 171 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::lenVar(), Xpace::CompressibleString< STR >::lenVar(), and Xpace::CompressibleString< STR >::diffType::lenVar().
|
inlinestatic |
Definition at line 179 of file compress.h.
Referenced by Xpace::CompressibleInt< int64 >::addVar(), Xpace::CompressibleString< STR >::addVar(), and Xpace::CompressibleString< STR >::diffType::getVar().
|
inlinestatic |
Definition at line 188 of file compress.h.
Referenced by Xpace::CompressibleString< STR >::diffType::addVar(), Xpace::CompressibleInt< int64 >::getBits(), and Xpace::CompressibleString< STR >::getBits().