Public Member Functions | Private Attributes | List of all members
IZ::BitEncoder< Code > Class Template Reference

#include <bitcoder.h>

Inheritance diagram for IZ::BitEncoder< Code >:
Inheritance graph
[legend]

Public Member Functions

void align ()
 
void begin (unsigned char *ptr)
 
unsigned char * end ()
 
void flushCache ()
 
void storeCode (Code code)
 
void writeBits (unsigned int bits, unsigned int count)
 

Private Attributes

Code * p
 

Additional Inherited Members

- Protected Types inherited from IZ::BitCoderBase< Code >
typedef U64 Cache
 
enum  Constants { CodeBits = sizeof(Code) * CHAR_BIT, CacheBits = sizeof(Cache) * CHAR_BIT }
 
- Protected Attributes inherited from IZ::BitCoderBase< Code >
Cache bitcache
 
unsigned int len
 

Detailed Description

template<typename Code = U32>
class IZ::BitEncoder< Code >

Definition at line 138 of file bitcoder.h.

Member Function Documentation

template<typename Code = U32>
void IZ::BitEncoder< Code >::align ( )
inline

Definition at line 180 of file bitcoder.h.

template<typename Code = U32>
void IZ::BitEncoder< Code >::begin ( unsigned char *  ptr)
inline

Definition at line 149 of file bitcoder.h.

template<typename Code = U32>
unsigned char* IZ::BitEncoder< Code >::end ( )
inline

Definition at line 192 of file bitcoder.h.

template<typename Code = U32>
void IZ::BitEncoder< Code >::flushCache ( )
inline

Definition at line 159 of file bitcoder.h.

template<typename Code = U32>
void IZ::BitEncoder< Code >::storeCode ( Code  code)
inline

Definition at line 145 of file bitcoder.h.

template<typename Code = U32>
void IZ::BitEncoder< Code >::writeBits ( unsigned int  bits,
unsigned int  count 
)
inline

Definition at line 170 of file bitcoder.h.

Member Data Documentation

template<typename Code = U32>
Code* IZ::BitEncoder< Code >::p
private

Definition at line 198 of file bitcoder.h.


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


imagezero
Author(s):
autogenerated on Wed Jun 5 2019 22:02:47