Belle II Software development
DeprecateProxy Class Reference

Internal class that registers a variable as deprecated. More...

#include <Manager.h>

Public Member Functions

 DeprecateProxy (const std::string &name, bool make_fatal, const std::string &version, const std::string &description)
 constructor.
 

Detailed Description

Internal class that registers a variable as deprecated.

Definition at line 346 of file Manager.h.

Constructor & Destructor Documentation

◆ DeprecateProxy()

DeprecateProxy ( const std::string &  name,
bool  make_fatal,
const std::string &  version,
const std::string &  description 
)
inline

constructor.

Definition at line 349 of file Manager.h.

350 {
351 Manager::Instance().deprecateVariable(name, make_fatal, version, description);
352 }
void deprecateVariable(const std::string &name, bool make_fatal, const std::string &version, const std::string &description)
Make a variable deprecated.
Definition: Manager.cc:401
static Manager & Instance()
get singleton instance.
Definition: Manager.cc:26

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