https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Moose::ScopedDeprecatedIsError Class Reference

Scoped helper for setting Moose::_deprecated_is_error during this scope. More...

#include <Moose.h>

Public Member Functions

 ScopedDeprecatedIsError ()
 Default constructor, which sets Moose::_deprecated_is_error = true.
 
 ScopedDeprecatedIsError (const bool deprecated_is_error)
 Specialized constructor, which sets Moose::_deprecated_is_error based on the argument deprecated_is_error.
 
 ~ScopedDeprecatedIsError ()
 Destructor, which sets Moose::_deprecated_is_error to what it was upon construction.
 

Private Attributes

const bool _deprecated_is_error_before
 The value of Moose::_throw_on_error at construction.
 

Detailed Description

Scoped helper for setting Moose::_deprecated_is_error during this scope.

Cannot be used within threads.

Definition at line 327 of file Moose.h.

Constructor & Destructor Documentation

◆ ScopedDeprecatedIsError() [1/2]

Moose::ScopedDeprecatedIsError::ScopedDeprecatedIsError ( )

Default constructor, which sets Moose::_deprecated_is_error = true.

Definition at line 875 of file Moose.C.

875{

◆ ScopedDeprecatedIsError() [2/2]

Moose::ScopedDeprecatedIsError::ScopedDeprecatedIsError ( const bool  deprecated_is_error)

Specialized constructor, which sets Moose::_deprecated_is_error based on the argument deprecated_is_error.

Definition at line 868 of file Moose.C.

◆ ~ScopedDeprecatedIsError()

Moose::ScopedDeprecatedIsError::~ScopedDeprecatedIsError ( )

Destructor, which sets Moose::_deprecated_is_error to what it was upon construction.

Definition at line 877 of file Moose.C.

Member Data Documentation

◆ _deprecated_is_error_before

const bool Moose::ScopedDeprecatedIsError::_deprecated_is_error_before
private

The value of Moose::_throw_on_error at construction.

Definition at line 349 of file Moose.h.


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