iLE_Math Class Reference

#include <iLE_Math.h>

List of all members.

Public Member Functions

 iLE_Math (void)
 ~iLE_Math (void)

Static Public Member Functions

unsigned long charArrToULong (const unsigned char *inCharArray)
 Reads 4 bytes (Little Endian) and returns an unsigned long.
void ULongToCharArr (unsigned long inLong, unsigned char *outCharArray)
 Takes an unsigned long and writes 4 bytes (Little Endian) into the buffer you pass.
void UShortToCharArr (unsigned short inShort, unsigned char *outCharArray)
 Takes an unsigned short and writes 2 bytes (Little Endian) into the buffer you pass.
LOOG_INT64 CharArrToInt64 (const unsigned char *inCharArray)
 Reads 8 bytes (Little Endian) and returns an int 64.
void Int64ToCharArr (LOOG_INT64 inInt64, unsigned char *outCharArray)
 Takes an int64 and writes 8 bytes (Little Endian) into the buffer you pass.
unsigned short charArrToUShort (const unsigned char *inCharArray)
 Reads 2 bytes (Little Endian) and returns an unsigned short.


Constructor & Destructor Documentation

iLE_Math::iLE_Math void   ) 
 

Definition at line 35 of file iLE_Math.cpp.

iLE_Math::~iLE_Math void   ) 
 

Definition at line 39 of file iLE_Math.cpp.


Member Function Documentation

LOOG_INT64 iLE_Math::CharArrToInt64 const unsigned char *  inCharArray  )  [static]
 

Reads 8 bytes (Little Endian) and returns an int 64.

Definition at line 71 of file iLE_Math.cpp.

References LOOG_INT64.

Referenced by AutoOggSeekTable::acceptOggPage(), AutoOggSeekTable::buildTableFromBuffer(), AutoOggSeekTable::buildTableFromFile(), FFDShowVideoStream::createFormatBlock(), main(), OggPageHeader::setBaseHeader(), and OggPageHeader::setGranulePos().

unsigned long iLE_Math::charArrToULong const unsigned char *  inCharArray  )  [static]
 

Reads 4 bytes (Little Endian) and returns an unsigned long.

Definition at line 43 of file iLE_Math.cpp.

Referenced by AutoOggSeekTable::acceptOggPage(), AutoOggSeekTable::buildTableFromBuffer(), AutoOggSeekTable::buildTableFromFile(), VorbisStream::createFormatBlock(), SpeexStream::createFormatBlock(), FFDShowVideoStream::createFormatBlock(), CMMLStream::createFormatBlock(), headerCount(), main(), VorbisComments::parseOggPacket(), secondaryHeaders(), OggPageHeader::setBaseHeader(), OggPageHeader::setCRCChecksum(), OggPageHeader::setPageSequenceNo(), and OggPageHeader::setStreamSerialNo().

unsigned short iLE_Math::charArrToUShort const unsigned char *  inCharArray  )  [static]
 

Reads 2 bytes (Little Endian) and returns an unsigned short.

Definition at line 68 of file iLE_Math.cpp.

Referenced by AnxStreamMapper::getAnxVersion().

void iLE_Math::Int64ToCharArr LOOG_INT64  inInt64,
unsigned char *  outCharArray
[static]
 

Takes an int64 and writes 8 bytes (Little Endian) into the buffer you pass.

Definition at line 81 of file iLE_Math.cpp.

Referenced by AnxPacketMaker::makeAnnodexBOS_2_0(), AnxPacketMaker::makeAnxData_2_0(), FishSkeleton::makeCMMLBOS(), FishSkeleton::makeFishBone_3_0(), FishSkeleton::makeFishHeadBOS_3_0(), OggPageHeader::rawData(), AutoOggSeekTable::serialiseInto(), and setPresentationTimeOnAnnodexHeaderPage().

void iLE_Math::ULongToCharArr unsigned long  inLong,
unsigned char *  outCharArray
[static]
 

Takes an unsigned long and writes 4 bytes (Little Endian) into the buffer you pass.

Definition at line 53 of file iLE_Math.cpp.

Referenced by AnxPacketMaker::makeAnxData_2_0(), FishSkeleton::makeFishBone_3_0(), OggPageHeader::rawData(), AutoOggSeekTable::serialiseInto(), and VorbisComments::toOggPacket().

void iLE_Math::UShortToCharArr unsigned short  inShort,
unsigned char *  outCharArray
[static]
 

Takes an unsigned short and writes 2 bytes (Little Endian) into the buffer you pass.

Definition at line 64 of file iLE_Math.cpp.

Referenced by AnxPacketMaker::makeAnnodexBOS_2_0(), and FishSkeleton::makeFishHeadBOS_3_0().


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:03:20 2005 for oggdsf by  doxygen 1.3.9