|
void | add_group_id (std::string &group_id) |
|
void | add_layer_id (std::string &layer_id) |
|
void | add_layer_id_list (std::vector< std::string > &layer_id_list) |
|
virtual bool | translate (Core::ActionContextHandle &context) |
|
ProvenanceIDList | get_input_provenance_ids () |
|
void | set_output_provenance_ids (const ProvenanceIDList &provenance_ids) |
|
ProvenanceID | get_output_provenance_id (size_t index=0) |
|
ProvenanceIDList | get_output_provenance_ids (size_t num_provenance_ids=0) |
|
void | generate_output_provenance_ids (size_t num_provenance_ids) |
|
std::string | export_params_to_provenance_string (bool single_input=false) const |
|
virtual ActionInfoHandle | get_action_info () const =0 |
|
std::string | get_definition () const |
| Get the definition of the action (in XML format)
|
|
std::string | get_type () const |
| Get the type of the action.
|
|
std::string | get_usage () const |
| Get a usage description.
|
|
std::string | get_key (size_t index) const |
| Get the name of the key with a certain index.
|
|
std::string | get_default_key_value (size_t index) const |
| Get the name of the key with a certain index.
|
|
int | get_key_index (const std::string &name) const |
| Get the index of a certain key.
|
|
bool | is_undoable () const |
| Check whether the action is undoable.
|
|
virtual bool | changes_project_data () |
|
virtual bool | validate (ActionContextHandle &context)=0 |
|
std::string | export_to_string () const |
|
bool | import_from_string (const std::string &action, std::string &error) |
|
bool | import_from_string (const std::string &action) |
| Same as function above, but without the error report.
|
|
template<class T > |
void | add_parameter (T ¶meter) |
|
void | add_param (ActionParameterBase *parameter) |
| Add a parameter to the internal structure of the action.
|
|
ActionParameterBase * | get_param (size_t index) const |
| Retrieve the parameter from the internal structure of the action.
|
|
const size_t | num_params () const |
| Number of parameter in this action.
|
|