ProteoWizard
Public Member Functions | Private Attributes | List of all members
TestIterationListener Class Reference
Inheritance diagram for TestIterationListener:
pwiz::util::IterationListener

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 }
 
- Static Public Attributes inherited from pwiz::util::IterationListener
static std::string no_message
 

Detailed Description

Definition at line 687 of file IOTest.cpp.

Member Function Documentation

◆ update()

virtual Status TestIterationListener::update ( const UpdateMessage updateMessage)
inlinevirtual

Reimplemented from pwiz::util::IterationListener.

Definition at line 691 of file IOTest.cpp.

692 {
693 indices_.push_back(updateMessage.iterationIndex);
694 return Status_Ok;
695 }
vector< size_t > indices_
Definition IOTest.cpp:700

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

◆ indices()

const vector< size_t > & TestIterationListener::indices ( ) const
inline

Definition at line 697 of file IOTest.cpp.

697{return indices_;}

References indices_.

Referenced by testSpectrumListWriteProgress().

Member Data Documentation

◆ indices_

vector<size_t> TestIterationListener::indices_
private

Definition at line 700 of file IOTest.cpp.

Referenced by indices(), and update().


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