NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
SRandomServiceTraversal Class Reference

Search Toolkit Book for SRandomServiceTraversal

+ Inheritance diagram for SRandomServiceTraversal:
+ Collaboration diagram for SRandomServiceTraversal:

Public Member Functions

 SRandomServiceTraversal (CNetService::TInstance service)
 
virtual CNetServer BeginIteration ()
 
virtual CNetServer NextServer ()
 
- Public Member Functions inherited from IServiceTraversal
virtual ~IServiceTraversal ()
 

Private Attributes

CNetService m_Service
 
CNetServiceIterator m_Iterator
 

Detailed Description

Definition at line 849 of file netservice_api.cpp.

Constructor & Destructor Documentation

◆ SRandomServiceTraversal()

SRandomServiceTraversal::SRandomServiceTraversal ( CNetService::TInstance  service)
inline

Definition at line 852 of file netservice_api.cpp.

Member Function Documentation

◆ BeginIteration()

CNetServer SRandomServiceTraversal::BeginIteration ( )
virtual

◆ NextServer()

CNetServer SRandomServiceTraversal::NextServer ( )
virtual

Implements IServiceTraversal.

Definition at line 870 of file netservice_api.cpp.

References m_Iterator.

Member Data Documentation

◆ m_Iterator

CNetServiceIterator SRandomServiceTraversal::m_Iterator
private

Definition at line 862 of file netservice_api.cpp.

Referenced by BeginIteration(), and NextServer().

◆ m_Service

CNetService SRandomServiceTraversal::m_Service
private

Definition at line 861 of file netservice_api.cpp.

Referenced by BeginIteration().


The documentation for this class was generated from the following file:
Modified on Tue Jul 23 17:49:20 2024 by modify_doxy.py rev. 669887