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

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

List of all members.

Public Member Functions

T & operator[] (int index)
 Array access operator which will throw an error on invalid indexes.
get (int index)
 Array access method which will return 0 on invalid indexes.

Public Attributes

DList< T > * list
 Actual RPG::DList pointer.

Detailed Description

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

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

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

Member Function Documentation

template<class T = void *>
T RPG::DListPtr< T >::get ( int  index) [inline]

Array access method which will return 0 on invalid indexes.

template<class T = void *>
T& RPG::DListPtr< T >::operator[] ( int  index) [inline]

Array access operator which will throw an error on invalid indexes.


Member Data Documentation

template<class T = void *>
DList<T>* RPG::DListPtr< T >::list

Actual RPG::DList pointer.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator