ODA Class Reference

#include <ODA.h>

List of all members.

Public Member Functions

 ODA ()
 ODA (byte *oda)
 ~ODA ()
void Set (byte *oda)
int Find (char *name) const
int Find (ODAMagic magic, char *name) const
int GetNumFiles () const
ODAMagic GetMagic (int index) const
char * GetName (int index) const
int GetSize (int index) const
byteGetData (int index) const
int GetOffset (int index) const

Private Attributes

ODATOCtoc


Constructor & Destructor Documentation

ODA::ODA  ) 
 

Definition at line 15 of file ODA.cc.

ODA::ODA byte oda  ) 
 

Definition at line 19 of file ODA.cc.

References Set().

ODA::~ODA  )  [inline]
 

Definition at line 52 of file ODA.h.


Member Function Documentation

int ODA::Find ODAMagic  magic,
char *  name
const
 

Definition at line 44 of file ODA.cc.

References ODATOC::entry, ODATOC::info, ODAEntry::magic, ODAInfo::magic, ODAEntry::name, ODAInfo::numFiles, ODA_MAGIC_MIDI, ODA_MAGIC_WAVE, and toc.

int ODA::Find char *  name  )  const
 

Definition at line 31 of file ODA.cc.

References ODATOC::entry, ODATOC::info, ODAInfo::magic, ODAEntry::name, ODAInfo::numFiles, and toc.

byte * ODA::GetData int  index  )  const
 

Definition at line 111 of file ODA.cc.

References byte, ODATOC::entry, ODATOC::info, ODAInfo::magic, ODAInfo::numFiles, ODAEntry::offset, and toc.

Referenced by SoundAgent::NotifyCommand(), MTNAgent7::NotifyCommand(), MTNAgent::NotifyCommand(), and MoNet::ToCommandIndex().

ODAMagic ODA::GetMagic int  index  )  const
 

Definition at line 81 of file ODA.cc.

References ODATOC::entry, ODATOC::info, ODAEntry::magic, ODAInfo::magic, ODAInfo::numFiles, and toc.

Referenced by MoNet::ToCommandIndex().

char * ODA::GetName int  index  )  const
 

Definition at line 91 of file ODA.cc.

References ODATOC::entry, ODATOC::info, ODAInfo::magic, ODAEntry::name, ODAInfo::numFiles, and toc.

Referenced by MoNet::ToCommandIndex().

int ODA::GetNumFiles  )  const
 

Definition at line 73 of file ODA.cc.

References ODATOC::info, ODAInfo::magic, ODAInfo::numFiles, and toc.

Referenced by MoNet::ToCommandIndex().

int ODA::GetOffset int  index  )  const
 

Definition at line 122 of file ODA.cc.

References ODATOC::entry, ODATOC::info, ODAInfo::magic, ODAInfo::numFiles, ODAEntry::offset, and toc.

int ODA::GetSize int  index  )  const
 

Definition at line 101 of file ODA.cc.

References ODATOC::entry, ODATOC::info, ODAInfo::magic, ODAInfo::numFiles, ODAEntry::size, and toc.

void ODA::Set byte oda  ) 
 

Definition at line 25 of file ODA.cc.

References toc.

Referenced by MoNetAgentManager::LoadMotionODA(), MoNet::LoadMotionODA(), SoundAgent::LoadODA(), MoNet::LoadSoundODA(), and ODA().


Member Data Documentation

ODATOC* ODA::toc [private]
 

Definition at line 67 of file ODA.h.

Referenced by Find(), GetData(), GetMagic(), GetName(), GetNumFiles(), GetOffset(), GetSize(), and Set().


The documentation for this class was generated from the following files:
Generated on Sun Dec 2 23:04:35 2007 for openSDK by  doxygen 1.3.9.1