osg::BinaryDataHandler::MemoryBlock Struct Reference

#include <OSGBinaryDataHandler.h>

List of all members.

Public Member Functions

 MemoryBlock (MemoryHandle m, UInt32 s, UInt32 ds=0)
MemoryHandle getMem (void)
void setMem (MemoryHandle m)
UInt32 getSize (void)
void setSize (UInt32 dataSize)
UInt32 getDataSize (void)
void setDataSize (UInt32 dataSize)

Private Attributes

MemoryHandle _mem
UInt32 _size
UInt32 _dataSize


Detailed Description

Definition at line 191 of file OSGBinaryDataHandler.h.


Constructor & Destructor Documentation

osg::BinaryDataHandler::MemoryBlock::MemoryBlock ( MemoryHandle  m,
UInt32  s,
UInt32  ds = 0 
) [inline]

Definition at line 766 of file OSGBinaryDataHandler.inl.

00768                                                              : 
00769     _mem     (m ),
00770     _size    (s ),
00771     _dataSize(ds)
00772 {
00773 }


Member Function Documentation

MemoryHandle osg::BinaryDataHandler::MemoryBlock::getMem ( void   )  [inline]

Definition at line 776 of file OSGBinaryDataHandler.inl.

References _mem.

00777 {
00778     return _mem;
00779 }

void osg::BinaryDataHandler::MemoryBlock::setMem ( MemoryHandle  m  )  [inline]

Definition at line 782 of file OSGBinaryDataHandler.inl.

References _mem.

00783 {
00784     _mem = mem;
00785 }

UInt32 osg::BinaryDataHandler::MemoryBlock::getSize ( void   )  [inline]

Definition at line 788 of file OSGBinaryDataHandler.inl.

References _size.

00789 {
00790     return _size;
00791 }

void osg::BinaryDataHandler::MemoryBlock::setSize ( UInt32  dataSize  )  [inline]

Definition at line 794 of file OSGBinaryDataHandler.inl.

References _size.

00795 {
00796     _size = size;
00797 }

UInt32 osg::BinaryDataHandler::MemoryBlock::getDataSize ( void   )  [inline]

Definition at line 800 of file OSGBinaryDataHandler.inl.

References _dataSize.

00801 {
00802     return _dataSize;
00803 }

void osg::BinaryDataHandler::MemoryBlock::setDataSize ( UInt32  dataSize  )  [inline]

Definition at line 806 of file OSGBinaryDataHandler.inl.

References _dataSize.

00807 {
00808     _dataSize = dataSize;
00809 }


Member Data Documentation

Definition at line 208 of file OSGBinaryDataHandler.h.

Referenced by getMem(), and setMem().

Definition at line 209 of file OSGBinaryDataHandler.h.

Referenced by getSize(), and setSize().

Definition at line 210 of file OSGBinaryDataHandler.h.

Referenced by getDataSize(), and setDataSize().


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

Generated on Mon Mar 17 11:10:43 2008 for OpenSG by  doxygen 1.5.5