DynRPG  v0.14a
RM2k3 Plugin SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
RPG::ArrayBaseOne< T, size > Class Template Reference

Helper class for arrays with base one. More...

List of all members.

Public Member Functions

T & operator[] (int index)
 Simple indexing operator for accessing array elements.

Detailed Description

template<class T, int size>
class RPG::ArrayBaseOne< T, size >

Helper class for arrays with base one.

This class template is used for arrays in classes with should have one as base (unlike normal arrays with base zero).


Member Function Documentation

template<class T, int size>
T& RPG::ArrayBaseOne< T, size >::operator[] ( int  index) [inline]

Simple indexing operator for accessing array elements.

Parameters:
indexOne-based index
Returns:
Value of the element
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator