Recast Navigation
Navigation-mesh Toolset for Games
rcIntArray Class Reference

Legacy class. Prefer rcVector<int>. More...

#include <RecastAlloc.h>

Public Member Functions

 rcIntArray ()
 
 rcIntArray (int n)
 
void push (int item)
 
void resize (int size)
 
void clear ()
 
int pop ()
 
int size () const
 
int & operator[] (int index)
 
int operator[] (int index) const
 

Description

Legacy class. Prefer rcVector<int>.

Constructor & Destructor Documentation

◆ rcIntArray() [1/2]

rcIntArray::rcIntArray ( )
inline

◆ rcIntArray() [2/2]

rcIntArray::rcIntArray ( int  n)
inline

Member Function Documentation

◆ clear()

void rcIntArray::clear ( )
inline

◆ operator[]() [1/2]

int& rcIntArray::operator[] ( int  index)
inline

◆ operator[]() [2/2]

int rcIntArray::operator[] ( int  index) const
inline

◆ pop()

int rcIntArray::pop ( )
inline

◆ push()

void rcIntArray::push ( int  item)
inline

◆ resize()

void rcIntArray::resize ( int  size)
inline

◆ size()

int rcIntArray::size ( ) const
inline

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