SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
NameObjCategoryList Class Reference

Organizes NameObjs by execution category. More...

#include <NameObjCategoryList.hpp>

Classes

class  CategoryInfo
 

Public Member Functions

 NameObjCategoryList (u32, const CategoryListInitialTable *, func, bool, const char *)
 
 NameObjCategoryList (u32, const CategoryListInitialTable *, func_const, bool, const char *)
 
void execute (int)
 
void incrementCheck (NameObj *, int)
 
void allocateBuffer ()
 
void add (NameObj *, int)
 
void remove (NameObj *, int)
 
void registerExecuteBeforeFunction (const MR::FunctorBase &, int)
 
void initTable (u32, const CategoryListInitialTable *)
 

Public Attributes

MR::AssignableArray< NameObjCategoryList::CategoryInfomCategoryInfo
 
union { 
 
   NameObjRealDelegator< func > *   mDelegator 
 
   NameObjRealDelegator< func_const > *   mDelegatorConst 
 
};  
 
u8 _C
 
u8 _D
 

Detailed Description

Organizes NameObjs by execution category.

Definition at line 229 of file NameObjCategoryList.hpp.

Constructor & Destructor Documentation

◆ NameObjCategoryList() [1/2]

NameObjCategoryList::NameObjCategoryList ( u32 count,
const CategoryListInitialTable * pTable,
func func_ptr,
bool a4,
const char *  )

Definition at line 3 of file NameObjCategoryList.cpp.

◆ NameObjCategoryList() [2/2]

NameObjCategoryList::NameObjCategoryList ( u32 count,
const CategoryListInitialTable * pTable,
func_const func_ptr,
bool a4,
const char *  )

Definition at line 12 of file NameObjCategoryList.cpp.

◆ ~NameObjCategoryList()

NameObjCategoryList::~NameObjCategoryList ( )

Definition at line 107 of file NameObjCategoryList.cpp.

Member Function Documentation

◆ execute()

void NameObjCategoryList::execute ( int idx)

Definition at line 21 of file NameObjCategoryList.cpp.

◆ incrementCheck()

void NameObjCategoryList::incrementCheck ( NameObj * ,
int index )

Definition at line 36 of file NameObjCategoryList.cpp.

◆ allocateBuffer()

void NameObjCategoryList::allocateBuffer ( )

Definition at line 40 of file NameObjCategoryList.cpp.

◆ add()

void NameObjCategoryList::add ( NameObj * pObj,
int idx )

Definition at line 55 of file NameObjCategoryList.cpp.

◆ registerExecuteBeforeFunction()

void NameObjCategoryList::registerExecuteBeforeFunction ( const MR::FunctorBase & rFunc,
int idx )

Definition at line 63 of file NameObjCategoryList.cpp.

◆ initTable()

void NameObjCategoryList::initTable ( u32 count,
const CategoryListInitialTable * pTable )

Definition at line 68 of file NameObjCategoryList.cpp.

Member Data Documentation

◆ mCategoryInfo

MR::AssignableArray<NameObjCategoryList::CategoryInfo> NameObjCategoryList::mCategoryInfo

Definition at line 255 of file NameObjCategoryList.hpp.

◆ mDelegator

NameObjRealDelegator<func>* NameObjCategoryList::mDelegator

Definition at line 258 of file NameObjCategoryList.hpp.

◆ mDelegatorConst

NameObjRealDelegator<func_const>* NameObjCategoryList::mDelegatorConst

Definition at line 259 of file NameObjCategoryList.hpp.

◆ _C

u8 NameObjCategoryList::_C

Definition at line 262 of file NameObjCategoryList.hpp.

◆ _D

u8 NameObjCategoryList::_D

Definition at line 263 of file NameObjCategoryList.hpp.