BDE 4.14.0 Production release
Loading...
Searching...
No Matches
ball::LoggerManagerCategoryManip Class Reference

#include <ball_loggermanager.h>

Public Member Functions

 LoggerManagerCategoryManip (LoggerManager *loggerManager)
 
 ~LoggerManagerCategoryManip ()=default
 
void advance ()
 
Categoryoperator() ()
 
 operator const void * () const
 Return a non-zero value if this iterator is valid, and 0 otherwise.
 

Detailed Description

This class defines an iterator providing sequential, modifiable access to the categories in the registry of a logger manager's category manager. The order of the iteration is undefined.

Deprecated:
Use LoggerManager::visitCategories manipulator instead.

See ball_loggermanager

Constructor & Destructor Documentation

◆ LoggerManagerCategoryManip()

ball::LoggerManagerCategoryManip::LoggerManagerCategoryManip ( LoggerManager loggerManager)
inlineexplicit

Create an iterator providing 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.

◆ ~LoggerManagerCategoryManip()

ball::LoggerManagerCategoryManip::~LoggerManagerCategoryManip ( )
default

Member Function Documentation

◆ advance()

void ball::LoggerManagerCategoryManip::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::LoggerManagerCategoryManip::operator const void * ( ) const
inline

◆ operator()()

Category & ball::LoggerManagerCategoryManip::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: