ReactPhysics3D  v0.10.2
C++ Physics engine library
Loading...
Searching...
No Matches
reactphysics3d::LinkedList< T > Class Template Reference

This class represents a simple generic linked list. More...

#include <include/reactphysics3d/containers/LinkedList.h>

Classes

struct  ListElement
 Element of the linked list. More...
 

Public Member Functions

 LinkedList (MemoryAllocator &allocator)
 Constructor.
 
 ~LinkedList ()
 Destructor.
 
ListElementgetListHead () const
 Return the first element of the list.
 
void insert (const T &data)
 Insert an element at the beginning of the linked list.
 
void reset ()
 Remove all the elements of the list.
 

Detailed Description

template<typename T>
class reactphysics3d::LinkedList< T >

This class represents a simple generic linked list.


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