DynRPG v0.32 Unofficial
Plugin SDK
Public Member Functions | Public Attributes | List of all members
RPG::Catalog< T > Class Template Reference

Wrapper class for RPG::DList which doesn't crash if the index is out of bounds. More...

#include <Catalog.h>

Inheritance diagram for RPG::Catalog< T >:
RPG::NamedCatalog< RPG::AnimationWeapon * > RPG::NamedCatalog< RPG::Event * > RPG::NamedCatalog< void * > RPG::NamedCatalog< RPG::AnimationSkill * > RPG::NamedCatalog< T >

Public Member Functions

T operator[] (int index)
 Array access operator.
 
T get (int index)
 Array access method.
 
int count ()
 Returns the number of items in the list.
 

Public Attributes

DListPtr< Tlist
 Pointer to the actual RPG::DList.
 

Detailed Description

template<class T = void*>
class RPG::Catalog< T >

Wrapper class for RPG::DList which doesn't crash if the index is out of bounds.

Note
Please do not ask me why this class is there. I didn't invent it.
Warning
This class has more members than the one which is documented (the others are used internally), so sizeof(RPG::Catalog<T>) is not equal to sizeof(RPG::DList<T> *)!
See also
RPG::CatalogPtr
RPG::NamedCatalog
RPG::NamedCatalogPtr
RPG::DList

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