vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MemoryWriteBuffer Class Reference

#include <Stream.h>

Inheritance diagram for MemoryWriteBuffer:

Public Member Functions

 MemoryWriteBuffer ()
 
virtual ~MemoryWriteBuffer ()
 
void clear ()
 
virtual NxU8 readByte () const
 
virtual NxU16 readWord () const
 
virtual NxU32 readDword () const
 
virtual float readFloat () const
 
virtual double readDouble () const
 
virtual void readBuffer (void *buffer, NxU32 size) const
 
virtual NxStream & storeByte (NxU8 b)
 
virtual NxStream & storeWord (NxU16 w)
 
virtual NxStream & storeDword (NxU32 d)
 
virtual NxStream & storeFloat (NxReal f)
 
virtual NxStream & storeDouble (NxF64 f)
 
virtual NxStream & storeBuffer (const void *buffer, NxU32 size)
 

Public Attributes

NxU32 currentSize
 
NxU32 maxSize
 
NxU8 * data
 

Constructor & Destructor Documentation

MemoryWriteBuffer::MemoryWriteBuffer ( )
MemoryWriteBuffer::~MemoryWriteBuffer ( )
virtual

Member Function Documentation

void MemoryWriteBuffer::clear ( void  )
virtual void MemoryWriteBuffer::readBuffer ( void *  buffer,
NxU32  size 
) const
inlinevirtual
virtual NxU8 MemoryWriteBuffer::readByte ( void  ) const
inlinevirtual
virtual double MemoryWriteBuffer::readDouble ( ) const
inlinevirtual
virtual NxU32 MemoryWriteBuffer::readDword ( ) const
inlinevirtual
virtual float MemoryWriteBuffer::readFloat ( ) const
inlinevirtual
virtual NxU16 MemoryWriteBuffer::readWord ( ) const
inlinevirtual
NxStream & MemoryWriteBuffer::storeBuffer ( const void *  buffer,
NxU32  size 
)
virtual
NxStream & MemoryWriteBuffer::storeByte ( NxU8  b)
virtual
NxStream & MemoryWriteBuffer::storeDouble ( NxF64  f)
virtual
NxStream & MemoryWriteBuffer::storeDword ( NxU32  d)
virtual
NxStream & MemoryWriteBuffer::storeFloat ( NxReal  f)
virtual
NxStream & MemoryWriteBuffer::storeWord ( NxU16  w)
virtual

Member Data Documentation

NxU32 MemoryWriteBuffer::currentSize
NxU8* MemoryWriteBuffer::data
NxU32 MemoryWriteBuffer::maxSize

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