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

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

#include <ArrayBaseOne.h>

Public Member Functions

Toperator[] (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

◆ operator[]()

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

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