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

#include <JKRExpHeap.h>

+ Collaboration diagram for JKRExpHeap::CMemBlock:

Public Member Functions

void initiate (CMemBlock *prev, CMemBlock *next, u32 size, u8 groupId, u8 alignment)
 
JKRExpHeap::CMemBlockallocFore (u32 size, u8 groupId1, u8 alignment1, u8 groupId2, u8 alignment2)
 
JKRExpHeap::CMemBlockallocBack (u32 size, u8 groupId1, u8 alignment1, u8 groupId2, u8 alignment2)
 
int free (JKRExpHeap *heap)
 
void newGroupId (u8 groupId)
 
bool isValid () const
 
bool _isTempMemBlock () const
 
int getAlignment () const
 
voidgetContent () const
 
CMemBlockgetPrevBlock () const
 
CMemBlockgetNextBlock () const
 
u32 getSize () const
 
u8 getGroupId () const
 

Static Public Member Functions

static CMemBlockgetHeapBlock (void *ptr)
 
static CMemBlockgetBlock (void *data)
 

Private Attributes

u16 mMagic
 
u8 mFlags
 
u8 mGroupId
 
u32 size
 
CMemBlockmPrev
 
CMemBlockmNext
 

Friends

class JKRExpHeap
 

Member Function Documentation

◆ _isTempMemBlock()

bool JKRExpHeap::CMemBlock::_isTempMemBlock ( ) const
inline

◆ allocBack()

JKRExpHeap::CMemBlock * JKRExpHeap::CMemBlock::allocBack ( u32  size,
u8  groupId1,
u8  alignment1,
u8  groupId2,
u8  alignment2 
)

◆ allocFore()

JKRExpHeap::CMemBlock * JKRExpHeap::CMemBlock::allocFore ( u32  size,
u8  groupId1,
u8  alignment1,
u8  groupId2,
u8  alignment2 
)

◆ free()

int JKRExpHeap::CMemBlock::free ( JKRExpHeap heap)

◆ getAlignment()

int JKRExpHeap::CMemBlock::getAlignment ( ) const
inline

◆ getBlock()

static CMemBlock * JKRExpHeap::CMemBlock::getBlock ( void data)
inlinestatic

◆ getContent()

void * JKRExpHeap::CMemBlock::getContent ( ) const
inline

◆ getGroupId()

u8 JKRExpHeap::CMemBlock::getGroupId ( ) const
inline

◆ getHeapBlock()

JKRExpHeap::CMemBlock * JKRExpHeap::CMemBlock::getHeapBlock ( void ptr)
static

◆ getNextBlock()

CMemBlock * JKRExpHeap::CMemBlock::getNextBlock ( ) const
inline

◆ getPrevBlock()

CMemBlock * JKRExpHeap::CMemBlock::getPrevBlock ( ) const
inline

◆ getSize()

u32 JKRExpHeap::CMemBlock::getSize ( ) const
inline

◆ initiate()

void JKRExpHeap::CMemBlock::initiate ( JKRExpHeap::CMemBlock prev,
JKRExpHeap::CMemBlock next,
u32  size,
u8  groupId,
u8  alignment 
)

◆ isValid()

bool JKRExpHeap::CMemBlock::isValid ( ) const
inline

◆ newGroupId()

void JKRExpHeap::CMemBlock::newGroupId ( u8  groupId)
inline

Friends And Related Symbol Documentation

◆ JKRExpHeap

Member Data Documentation

◆ mFlags

u8 JKRExpHeap::CMemBlock::mFlags
private

◆ mGroupId

u8 JKRExpHeap::CMemBlock::mGroupId
private

◆ mMagic

u16 JKRExpHeap::CMemBlock::mMagic
private

◆ mNext

CMemBlock* JKRExpHeap::CMemBlock::mNext
private

◆ mPrev

CMemBlock* JKRExpHeap::CMemBlock::mPrev
private

◆ size

u32 JKRExpHeap::CMemBlock::size
private

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