se_core::ByteArray Class Reference

Simple byte array container. More...

#include <ByteArray.hpp>

List of all members.

Public Member Functions

 ByteArray ()
virtual ~ByteArray ()
void set (const unsigned char *data)
void set (unsigned char *data)
const unsigned char * get ()


Detailed Description

Simple byte array container.

Contains a array of bytes (unsigned char) and stores a flag which signifies wether the contained array should be destroyed when a new value is set or the ByteArray object itself is destroyed.

The destruction flag is useful when mixing hardcoded constant arrays, arrays located in ROM and dynamically created arrays for the same purpose.

Definition at line 36 of file ByteArray.hpp.


Constructor & Destructor Documentation

se_core::ByteArray::ByteArray  )  [inline]
 

Definition at line 38 of file ByteArray.hpp.

se_core::ByteArray::~ByteArray  )  [virtual]
 

Definition at line 28 of file ByteArray.cpp.


Member Function Documentation

const unsigned char* se_core::ByteArray::get  )  [inline]
 

Definition at line 42 of file ByteArray.hpp.

Referenced by se_basic::NavMeshAreaFactory::NavMeshAreaFactory().

void se_core::ByteArray::set unsigned char *  data  ) 
 

Definition at line 34 of file ByteArray.cpp.

void se_core::ByteArray::set const unsigned char *  data  ) 
 

Definition at line 42 of file ByteArray.cpp.


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

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:30 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo