Public Member Functions | Private Attributes
TestIterationListener_WithCancel Class Reference
Inheritance diagram for TestIterationListener_WithCancel:

List of all members.

Public Member Functions

virtual Status update (const UpdateMessage &updateMessage)
const vector< size_t > & indices () const
- Public Member Functions inherited from pwiz::util::IterationListener
virtual ~IterationListener ()

Private Attributes

vector< size_t > indices_

Additional Inherited Members

- Public Types inherited from pwiz::util::IterationListener
enum  Status { Status_Ok, Status_Cancel }

Detailed Description

Definition at line 704 of file IOTest.cpp.

Member Function Documentation

virtual Status TestIterationListener_WithCancel::update ( const UpdateMessage updateMessage)

Reimplemented from pwiz::util::IterationListener.

Definition at line 708 of file IOTest.cpp.

References pwiz::util::IterationListener::UpdateMessage::iterationIndex, and Status_Ok.

if (updateMessage.iterationIndex == 5) return Status_Cancel;
return Status_Ok;
const vector<size_t>& TestIterationListener_WithCancel::indices ( ) const

Definition at line 715 of file IOTest.cpp.

Referenced by testSpectrumListWriteProgress().

{return indices_;}

Member Data Documentation

vector<size_t> TestIterationListener_WithCancel::indices_

Definition at line 718 of file IOTest.cpp.

The documentation for this class was generated from the following file: