![]() |
DynRPG
v0.20
RM2k3 Plugin SDK
|
Wrapper class for RPG::Catalog pointers (syntactic sugar) More...
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. |
Wrapper class for RPG::Catalog pointers (syntactic sugar)
Allows you to write someCatalogPointer[i]
instead of (*someCatalogPointer)[i]
.
sizeof(Catalog<T> *)
. int RPG::CatalogPtr< T >::count | ( | ) | [inline] |
Returns the number of items in the list.
T RPG::CatalogPtr< T >::get | ( | int | index | ) | [inline] |
Array access method.
T RPG::CatalogPtr< T >::operator[] | ( | int | index | ) | [inline] |
Array access operator.
Catalog<T>* RPG::CatalogPtr< T >::ptr |
Pointer to the actual RPG::Catalog.