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

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

#include <CatalogPtr.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.
 

Public Attributes

Catalog< T > * ptr
 Pointer to the actual RPG::Catalog.
 

Detailed Description

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

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

Allows you to write someCatalogPointer[i] instead of (*someCatalogPointer)[i].

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

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