IMP Reference Guide
develop.63b38c487d,2024/12/22
The Integrative Modeling Platform
|
#include <IMP/Flag.h>
Inherits FlagImpl< T, ENABLED >.
Use this to add a flag to the program. It is convertible to the passed type and so can be used as the value itself.
The ENABLED template argument is to allow the preprocessor to turn it on or off (eg pass IMP_HAS_XXX).
The Flag can be used like an instance of type T.
Public Member Functions | |
Flag (std::string name, std::string description, T default_value=T()) | |
Flag< T, ENABLED > & | operator= (const T &o) |