group Analysis macros
Analysis macros
Defines
Name | |
---|---|
RIVET_DECLARE_PLUGIN(clsname) | |
RIVET_DECLARE_ALIASED_PLUGIN(clsname, alias) | |
RIVET_DEFAULT_ANALYSIS_CTOR(clsname) | |
DECLARE_RIVET_PLUGIN(clsname) | |
DECLARE_ALIASED_RIVET_PLUGIN(clsname, alias) | |
DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR(clsname) | |
DEFAULT_RIVET_ANALYSIS_CTOR(clsname) |
Macros Documentation
define RIVET_DECLARE_PLUGIN
#define RIVET_DECLARE_PLUGIN(
clsname
)
::Rivet::AnalysisBuilder<clsname> plugin_ ## clsname
Preprocessor define to prettify the global-object plugin hook mechanism
define RIVET_DECLARE_ALIASED_PLUGIN
#define RIVET_DECLARE_ALIASED_PLUGIN(
clsname,
alias
)
RIVET_DECLARE_PLUGIN(clsname)( #alias )
Preprocessor define to prettify the global-object plugin hook mechanism, with an extra alias name for this analysis
define RIVET_DEFAULT_ANALYSIS_CTOR
#define RIVET_DEFAULT_ANALYSIS_CTOR(
clsname
)
clsname() : Analysis(# clsname) {}
Preprocessor define to prettify the awkward constructor with name string argument
define DECLARE_RIVET_PLUGIN
#define DECLARE_RIVET_PLUGIN(
clsname
)
::Rivet::AnalysisBuilder<clsname> plugin_ ## clsname
Deprecated:
Prefer the RIVET_DECLARE_PLUGIN version with predictable RIVET_ prefix
Preprocessor define to prettify the global-object plugin hook mechanism
define DECLARE_ALIASED_RIVET_PLUGIN
#define DECLARE_ALIASED_RIVET_PLUGIN(
clsname,
alias
)
DECLARE_RIVET_PLUGIN(clsname)( #alias )
Deprecated:
Prefer the RIVET_DECLARE_ALIASED_PLUGIN version with predictable RIVET_ prefix
Preprocessor define to prettify the global-object plugin hook mechanism, with an extra alias name for this analysis
define DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR
#define DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR(
clsname
)
clsname() : Analysis(# clsname) {}
Deprecated:
Prefer the “CTOR” version
Preprocessor define to prettify the awkward constructor with name string argument
define DEFAULT_RIVET_ANALYSIS_CTOR
#define DEFAULT_RIVET_ANALYSIS_CTOR(
clsname
)
DEFAULT_RIVET_ANALYSIS_CONSTRUCTOR(clsname)
Deprecated:
Prefer the RIVET_DEFAULT_ANALYSIS_CTOR version with predictable RIVET_ prefix
Preprocessor define to prettify the awkward constructor with name string argument
Updated on 2022-08-07 at 20:17:18 +0100