OpenMS
Loading...
Searching...
No Matches
ScopedResamplingWarningSuppression Class Reference

Internal RAII guard for temporary resampling warning suppression. More...

#include <OpenMS/PROCESSING/RESAMPLING/LinearResamplerAlign.h>

Collaboration diagram for ScopedResamplingWarningSuppression:
[legend]

Public Member Functions

 ScopedResamplingWarningSuppression (bool suppress=true)
 
 ~ScopedResamplingWarningSuppression ()
 
 ScopedResamplingWarningSuppression (const ScopedResamplingWarningSuppression &)=delete
 
ScopedResamplingWarningSuppressionoperator= (const ScopedResamplingWarningSuppression &)=delete
 

Private Attributes

bool previous_
 

Detailed Description

Internal RAII guard for temporary resampling warning suppression.

Saves the current global warning state on construction and restores it on destruction so OpenSwath can suppress high-volume warnings without leaking the suppression to later work in the same process.

Constructor & Destructor Documentation

◆ ScopedResamplingWarningSuppression() [1/2]

ScopedResamplingWarningSuppression ( bool  suppress = true)
inlineexplicit

◆ ~ScopedResamplingWarningSuppression()

◆ ScopedResamplingWarningSuppression() [2/2]

Member Function Documentation

◆ operator=()

Member Data Documentation

◆ previous_