TORCS  1.3.9
The Open Racing Car Simulator
IndexArray Class Reference

#include <IndexArray.h>

Public Member Functions

 IndexArray ()
 
 IndexArray (int n)
 
 IndexArray (int n, const unsigned int v[])
 
 ~IndexArray ()
 
int operator[] (int i) const
 
int size () const
 

Private Member Functions

 IndexArray (const IndexArray &)
 
IndexArrayoperator= (const IndexArray &)
 

Private Attributes

unsigned int * indices
 
int count
 

Detailed Description

Definition at line 36 of file IndexArray.h.

Constructor & Destructor Documentation

◆ IndexArray() [1/4]

IndexArray::IndexArray ( )
inline

Definition at line 38 of file IndexArray.h.

◆ IndexArray() [2/4]

IndexArray::IndexArray ( int  n)
inline

Definition at line 39 of file IndexArray.h.

◆ IndexArray() [3/4]

IndexArray::IndexArray ( int  n,
const unsigned int  v[] 
)
inline

Definition at line 40 of file IndexArray.h.

◆ ~IndexArray()

IndexArray::~IndexArray ( )
inline

Definition at line 43 of file IndexArray.h.

◆ IndexArray() [4/4]

IndexArray::IndexArray ( const IndexArray )
private

Member Function Documentation

◆ operator=()

IndexArray& IndexArray::operator= ( const IndexArray )
private

◆ operator[]()

int IndexArray::operator[] ( int  i) const
inline

Definition at line 45 of file IndexArray.h.

◆ size()

int IndexArray::size ( ) const
inline

Definition at line 46 of file IndexArray.h.

Member Data Documentation

◆ count

int IndexArray::count
private

Definition at line 53 of file IndexArray.h.

◆ indices

unsigned int* IndexArray::indices
private

Definition at line 52 of file IndexArray.h.


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