se_core::TmpString Class Reference

Temporary string. More...

#include <TmpString.hpp>

List of all members.

Public Member Functions

 TmpString ()
 ~TmpString ()
char * get ()


Detailed Description

Temporary string.

This string type should only be used as local variables that are destroyed when the method exits. It reuses string buffers (located on the heap), and is designed to avoid bloating the call stack with locally created strings as some platforms (like the GameBoy Advance) may have a rather small call stack. : Not thread safe! If a later created TmpString is used after a former is destroyed, it will probably cause trouble.

Definition at line 38 of file TmpString.hpp.


Constructor & Destructor Documentation

se_core::TmpString::TmpString  ) 
 

Definition at line 27 of file TmpString.cpp.

References Assert.

se_core::TmpString::~TmpString  )  [inline]
 

Definition at line 41 of file TmpString.hpp.


Member Function Documentation

char* se_core::TmpString::get  )  [inline]
 

Definition at line 42 of file TmpString.hpp.

Referenced by se_basic::Say::perform().


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