Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions | Protected Attributes
DataStructures::ByteQueue Class Reference

#include <DS_ByteQueue.h>

List of all members.

Public Member Functions

 ByteQueue ()
void Clear (const char *file, unsigned int line)
void DecrementReadOffset (unsigned length)
unsigned GetBytesWritten (void) const
void IncrementReadOffset (unsigned length)
char * PeekContiguousBytes (unsigned int *outLength) const
void Print (void)
bool ReadBytes (char *out, unsigned maxLengthToRead, bool peek)
void WriteBytes (const char *in, unsigned length, const char *file, unsigned int line)
 ~ByteQueue ()

Protected Attributes

char * data
unsigned lengthAllocated
unsigned readOffset
unsigned writeOffset

Detailed Description

Definition at line 20 of file DS_ByteQueue.h.


Constructor & Destructor Documentation

DataStructures::ByteQueue::ByteQueue ( )
DataStructures::ByteQueue::~ByteQueue ( )

Member Function Documentation

void DataStructures::ByteQueue::Clear ( const char *  file,
unsigned int  line 
)
void DataStructures::ByteQueue::DecrementReadOffset ( unsigned  length)
unsigned DataStructures::ByteQueue::GetBytesWritten ( void  ) const
void DataStructures::ByteQueue::IncrementReadOffset ( unsigned  length)
char* DataStructures::ByteQueue::PeekContiguousBytes ( unsigned int *  outLength) const
void DataStructures::ByteQueue::Print ( void  )
bool DataStructures::ByteQueue::ReadBytes ( char *  out,
unsigned  maxLengthToRead,
bool  peek 
)
void DataStructures::ByteQueue::WriteBytes ( const char *  in,
unsigned  length,
const char *  file,
unsigned int  line 
)

Member Data Documentation

Definition at line 35 of file DS_ByteQueue.h.

Definition at line 36 of file DS_ByteQueue.h.

Definition at line 36 of file DS_ByteQueue.h.

Definition at line 36 of file DS_ByteQueue.h.


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

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net