Belle II Software light-2406-ragdoll
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 341 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 344 of file Manager.h.

345 {
346 Manager::Instance().deprecateVariable(name, make_fatal, version, description);
347 }
void deprecateVariable(const std::string &name, bool make_fatal, const std::string &version, const std::string &description)
Make a variable deprecated.
Definition: Manager.cc:400
static Manager & Instance()
get singleton instance.
Definition: Manager.cc:25

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