macx::ByteData Class Reference

Byte data container with reference counting (Helper class). More...

#include <macByteData.h>

List of all members.

Public Member Functions

 ByteData ()
 C-tor.
 ByteData (size_t size)
 C-tor.
char * data ()
 get pointer to data
const char * data () const
 get const pointer to data
size_t size () const
 get size of data
void retain ()
 increase reference count
void release ()
 decrease reference count, if reference count goes to 0, ByteData is released


Detailed Description

Byte data container with reference counting (Helper class).

Definition at line 17 of file macByteData.h.


Constructor & Destructor Documentation

macx::ByteData::ByteData (  )  [inline]

C-tor.

Definition at line 22 of file macByteData.h.

macx::ByteData::ByteData ( size_t  size  )  [inline]

C-tor.

Definition at line 25 of file macByteData.h.


Member Function Documentation

const char* macx::ByteData::data (  )  const [inline]

get const pointer to data

Definition at line 35 of file macByteData.h.

char* macx::ByteData::data (  )  [inline]

get pointer to data

Definition at line 30 of file macByteData.h.

void macx::ByteData::release (  )  [inline]

decrease reference count, if reference count goes to 0, ByteData is released

Definition at line 53 of file macByteData.h.

void macx::ByteData::retain (  )  [inline]

increase reference count

Definition at line 45 of file macByteData.h.

size_t macx::ByteData::size (  )  const [inline]

get size of data

Definition at line 40 of file macByteData.h.


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

Generated on Sat Sep 3 18:39:34 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8