lookupCategory overloads

Synopses

Declared in <ball_categorymanager.h>

Return the address of the modifiable category named categoryName.

Category*
lookupCategory(char const* categoryName);

Return the address of the non‐modifiable category named categoryName.

Category const*
lookupCategory(char const* categoryName) const;

Return the address of the modifiable category named categoryName.

Category*
lookupCategory(
    CategoryHolder* categoryHolder,
    char const* categoryName);

Return Value

  • address of the modifiable category, or 0 if none exists

  • address of the non‐modifiable category, or 0 if none exists

Parameters

Name

Description

categoryName

name of the category to look up

categoryHolder

optional holder to load with the category

Created with MrDocs