[#BloombergLP-ball-LoggerManagerCategoryIter] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::LoggerManagerCategoryIter :relfileprefix: ../../ :mrdocs: This class defines an iterator providing sequential, read‐only access to the categories in the registry of a logger manager's category manager. The order of the iteration is undefined. == Synopsis Declared in `<ball_loggermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LoggerManagerCategoryIter; ---- == Description DEPRECATED: Use the `LoggerManager::visitCategories` accessor instead. == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/ball/LoggerManagerCategoryIter/2constructor-09.adoc[`LoggerManagerCategoryIter`] [.small]#[constructor]# | Create an iterator providing non‐modifiable access to the categories maintained by the specified `loggerManager` that is initialized to refer to the first category in the sequence of categories in the registry of `loggerManager`, if one exists, and is initialized to be invalid otherwise. The order of iteration is undefined. The behavior is undefined unless the lifetime of `loggerManager` is at least as long as the lifetime of this iterator. | xref:BloombergLP/ball/LoggerManagerCategoryIter/operator_call.adoc[`operator()`] | Return a `const` reference to the category currently referred to by this iterator. The behavior is undefined unless this iterator is valid. | xref:BloombergLP/ball/LoggerManagerCategoryIter/operator_inc.adoc[`operator++`] | 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. | xref:BloombergLP/ball/LoggerManagerCategoryIter/2conversion.adoc[`operator void const*`] | Return a non‐zero value if this iterator is valid, and 0 otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#