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

Wrapper class for RPG::NamedCatalog pointers (syntactic sugar) More...

#include <NamedCatalogPtr.h>

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 (not the highest ID!)
 

Public Attributes

NamedCatalog< T > * ptr
 

Detailed Description

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

Wrapper class for RPG::NamedCatalog pointers (syntactic sugar)

Allows you to write RPG::actors[1]->hp instead of (*RPG::actors)[1]->hp, for example.

Note
The size of this class equals to sizeof(NamedCatalog<T> *).
See also
RPG::NamedCatalog

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