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

#include <Stream.h>

Inheritance diagram for MemoryReadBuffer:

Public Member Functions

 MemoryReadBuffer (const NxU8 *data)
 
virtual ~MemoryReadBuffer ()
 
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

const NxU8 * buffer
 

Constructor & Destructor Documentation

MemoryReadBuffer::MemoryReadBuffer ( const NxU8 *  data)
MemoryReadBuffer::~MemoryReadBuffer ( )
virtual

Member Function Documentation

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

Member Data Documentation

const NxU8* MemoryReadBuffer::buffer
mutable

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