se_core::ShortArray Class Reference

Simple short array container. More...

#include <ShortArray.hpp>

List of all members.

Public Member Functions

 ShortArray ()
 ~ShortArray ()
void set (unsigned short *data, bool doDestroy)
void set (unsigned short *data)
void set (const unsigned short *data)
const unsigned short * get ()


Detailed Description

Simple short array container.

Contains a array of shorts and stores a flag which signifies wether the contained array should be destroyed when a new value is set or the ShortArray 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 ShortArray.hpp.


Constructor & Destructor Documentation

se_core::ShortArray::ShortArray  ) 
 

Definition at line 27 of file ShortArray.cpp.

se_core::ShortArray::~ShortArray  ) 
 

Definition at line 32 of file ShortArray.cpp.


Member Function Documentation

const unsigned short* se_core::ShortArray::get  )  [inline]
 

Definition at line 43 of file ShortArray.hpp.

void se_core::ShortArray::set const unsigned short *  data  ) 
 

Definition at line 59 of file ShortArray.cpp.

void se_core::ShortArray::set unsigned short *  data  ) 
 

Definition at line 50 of file ShortArray.cpp.

void se_core::ShortArray::set unsigned short *  data,
bool  doDestroy
 

Definition at line 40 of file ShortArray.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