DynRPG  v0.20
RM2k3 Plugin SDK
Public Member Functions | Public Attributes
RPG::DList< T > Class Template Reference

Class representing Delphi's TList (without resizing for the moment) 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

T * items
 Pointer to the actual array.
int count
 Number of elements in the list.

Detailed Description

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

Class representing Delphi's TList (without resizing for the moment)

See also:
RPG::DListPtr
RPG::Catalog

Member Function Documentation

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

Array access method which will return 0 on invalid indexes.

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

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


Member Data Documentation

template<class T = void *>
int RPG::DList< T >::count

Number of elements in the list.

template<class T = void *>
T* RPG::DList< T >::items

Pointer to the actual array.