LLCRC Class Reference

#include <llcrc.h>

List of all members.

Public Member Functions

 LLCRC ()
U32 getCRC () const
void update (U8 next_byte)
void update (const U8 *buffer, size_t buffer_size)
void update (const char *filename)

Protected Attributes

U32 mCurrent


Detailed Description

Definition at line 52 of file llcrc.h.


Constructor & Destructor Documentation

LLCRC::LLCRC (  ) 

---------------------------------------------------------------------------- Class llcrc ----------------------------------------------------------------------------

Definition at line 143 of file llcrc.cpp.


Member Function Documentation

U32 LLCRC::getCRC (  )  const

Definition at line 148 of file llcrc.cpp.

References mCurrent.

Referenced by LLTexLayer::getAlphaData().

void LLCRC::update ( const char *  filename  ) 

Definition at line 166 of file llcrc.cpp.

References LLFile::fopen(), llendl, llerrs, llwarns, size, and update().

void LLCRC::update ( const U8 buffer,
size_t  buffer_size 
)

Definition at line 158 of file llcrc.cpp.

References i, mCurrent, and UPDC32.

void LLCRC::update ( U8  next_byte  ) 

Definition at line 153 of file llcrc.cpp.

References mCurrent, and UPDC32.

Referenced by LLTexLayer::getAlphaData(), and update().


Member Data Documentation

U32 LLCRC::mCurrent [protected]

Definition at line 55 of file llcrc.h.

Referenced by getCRC(), and update().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:13 2010 for Second Life Viewer by  doxygen 1.4.7