NLSOUND::CBackgroundSound::TSoundInfo Struct Reference

#include <background_sound.h>


Detailed Description

Associtation clas for storage of sound / filter.

Definition at line 73 of file background_sound.h.

Public Member Functions

void serial (NLMISC::IStream &s)

Data Fields

UAudioMixer::TBackgroundFlags Filter
NLMISC::TStringId SoundName


Member Function Documentation

void NLSOUND::CBackgroundSound::TSoundInfo::serial NLMISC::IStream s  )  [inline]
 

Definition at line 78 of file background_sound.h.

References Filter, NLMISC::CStringMapper::map(), s, SoundName, and NLMISC::CStringMapper::unmap().

00079                 {
00080                         std::string soundName;
00081                         if (s.isReading())
00082                         {
00083                                 s.serial(soundName);
00084                                 SoundName = NLMISC::CStringMapper::map(soundName);
00085                         }
00086                         else
00087                         {
00088                                 soundName = NLMISC::CStringMapper::unmap(SoundName);
00089                                 s.serial(soundName);
00090                         }
00091                         s.serial(Filter);
00092                 }


Field Documentation

UAudioMixer::TBackgroundFlags NLSOUND::CBackgroundSound::TSoundInfo::Filter
 

Definition at line 76 of file background_sound.h.

Referenced by NLSOUND::CBackgroundSound::importForm(), and serial().

NLMISC::TStringId NLSOUND::CBackgroundSound::TSoundInfo::SoundName
 

Definition at line 75 of file background_sound.h.

Referenced by NLSOUND::CBackgroundSound::importForm(), and serial().


The documentation for this struct was generated from the following file:
Generated on Tue Mar 16 14:31:11 2004 for NeL by doxygen 1.3.6