DynRPG  v0.14a
RM2k3 Plugin SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
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

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

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.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator