ProteoWizard
Public Member Functions | List of all members
IsIMSData Struct Reference
Inheritance diagram for IsIMSData:
pwiz::util::TestPathPredicate

Public Member Functions

bool operator() (const string &rawpath) const
 returns true iff the given rawpath is a real path to test/generate More...
 
- Public Member Functions inherited from pwiz::util::TestPathPredicate
virtual ~TestPathPredicate ()
 

Detailed Description

Definition at line 38 of file Reader_Waters_Test.cpp.

Member Function Documentation

◆ operator()()

bool IsIMSData::operator() ( const string &  rawpath) const
inlinevirtual

returns true iff the given rawpath is a real path to test/generate

Implements pwiz::util::TestPathPredicate.

Definition at line 40 of file Reader_Waters_Test.cpp.

41  {
42  return bfs::is_directory(rawpath) &&
43  bal::iends_with(rawpath, ".raw") &&
44  (bal::istarts_with(bfs::path(rawpath).filename().string(), "HD") || bal::istarts_with(bfs::path(rawpath).filename().string(), "SONAR"));
45  }

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