Empirical
|
#include <Action.h>
Public Member Functions | |
size_t | GetArgCount () const |
Get number of arguments this action takes. More... | |
const std::string & | GetName () const |
Get the name of this action. More... | |
virtual ActionBase * | Clone () const =0 |
Clone() will produce a pointer to a full copy of an Action, going through derived version. More... | |
Protected Member Functions | |
ActionSize (const std::string &in_name) | |
Protected Attributes | |
std::string | name |
A unique name for this action so it can be called at runtime. More... | |
ActionSize is a second layer of abstract actions that know the number of arguments used at compile time to facilitate easy type-checking.
|
inlineprotected |
|
pure virtualinherited |
Clone() will produce a pointer to a full copy of an Action, going through derived version.
Implemented in emp::Action< RETURN(ARGS...)>, and emp::Action< void(ARGS...)>.
|
inlinevirtual |
Get number of arguments this action takes.
Implements emp::ActionBase.
|
inlineinherited |
Get the name of this action.
|
protectedinherited |
A unique name for this action so it can be called at runtime.