SOFA API  fdacdac3
Open source framework for multi-physics simuation
sofa::core::objectmodel::lifecycle::RemovedData Class Reference

#include <RemovedData.h>

Inheritance diagram for sofa::core::objectmodel::lifecycle::RemovedData:

Detailed Description

Placeholder for a Data<T> to indicate a Data is now removed

This will also register the data name into a dedicated structure of Base object so a warning will be issued if users continue accessing it;

Use case: RemovedData d_sofaIsGreatM(this, "v23.06", "v23.12", "sofaIsGreat", "")

Public Member Functions

 RemovedData (Base *b, const std::string &deprecationVersion, const std::string &removalVersion, const std::string &name, const std::string &helptext)
 
- Public Member Functions inherited from sofa::core::objectmodel::lifecycle::DeprecatedData
 DeprecatedData (Base *b, const std::string &deprecationVersion, const std::string &removalVersion, const std::string &name, const std::string &helptext)
 

Additional Inherited Members

- Public Attributes inherited from sofa::core::objectmodel::lifecycle::DeprecatedData
std::string m_deprecationVersion
 
std::string m_removalVersion
 
std::string m_name
 
std::string m_helptext
 
bool m_isRemoved
 

Constructor details

◆ RemovedData()

sofa::core::objectmodel::lifecycle::RemovedData::RemovedData ( Base b,
const std::string &  deprecationVersion,
const std::string &  removalVersion,
const std::string &  name,
const std::string &  helptext 
)
inline