Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JSUPtrList Class Reference

#include <JSUList.h>

+ Inheritance diagram for JSUPtrList:
+ Collaboration diagram for JSUPtrList:

Public Member Functions

 JSUPtrList ()
 
 JSUPtrList (bool init)
 
 ~JSUPtrList ()
 
void initiate ()
 
void setFirst (JSUPtrLink *first)
 
bool append (JSUPtrLink *ptr)
 
bool prepend (JSUPtrLink *ptr)
 
bool insert (JSUPtrLink *before, JSUPtrLink *ptr)
 
bool remove (JSUPtrLink *ptr)
 
JSUPtrLinkgetNthLink (u32 i) const
 
JSUPtrLinkgetFirstLink () const
 
JSUPtrLinkgetLastLink () const
 
u32 getNumLinks () const
 

Private Attributes

JSUPtrLinkmHead
 
JSUPtrLinkmTail
 
u32 mLength
 

Constructor & Destructor Documentation

◆ JSUPtrList() [1/2]

JSUPtrList::JSUPtrList ( )
inline

◆ JSUPtrList() [2/2]

JSUPtrList::JSUPtrList ( bool  init)

◆ ~JSUPtrList()

JSUPtrList::~JSUPtrList ( )

Member Function Documentation

◆ append()

bool JSUPtrList::append ( JSUPtrLink ptr)

◆ getFirstLink()

JSUPtrLink * JSUPtrList::getFirstLink ( ) const
inline

◆ getLastLink()

JSUPtrLink * JSUPtrList::getLastLink ( ) const
inline

◆ getNthLink()

JSUPtrLink * JSUPtrList::getNthLink ( u32  i) const

◆ getNumLinks()

u32 JSUPtrList::getNumLinks ( ) const
inline

◆ initiate()

void JSUPtrList::initiate ( )

◆ insert()

bool JSUPtrList::insert ( JSUPtrLink before,
JSUPtrLink ptr 
)

◆ prepend()

bool JSUPtrList::prepend ( JSUPtrLink ptr)

◆ remove()

bool JSUPtrList::remove ( JSUPtrLink ptr)

◆ setFirst()

void JSUPtrList::setFirst ( JSUPtrLink first)

Member Data Documentation

◆ mHead

JSUPtrLink* JSUPtrList::mHead
private

◆ mLength

u32 JSUPtrList::mLength
private

◆ mTail

JSUPtrLink* JSUPtrList::mTail
private

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