Main Page Modules Namespaces C++ Classes Compound List File List Index
Types Namespace Reference

Types Namespace Reference


Enumerations

enum  {
  VectorSizeBitSize = 8,
  ByteBufferSizeBitSize = 10
}

Functions

void read (TNL::BitStream &s, TNL::StringPtr *val)
 Reads a string from a BitStream.

void write (TNL::BitStream &s, TNL::StringPtr &val)
 Rrites a string into a BitStream.

void read (TNL::BitStream &s, TNL::ByteBufferPtr *val)
 Reads a ByteBuffer from a BitStream.

void write (TNL::BitStream &s, TNL::ByteBufferPtr &val)
 Writes a ByteBuffer into a BitStream.

void read (TNL::BitStream &s, TNL::IPAddress *val)
 Reads an IP address from a BitStream.

void write (TNL::BitStream &s, TNL::IPAddress &val)
 Writes an IP address into a BitStream.

void read (TNL::BitStream &s, TNL::StringTableEntry *val)
 Reads a StringTableEntry from a BitStream.

void write (TNL::BitStream &s, TNL::StringTableEntry &val)
 Writes a StringTableEntry into a BitStream.

template<typename T> void read (TNL::BitStream &s, T *val)
 Reads a generic object from a BitStream.

template<typename T> void write (TNL::BitStream &s, T &val)
 Writes a generic object into a BitStream.

template<typename T> void read (TNL::BitStream &s, TNL::Vector< T > *val)
 Reads a Vector of objects from a BitStream.

template<typename T> void write (TNL::BitStream &s, TNL::Vector< T > &val)
 Writes a Vector of objects into a BitStream.

template<TNL::U32 BitCount> void read (TNL::BitStream &s, TNL::Int< BitCount > *val)
 Reads a bit-compressed integer from a BitStream.

template<TNL::U32 BitCount> void write (TNL::BitStream &s, TNL::Int< BitCount > &val)
 Writes a bit-compressed integer into a BitStream.

template<TNL::U32 BitCount> void read (TNL::BitStream &s, TNL::SignedInt< BitCount > *val)
 Reads a bit-compressed signed integer from a BitStream.

template<TNL::U32 BitCount> void write (TNL::BitStream &s, TNL::SignedInt< BitCount > &val)
 Writes a bit-compressed signed integer into a BitStream.

template<TNL::U32 MinValue, TNL::U32 MaxValue> void read (TNL::BitStream &s, TNL::RangedU32< MinValue, MaxValue > *val)
 Reads a bit-compressed RangedU32 from a BitStream.

template<TNL::U32 MinValue, TNL::U32 MaxValue> void write (TNL::BitStream &s, TNL::RangedU32< MinValue, MaxValue > &val)
 Writes a bit-compressed RangedU32 into a BitStream.

template<TNL::U32 BitCount> void read (TNL::BitStream &s, TNL::Float< BitCount > *val)
 Reads a bit-compressed SignedFloat (-1 to 1) from a BitStream.

template<TNL::U32 BitCount> void write (TNL::BitStream &s, TNL::Float< BitCount > &val)
 Writes a bit-compressed SignedFloat (-1 to 1) into a BitStream.

template<TNL::U32 BitCount> void read (TNL::BitStream &s, TNL::SignedFloat< BitCount > *val)
 Reads a bit-compressed Float (0 to 1) from a BitStream.

template<TNL::U32 BitCount> void write (TNL::BitStream &s, TNL::SignedFloat< BitCount > &val)
 Writes a bit-compressed Float (0 to 1) into a BitStream.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
VectorSizeBitSize 
ByteBufferSizeBitSize 


Function Documentation

void read TNL::BitStream s,
TNL::StringPtr val
 

Reads a string from a BitStream.

void write TNL::BitStream s,
TNL::StringPtr val
 

Rrites a string into a BitStream.

void read TNL::BitStream s,
TNL::ByteBufferPtr val
 

Reads a ByteBuffer from a BitStream.

void write TNL::BitStream s,
TNL::ByteBufferPtr val
 

Writes a ByteBuffer into a BitStream.

void read TNL::BitStream s,
TNL::IPAddress val
 

Reads an IP address from a BitStream.

void write TNL::BitStream s,
TNL::IPAddress val
 

Writes an IP address into a BitStream.

void read TNL::BitStream s,
TNL::StringTableEntry val
[inline]
 

Reads a StringTableEntry from a BitStream.

void write TNL::BitStream s,
TNL::StringTableEntry val
[inline]
 

Writes a StringTableEntry into a BitStream.

template<typename T>
void read TNL::BitStream s,
T *  val
[inline]
 

Reads a generic object from a BitStream.

This can be used for any type supported by BitStream::read.

template<typename T>
void write TNL::BitStream s,
T &  val
[inline]
 

Writes a generic object into a BitStream.

This can be used for any type supported by BitStream::write.

template<typename T>
void read TNL::BitStream s,
TNL::Vector< T > *  val
[inline]
 

Reads a Vector of objects from a BitStream.

template<typename T>
void write TNL::BitStream s,
TNL::Vector< T > &  val
 

Writes a Vector of objects into a BitStream.

template<TNL::U32 BitCount>
void read TNL::BitStream s,
TNL::Int< BitCount > *  val
[inline]
 

Reads a bit-compressed integer from a BitStream.

template<TNL::U32 BitCount>
void write TNL::BitStream s,
TNL::Int< BitCount > &  val
[inline]
 

Writes a bit-compressed integer into a BitStream.

template<TNL::U32 BitCount>
void read TNL::BitStream s,
TNL::SignedInt< BitCount > *  val
[inline]
 

Reads a bit-compressed signed integer from a BitStream.

template<TNL::U32 BitCount>
void write TNL::BitStream s,
TNL::SignedInt< BitCount > &  val
[inline]
 

Writes a bit-compressed signed integer into a BitStream.

template<TNL::U32 MinValue, TNL::U32 MaxValue>
void read TNL::BitStream s,
TNL::RangedU32< MinValue, MaxValue > *  val
[inline]
 

Reads a bit-compressed RangedU32 from a BitStream.

template<TNL::U32 MinValue, TNL::U32 MaxValue>
void write TNL::BitStream s,
TNL::RangedU32< MinValue, MaxValue > &  val
[inline]
 

Writes a bit-compressed RangedU32 into a BitStream.

template<TNL::U32 BitCount>
void read TNL::BitStream s,
TNL::Float< BitCount > *  val
[inline]
 

Reads a bit-compressed SignedFloat (-1 to 1) from a BitStream.

template<TNL::U32 BitCount>
void write TNL::BitStream s,
TNL::Float< BitCount > &  val
[inline]
 

Writes a bit-compressed SignedFloat (-1 to 1) into a BitStream.

template<TNL::U32 BitCount>
void read TNL::BitStream s,
TNL::SignedFloat< BitCount > *  val
[inline]
 

Reads a bit-compressed Float (0 to 1) from a BitStream.

template<TNL::U32 BitCount>
void write TNL::BitStream s,
TNL::SignedFloat< BitCount > &  val
[inline]
 

Writes a bit-compressed Float (0 to 1) into a BitStream.