#include <ball_categorymanager.h>
This class defines an iterator providing sequential, modifiable access to the categories in the registry of a category manager. The order of the iteration is undefined.
- Deprecated:
- Use CategoryManager::visitCategories manipulator instead.
See ball_categorymanager
◆ CategoryManagerManip()
ball::CategoryManagerManip::CategoryManagerManip |
( |
CategoryManager * |
categoryManager | ) |
|
|
inlineexplicit |
Create an iterator providing modifiable access to the categories in the specified categoryManager
that is initialized to refer to the first category in the sequence of categories in the registry of categoryManager
, if one exists, and is initialized to be invalid otherwise. The order of iteration is undefined. The behavior is undefined unless the lifetime of categoryManager
is at least as long as the lifetime of this iterator.
◆ ~CategoryManagerManip()
ball::CategoryManagerManip::~CategoryManagerManip |
( |
| ) |
|
|
default |
◆ advance()
void ball::CategoryManagerManip::advance |
( |
| ) |
|
|
inline |
Advance this iterator to refer to the next unvisited category. If no such category exists, this iterator becomes invalid. The behavior is undefined unless this iterator is initially valid. Note that the order of iteration is undefined.
◆ operator const void *()
ball::CategoryManagerManip::operator const void * |
( |
| ) |
const |
|
inline |
◆ operator()()
Category & ball::CategoryManagerManip::operator() |
( |
| ) |
|
|
inline |
Return a non-const
reference to the category currently referred to by this iterator. The behavior is undefined unless this iterator is valid.
The documentation for this class was generated from the following file: