ScummVM API documentation
dgSortArray Class Reference
Inheritance diagram for dgSortArray:
dgList< dgSortArrayEntry >

Public Member Functions

void Add (dgBody *const body)
 
void Remove (dgBody *const body)
 
dgFloat32 Sort ()
 
void InvalidateCache ()
 
dgFloat32 RayCast (dgFloat32 minT, const dgLineBox &line, OnRayCastAction filter, OnRayPrecastAction prefilter, void *const userData) const
 
bool SanityCheck ()
 
- Public Member Functions inherited from dgList< dgSortArrayEntry >
void operator delete (void *const ptr, dgMemoryAllocator *const allocator)
 
void operator delete (void *const ptr)
 
void operator delete[] (void *const ptr, dgMemoryAllocator *const allocator)
 
void operator delete[] (void *const ptr)
 
void * operator new (size_t size, dgMemoryAllocator *const allocator)
 
void * operator new (size_t size)
 
void * operator new[] (size_t size, dgMemoryAllocator *const allocator)
 
void * operator new[] (size_t size)
 
 dgList (dgMemoryAllocator *const allocator)
 
dgMemoryAllocatorGetAllocator () const
 
void SetAllocator (dgMemoryAllocator *const allocator)
 
 operator dgInt32 () const
 
dgInt32 GetCount () const
 
dgListNode * GetLast () const
 
dgListNode * GetFirst () const
 
dgListNode * Append ()
 
dgListNode * Append (dgListNode *const node)
 
dgListNode * Append (const dgSortArrayEntry &element)
 
dgListNode * Addtop ()
 
dgListNode * Addtop (dgListNode *const node)
 
dgListNode * Addtop (const dgSortArrayEntry &element)
 
void RotateToEnd (dgListNode *const node)
 
void RotateToBegin (dgListNode *const node)
 
void InsertAfter (dgListNode *const root, dgListNode *const node)
 
void InsertBefore (dgListNode *const root, dgListNode *const node)
 
dgListNode * Find (const dgSortArrayEntry &element) const
 
dgListNode * GetNodeFromInfo (dgSortArrayEntry &m_info) const
 
void Remove (dgListNode *const node)
 
void Remove (const dgSortArrayEntry &element)
 
void RemoveAll ()
 
void Merge (dgList< dgSortArrayEntry > &list)
 
void Unlink (dgListNode *const node)
 
bool SanityCheck () const
 

Public Attributes

dgInt8 m_index
 
dgInt8 m_isSorted
 

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