# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CTileLumel::CStreamBit Class Reference

Stream bit class used to compress the shadow map of the patch. More...

#include <tile_lumel.h>

List of all members.

Public Methods

void setPtr (std::vector< uint8 > *buffer)
 Init the pointer of the stream. More...

void pushBackBool (bool bBoolean)
 Push a bool. More...

void pushBack4bits (uint8 fourBits)
 Push 4 bits. More...

bool popBackBool ()
 Pop a bool. More...

uint8 popBack4bits ()
 Pop 4 bits. More...


Private Attributes

std::vector< uint8 > * _Vector
uint _Offset


Detailed Description

Stream bit class used to compress the shadow map of the patch.

Definition at line 52 of file tile_lumel.h.


Member Function Documentation

uint8 NL3D::CTileLumel::CStreamBit::popBack4bits   [inline]
 

Pop 4 bits.

Definition at line 186 of file tile_lumel.h.

References popBackBool.

bool NL3D::CTileLumel::CStreamBit::popBackBool   [inline]
 

Pop a bool.

Definition at line 174 of file tile_lumel.h.

References _Offset, _Vector, and nlassert.

Referenced by popBack4bits.

void NL3D::CTileLumel::CStreamBit::pushBack4bits uint8    fourBits [inline]
 

Push 4 bits.

Definition at line 152 of file tile_lumel.h.

References nlassert, and pushBackBool.

void NL3D::CTileLumel::CStreamBit::pushBackBool bool    bBoolean [inline]
 

Push a bool.

Definition at line 139 of file tile_lumel.h.

References _Offset, and _Vector.

Referenced by pushBack4bits.

void NL3D::CTileLumel::CStreamBit::setPtr std::vector< uint8 > *    buffer [inline]
 

Init the pointer of the stream.

Definition at line 132 of file tile_lumel.h.

References _Offset, and _Vector.


Member Data Documentation

uint NL3D::CTileLumel::CStreamBit::_Offset [private]
 

Definition at line 71 of file tile_lumel.h.

Referenced by popBackBool, pushBackBool, and setPtr.

std::vector<uint8>* NL3D::CTileLumel::CStreamBit::_Vector [private]
 

Definition at line 70 of file tile_lumel.h.

Referenced by popBackBool, pushBackBool, and setPtr.


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