objects Class Reference

The global container for access to all the different game objects from within a script. More...

#include <storage.h>

List of all members.

Public Member Functions

 objects ()
 Default constructor.
void set_val (const char *key, storage *val)
 Associates an object to a key.
storageget_val (const char *key)
 Returns a storage associated to a key.
void erase (const char *key)
 Erases a storage from it's key.
storagenext ()
 Returns the next storage in the object.

Classes

struct  ltstr


Detailed Description

The global container for access to all the different game objects from within a script.

Definition at line 156 of file storage.h.


Constructor & Destructor Documentation

objects::objects (  )  [inline]

Default constructor.

Definition at line 163 of file storage.h.


Member Function Documentation

void objects::set_val ( const char *  key,
storage val 
)

Associates an object to a key.

Parameters:
key key.
val storage associated to key.

Definition at line 88 of file storage.cc.

storage * objects::get_val ( const char *  key  ) 

Returns a storage associated to a key.

Parameters:
key key to return.
Returns:
storage associated to key.

Definition at line 114 of file storage.cc.

void objects::erase ( const char *  key  ) 

Erases a storage from it's key.

Parameters:
key key to erase.

Definition at line 139 of file storage.cc.

storage * objects::next (  ) 

Returns the next storage in the object.

Returns:
next storage in the object.

Definition at line 150 of file storage.cc.


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

Generated on Wed Jun 18 16:55:41 2008 for Adonthell by  doxygen 1.5.6