Iterator providing read‐only access to category manager categories.

Synopsis

Declared in <ball_categorymanager.h>

class CategoryManagerIter;

Description

This class defines an iterator providing sequential, read‐only access to the categories in the registry of a category manager. The order of the iteration is undefined.

DEPRECATED: Use the CategoryManager::visitCategories accessor instead.

Member Functions

Name

Description

CategoryManagerIter [constructor]

Create an iterator over categories in categoryManager.

operator()

Return a const reference to the category currently referred to by this iterator. The behavior is undefined unless this iterator is valid.

operator++

Advance this iterator to the next unvisited category.

operator void const*

Return a non‐zero value if this iterator is valid, and 0 otherwise.

Created with MrDocs