cFIFO_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
 object methods exported to lua
mixed Clear (...)
 make empty
mixed Size (...)
 for debugging from lua
mixed GetQuickHandle (...)
 get handle usable with the static FIFO_QUICK_ functions above, doesn't do typechecking
mixed GetTotalPopped (...)
mixed PopRaw (...)
 drop a specific number of bytes
mixed HackRestore (...)
 hack for bug-handling in network, try to restore previously popped data
mixed PushFIFOPartRaw (...)
mixed PopFIFO (...)
mixed PushC (...)
 push cluster
mixed PushI (...)
mixed PushU (...)
mixed PushF (...)
mixed PushS (...)
mixed PushFIFO (...)
mixed PushPlainText (...)
mixed PushFilledString (...)
mixed PushFilledUnicodeString (...)
mixed PushUint8 (...)
mixed PushUint16 (...)
mixed PushUint32 (...)
mixed PushInt8 (...)
mixed PushInt16 (...)
mixed PushInt32 (...)
mixed PushNetUint8 (...)
 respecting network byte order
mixed PushNetUint16 (...)
mixed PushNetInt8 (...)
mixed PushNetInt16 (...)
mixed PushNetUint32 (...)
mixed PushNetInt32 (...)
mixed PushNetF (...)
mixed PopC (...)
 pop cluster
mixed PopI (...)
mixed PopU (...)
mixed PopF (...)
mixed PopS (...)
mixed PopFilledString (...)
mixed PopTerminatedString (...)
mixed PopUnicodeString (...)
mixed PopUnicodeLEString (...)
mixed PopUint32 (...)
mixed PopUint16 (...)
mixed PopUint8 (...)
mixed PopInt32 (...)
mixed PopInt16 (...)
mixed PopInt8 (...)
mixed PopNetUint32 (...)
mixed PopNetUint16 (...)
mixed PopNetUint8 (...)
mixed PopNetF (...)
mixed PopNetInt32 (...)
mixed PopNetInt16 (...)
mixed PopNetInt8 (...)
mixed PeekDecompressIntoFifo (...)
 inline bool PeekDecompressIntoFifo (const unsigned int iLenCompressed, const unsigned int iLenDecompressed, cFIFO &dst) {
mixed PushCompressFromFifo (...)
 inline int PushCompressFromFifo(cFIFO &src) {
mixed WriteToFile (...)
 inline void WriteToFile (filename) {
mixed AppendToFile (...)
 inline void AppendToFile (filename) {
mixed ReadFromFile (...)
 inline void ReadFromFile (filename) {
mixed PeekFloat (...)
 peek cluster
mixed PeekNetUint32 (...)
mixed PeekNetUint16 (...)
mixed PeekNetUint8 (...)
mixed PokeNetUint8 (...)
mixed CRC (...)
 lua : number fifo:CRC(buffersize)

Static Public Member Functions

static mixed methodName (...)
static mixed methodName (...)
static mixed methodName (...)
static mixed methodName (...)
static mixed CreateFIFO (...)


Detailed Description

Definition at line 1714 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed cFIFO_L::methodName (   ...  )  [inline, static]

Definition at line 1716 of file lua_pseudo_code.cpp.

static mixed cFIFO_L::methodName (   ...  )  [inline, static]

Definition at line 1718 of file lua_pseudo_code.cpp.

static mixed cFIFO_L::methodName (   ...  )  [inline, static]

Definition at line 1720 of file lua_pseudo_code.cpp.

static mixed cFIFO_L::methodName (   ...  )  [inline, static]

Definition at line 1722 of file lua_pseudo_code.cpp.

static mixed cFIFO_L::CreateFIFO (   ...  )  [inline, static]

static methods exported to lua cFIFO* CreateFIFO (); for lua

Definition at line 1726 of file lua_pseudo_code.cpp.

mixed cFIFO_L::Destroy (   ...  )  [inline]

object methods exported to lua

Definition at line 1729 of file lua_pseudo_code.cpp.

mixed cFIFO_L::Clear (   ...  )  [inline]

make empty

Definition at line 1732 of file lua_pseudo_code.cpp.

mixed cFIFO_L::Size (   ...  )  [inline]

for debugging from lua

Definition at line 1735 of file lua_pseudo_code.cpp.

mixed cFIFO_L::GetQuickHandle (   ...  )  [inline]

get handle usable with the static FIFO_QUICK_ functions above, doesn't do typechecking

Definition at line 1738 of file lua_pseudo_code.cpp.

mixed cFIFO_L::GetTotalPopped (   ...  )  [inline]

Definition at line 1740 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopRaw (   ...  )  [inline]

drop a specific number of bytes

Definition at line 1743 of file lua_pseudo_code.cpp.

mixed cFIFO_L::HackRestore (   ...  )  [inline]

hack for bug-handling in network, try to restore previously popped data

Definition at line 1746 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushFIFOPartRaw (   ...  )  [inline]

copies a part of otherfifo and pushes it to self for lua : void PushFIFOPartRaw (otherfifo,offset=0,length=full)

Definition at line 1750 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopFIFO (   ...  )  [inline]

pops [length] bytes from this fifo and appends them to targetfifo for lua : void PopFIFO (targetfifo,length)

Definition at line 1754 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushC (   ...  )  [inline]

push cluster

Definition at line 1757 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushI (   ...  )  [inline]

Definition at line 1759 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushU (   ...  )  [inline]

Definition at line 1761 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushF (   ...  )  [inline]

Definition at line 1763 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushS (   ...  )  [inline]

Definition at line 1765 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushFIFO (   ...  )  [inline]

Definition at line 1767 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushPlainText (   ...  )  [inline]

Definition at line 1769 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushFilledString (   ...  )  [inline]

Definition at line 1771 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushFilledUnicodeString (   ...  )  [inline]

for lua : void PushUnicodeString (ascistring,len) converts a normal asci string to unicode and pushes it onto the fifo ( pushed bytes = len * 2 ) ascistring will be padded with zero bytes to reach len

Definition at line 1776 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushUint8 (   ...  )  [inline]

Definition at line 1778 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushUint16 (   ...  )  [inline]

Definition at line 1780 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushUint32 (   ...  )  [inline]

Definition at line 1782 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushInt8 (   ...  )  [inline]

Definition at line 1784 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushInt16 (   ...  )  [inline]

Definition at line 1786 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushInt32 (   ...  )  [inline]

Definition at line 1788 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetUint8 (   ...  )  [inline]

respecting network byte order

Definition at line 1791 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetUint16 (   ...  )  [inline]

Definition at line 1793 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetInt8 (   ...  )  [inline]

Definition at line 1795 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetInt16 (   ...  )  [inline]

Definition at line 1797 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetUint32 (   ...  )  [inline]

Definition at line 1799 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetInt32 (   ...  )  [inline]

Definition at line 1801 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushNetF (   ...  )  [inline]

Definition at line 1803 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopC (   ...  )  [inline]

pop cluster

Definition at line 1806 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopI (   ...  )  [inline]

Definition at line 1808 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopU (   ...  )  [inline]

Definition at line 1810 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopF (   ...  )  [inline]

Definition at line 1812 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopS (   ...  )  [inline]

Definition at line 1814 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopFilledString (   ...  )  [inline]

Definition at line 1816 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopTerminatedString (   ...  )  [inline]

lua: o:PopTerminatedString(terminationstring) returns nil if there is no terminationstring

Definition at line 1820 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopUnicodeString (   ...  )  [inline]

for lua : string PopUnicodeString (size_in_number_of_unicode_chars) size is the number of 2-byte UNICODE characters , so the number of bytes popped is 2 times that size

Definition at line 1824 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopUnicodeLEString (   ...  )  [inline]

Definition at line 1826 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopUint32 (   ...  )  [inline]

Definition at line 1828 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopUint16 (   ...  )  [inline]

Definition at line 1830 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopUint8 (   ...  )  [inline]

Definition at line 1832 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopInt32 (   ...  )  [inline]

Definition at line 1834 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopInt16 (   ...  )  [inline]

Definition at line 1836 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopInt8 (   ...  )  [inline]

Definition at line 1838 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetUint32 (   ...  )  [inline]

Definition at line 1840 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetUint16 (   ...  )  [inline]

Definition at line 1842 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetUint8 (   ...  )  [inline]

Definition at line 1844 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetF (   ...  )  [inline]

Definition at line 1846 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetInt32 (   ...  )  [inline]

Definition at line 1848 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetInt16 (   ...  )  [inline]

Definition at line 1850 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PopNetInt8 (   ...  )  [inline]

Definition at line 1852 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PeekDecompressIntoFifo (   ...  )  [inline]

inline bool PeekDecompressIntoFifo (const unsigned int iLenCompressed, const unsigned int iLenDecompressed, cFIFO &dst) {

Definition at line 1855 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PushCompressFromFifo (   ...  )  [inline]

inline int PushCompressFromFifo(cFIFO &src) {

Definition at line 1858 of file lua_pseudo_code.cpp.

mixed cFIFO_L::WriteToFile (   ...  )  [inline]

inline void WriteToFile (filename) {

Definition at line 1861 of file lua_pseudo_code.cpp.

mixed cFIFO_L::AppendToFile (   ...  )  [inline]

inline void AppendToFile (filename) {

Definition at line 1864 of file lua_pseudo_code.cpp.

mixed cFIFO_L::ReadFromFile (   ...  )  [inline]

inline void ReadFromFile (filename) {

Definition at line 1867 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PeekFloat (   ...  )  [inline]

peek cluster

Definition at line 1870 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PeekNetUint32 (   ...  )  [inline]

Definition at line 1872 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PeekNetUint16 (   ...  )  [inline]

Definition at line 1874 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PeekNetUint8 (   ...  )  [inline]

Definition at line 1876 of file lua_pseudo_code.cpp.

mixed cFIFO_L::PokeNetUint8 (   ...  )  [inline]

Definition at line 1878 of file lua_pseudo_code.cpp.

mixed cFIFO_L::CRC (   ...  )  [inline]

lua : number fifo:CRC(buffersize)

Definition at line 1881 of file lua_pseudo_code.cpp.


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

Generated on Tue Feb 7 06:00:27 2012 for lua by  doxygen 1.5.6