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)

Definition at line 852 of file netservice_api.cpp.

Member Function Documentation

◆ BeginIteration()

CNetServer SRandomServiceTraversal::BeginIteration ( )

◆ NextServer()

CNetServer SRandomServiceTraversal::NextServer ( )

Implements IServiceTraversal.

Definition at line 870 of file netservice_api.cpp.

References m_Iterator.

Member Data Documentation

◆ m_Iterator

CNetServiceIterator SRandomServiceTraversal::m_Iterator

Definition at line 862 of file netservice_api.cpp.

Referenced by BeginIteration(), and NextServer().

◆ m_Service

CNetService SRandomServiceTraversal::m_Service

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 rev. 669887