# synfigapp::Action::Param Class Reference

Action Parameter. More...

`#include <action_param.h>`

List of all members.

## Public Types

enum | Type { TYPE_NIL, TYPE_INTEGER, TYPE_REAL, TYPE_BOOL, TYPE_ACTIVEPOINT, TYPE_WAYPOINT, TYPE_WAYPOINTMODEL, TYPE_KEYFRAME, TYPE_CANVAS, TYPE_LAYER, TYPE_VALUENODE, TYPE_VALUEDESC, TYPE_VALUE, TYPE_STRING, TYPE_TIME, TYPE_CANVASINTERFACE, TYPE_EDITMODE, TYPE_RENDDESC, TYPE_END }

## Public Member Functions

| Param ()
| Param (const Param &x)
| Param (const etl::handle< synfigapp::CanvasInterface > &x)
| Param (const etl::loose_handle< synfigapp::CanvasInterface > &x)
| Param (const synfig::Canvas::Handle &x)
| Param (const synfig::Canvas::LooseHandle &x)
| Param (const synfig::Layer::Handle &x)
| Param (const synfig::Layer::LooseHandle &x)
| Param (const synfig::ValueNode::Handle &x)
| Param (const synfig::ValueNode::LooseHandle &x)
| Param (const synfig::Activepoint &x)
| Param (const synfig::Waypoint &x)
| Param (const synfig::Waypoint::Model &x)
| Param (const synfig::String &x)
| Param (const synfig::RendDesc &x)
| Param (const char *x)
| Param (const synfig::Keyframe &x)
| Param (const synfigapp::ValueDesc &x)
| Param (const int &x)
| Param (const EditMode &x)
| Param (const synfig::Real &x)
| Param (const synfig::Time &x)
| Param (const bool &x)
| Param (const synfig::ValueBase &x)
| ~Param ()
Param & | operator= (const Param &rhs)
void | clear ()
const synfig::Canvas::LooseHandle & | get_canvas () const
const etl::loose_handle < synfigapp::CanvasInterface > & | get_canvas_interface () const
const synfig::Layer::LooseHandle & | get_layer () const
const synfig::ValueNode::LooseHandle & | get_value_node () const
const synfig::ValueBase & | get_value () const
const synfig::Activepoint & | get_activepoint () const
const synfig::Waypoint & | get_waypoint () const
const synfig::Waypoint::Model & | get_waypoint_model () const
const synfig::String & | get_string () const
const synfig::Keyframe & | get_keyframe () const
const synfigapp::ValueDesc & | get_value_desc () const
const synfig::Real & | get_real () const
const synfig::Time & | get_time () const
const synfig::RendDesc & | get_rend_desc () const
int | get_integer () const
EditMode | get_edit_mode () const
bool | get_bool () const
const Type & | get_type () const

## Detailed Description

Action Parameter.

## Member Enumeration Documentation

enum synfigapp::Action::Param::Type

Enumerator:

  TYPE_NIL |
  TYPE_INTEGER |
  TYPE_REAL |
  TYPE_BOOL |
  TYPE_ACTIVEPOINT |
  TYPE_WAYPOINT |
  TYPE_WAYPOINTMODEL |
  TYPE_KEYFRAME |
  TYPE_CANVAS |
  TYPE_LAYER |
  TYPE_VALUENODE |
  TYPE_VALUEDESC |
  TYPE_VALUE |
  TYPE_STRING |
  TYPE_TIME |
  TYPE_CANVASINTERFACE |
  TYPE_EDITMODE |
  TYPE_RENDDESC |
  TYPE_END |

## Constructor & Destructor Documentation

synfigapp::Action::Param::Param | ( |  | ) | `[inline]`

Param::Param | ( | const Param & | x | ) |

References activepoint, b, canvas, canvas_interface, data, edit_mode, integer, keyframe, layer, real, rend_desc, string, time, TYPE_ACTIVEPOINT, TYPE_BOOL, TYPE_CANVAS, TYPE_CANVASINTERFACE, TYPE_EDITMODE, TYPE_INTEGER, TYPE_KEYFRAME, TYPE_LAYER, TYPE_NIL, TYPE_REAL, TYPE_RENDDESC, TYPE_STRING, TYPE_TIME, TYPE_VALUE, TYPE_VALUEDESC, TYPE_VALUENODE, TYPE_WAYPOINT, TYPE_WAYPOINTMODEL, value, value_desc, value_node, waypoint, and waypoint_model.

Param::Param | ( | const etl::handle< synfigapp::CanvasInterface > & | x | ) |

Param::Param | ( | const etl::loose_handle< synfigapp::CanvasInterface > & | x | ) |

Param::Param | ( | const synfig::Canvas::Handle & | x | ) |

Param::Param | ( | const synfig::Canvas::LooseHandle & | x | ) |

Param::Param | ( | const synfig::Layer::Handle & | x | ) |

Param::Param | ( | const synfig::Layer::LooseHandle & | x | ) |

Param::Param | ( | const synfig::ValueNode::Handle & | x | ) |

Param::Param | ( | const synfig::ValueNode::LooseHandle & | x | ) |

Param::Param | ( | const synfig::Activepoint & | x | ) |

Param::Param | ( | const synfig::Waypoint & | x | ) |

Param::Param | ( | const synfig::Waypoint::Model & | x | ) |

Param::Param | ( | const synfig::String & | x | ) |

Param::Param | ( | const synfig::RendDesc & | x | ) |

Param::Param | ( | const char * | x | ) |

Param::Param | ( | const synfig::Keyframe & | x | ) |

Param::Param | ( | const synfigapp::ValueDesc & | x | ) |

Param::Param | ( | const int & | x | ) |

Param::Param | ( | const EditMode & | x | ) |

Param::Param | ( | const synfig::Real & | x | ) |

Param::Param | ( | const synfig::Time & | x | ) |

Param::Param | ( | const bool & | x | ) |

Param::Param | ( | const synfig::ValueBase & | x | ) |

Param::~Param | ( |  | ) |

References clear().

## Member Function Documentation

Param & Param::operator= | ( | const Param & | rhs | ) |

References activepoint, b, canvas, canvas_interface, clear(), data, integer, keyframe, layer, real, rend_desc, string, time, type_, TYPE_ACTIVEPOINT, TYPE_BOOL, TYPE_CANVAS, TYPE_CANVASINTERFACE, TYPE_EDITMODE, TYPE_INTEGER, TYPE_KEYFRAME, TYPE_LAYER, TYPE_NIL, TYPE_REAL, TYPE_RENDDESC, TYPE_STRING, TYPE_TIME, TYPE_VALUE, TYPE_VALUEDESC, TYPE_VALUENODE, TYPE_WAYPOINT, TYPE_WAYPOINTMODEL, value, value_desc, value_node, waypoint, and waypoint_model.

void Param::clear | ( |  | ) |

References TYPE_ACTIVEPOINT, TYPE_BOOL, TYPE_CANVAS, TYPE_CANVASINTERFACE, TYPE_EDITMODE, TYPE_INTEGER, TYPE_KEYFRAME, TYPE_LAYER, TYPE_NIL, TYPE_REAL, TYPE_RENDDESC, TYPE_STRING, TYPE_TIME, TYPE_VALUE, TYPE_VALUEDESC, TYPE_VALUENODE, TYPE_WAYPOINT, and TYPE_WAYPOINTMODEL.

Referenced by operator=(), and ~Param().

const synfig::Canvas::LooseHandle& synfigapp::Action::Param::get_canvas | ( |  | ) | const`[inline]`

References TYPE_CANVAS.

Referenced by synfigapp::Action::ValueDescConnect::set_param(), synfigapp::Action::TimepointsMove::set_param(), synfigapp::Action::TimepointsDelete::set_param(), synfigapp::Action::TimepointsCopy::set_param(), synfigapp::Action::LayerMove::set_param(), synfigapp::Action::CanvasAdd::set_param(), and synfigapp::Action::CanvasSpecific::set_param().

const etl::loose_handle<synfigapp::CanvasInterface>& synfigapp::Action::Param::get_canvas_interface | ( |  | ) | const`[inline]`

References TYPE_CANVASINTERFACE.

Referenced by synfigapp::Action::CanvasSpecific::set_param().

const synfig::Layer::LooseHandle& synfigapp::Action::Param::get_layer | ( |  | ) | const`[inline]`

References TYPE_LAYER.

Referenced by synfigapp::Action::TimepointsMove::set_param(), synfigapp::Action::TimepointsDelete::set_param(), synfigapp::Action::TimepointsCopy::set_param(), synfigapp::Action::LayerSetDesc::set_param(), synfigapp::Action::LayerRemove::set_param(), synfigapp::Action::LayerRaise::set_param(), synfigapp::Action::LayerParamSet::set_param(), synfigapp::Action::LayerParamDisconnect::set_param(), synfigapp::Action::LayerParamConnect::set_param(), synfigapp::Action::LayerMove::set_param(), synfigapp::Action::LayerLower::set_param(), synfigapp::Action::LayerEncapsulate::set_param(), synfigapp::Action::LayerDuplicate::set_param(), synfigapp::Action::LayerAdd::set_param(), synfigapp::Action::LayerActivate::set_param(), synfigapp::Action::GroupRemoveLayers::set_param(), and synfigapp::Action::GroupAddLayers::set_param().

const synfig::ValueNode::LooseHandle& synfigapp::Action::Param::get_value_node | ( |  | ) | const`[inline]`

References TYPE_VALUENODE.

Referenced by synfigapp::Action::WaypointSimpleAdd::set_param(), synfigapp::Action::WaypointSetSmart::set_param(), synfigapp::Action::WaypointSet::set_param(), synfigapp::Action::WaypointRemove::set_param(), synfigapp::Action::WaypointDisconnect::set_param(), synfigapp::Action::WaypointConnect::set_param(), synfigapp::Action::WaypointAdd::set_param(), synfigapp::Action::ValueNodeReplace::set_param(), synfigapp::Action::ValueNodeRename::set_param(), synfigapp::Action::ValueNodeRemove::set_param(), synfigapp::Action::ValueNodeLinkDisconnect::set_param(), synfigapp::Action::ValueNodeLinkConnect::set_param(), synfigapp::Action::ValueNodeDynamicListUnLoop::set_param(), synfigapp::Action::ValueNodeDynamicListLoop::set_param(), synfigapp::Action::ValueNodeDynamicListInsert::set_param(), synfigapp::Action::ValueNodeConstSet::set_param(), synfigapp::Action::ValueNodeAdd::set_param(), synfigapp::Action::ValueDescConnect::set_param(), synfigapp::Action::LayerParamConnect::set_param(), synfigapp::Action::BLinePointTangentSplit::set_param(), and synfigapp::Action::BLinePointTangentMerge::set_param().

const synfig::ValueBase& synfigapp::Action::Param::get_value | ( |  | ) | const`[inline]`

References TYPE_VALUE.

Referenced by synfigapp::Action::ValueNodeConstSet::set_param(), synfigapp::Action::ValueDescSet::set_param(), and synfigapp::Action::LayerParamSet::set_param().

const synfig::Activepoint& synfigapp::Action::Param::get_activepoint | ( |  | ) | const`[inline]`

References TYPE_ACTIVEPOINT.

Referenced by synfigapp::Action::ActivepointSimpleAdd::set_param(), synfigapp::Action::ActivepointSetSmart::set_param(), synfigapp::Action::ActivepointSetOn::set_param(), synfigapp::Action::ActivepointSetOff::set_param(), synfigapp::Action::ActivepointSet::set_param(), synfigapp::Action::ActivepointRemove::set_param(), and synfigapp::Action::ActivepointAdd::set_param().

const synfig::Waypoint& synfigapp::Action::Param::get_waypoint | ( |  | ) | const`[inline]`

References TYPE_WAYPOINT.

Referenced by synfigapp::Action::WaypointSimpleAdd::set_param(), synfigapp::Action::WaypointSetSmart::set_param(), synfigapp::Action::WaypointSet::set_param(), synfigapp::Action::WaypointRemove::set_param(), and synfigapp::Action::WaypointAdd::set_param().

const synfig::Waypoint::Model& synfigapp::Action::Param::get_waypoint_model | ( |  | ) | const`[inline]`

References TYPE_WAYPOINTMODEL.

Referenced by synfigapp::Action::WaypointSetSmart::set_param(), and synfigapp::Action::KeyframeWaypointSet::set_param().

const synfig::String& synfigapp::Action::Param::get_string | ( |  | ) | const`[inline]`

References TYPE_STRING.

Referenced by synfigapp::Action::ValueNodeRename::set_param(), synfigapp::Action::ValueNodeAdd::set_param(), synfigapp::Action::ValueDescExport::set_param(), synfigapp::Action::ValueDescConvert::set_param(), synfigapp::Action::ValueDescConnect::set_param(), synfigapp::Action::LayerSetDesc::set_param(), synfigapp::Action::LayerParamSet::set_param(), synfigapp::Action::LayerParamDisconnect::set_param(), synfigapp::Action::LayerParamConnect::set_param(), synfigapp::Action::GroupRename::set_param(), synfigapp::Action::GroupRemove::set_param(), synfigapp::Action::GroupAddLayers::set_param(), synfigapp::Action::CanvasNameSet::set_param(), synfigapp::Action::CanvasIdSet::set_param(), synfigapp::Action::CanvasDescriptionSet::set_param(), and synfigapp::Action::CanvasAdd::set_param().

const synfig::Keyframe& synfigapp::Action::Param::get_keyframe | ( |  | ) | const`[inline]`

References TYPE_KEYFRAME.

Referenced by synfigapp::Action::KeyframeWaypointSet::set_param(), synfigapp::Action::KeyframeSetDelta::set_param(), synfigapp::Action::KeyframeSet::set_param(), synfigapp::Action::KeyframeRemove::set_param(), synfigapp::Action::KeyframeDuplicate::set_param(), and synfigapp::Action::KeyframeAdd::set_param().

const synfigapp::ValueDesc& synfigapp::Action::Param::get_value_desc | ( |  | ) | const`[inline]`

References TYPE_VALUEDESC.

Referenced by synfigapp::Action::ValueNodeDynamicListUnLoop::set_param(), synfigapp::Action::ValueNodeDynamicListRotateOrder::set_param(), synfigapp::Action::ValueNodeDynamicListRemoveSmart::set_param(), synfigapp::Action::ValueNodeDynamicListRemove::set_param(), synfigapp::Action::ValueNodeDynamicListLoop::set_param(), synfigapp::Action::ValueNodeDynamicListInsertSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsert::set_param(), synfigapp::Action::ValueDescSet::set_param(), synfigapp::Action::ValueDescLink::set_param(), synfigapp::Action::ValueDescExport::set_param(), synfigapp::Action::ValueDescDisconnect::set_param(), synfigapp::Action::ValueDescConvert::set_param(), synfigapp::Action::ValueDescConnect::set_param(), synfigapp::Action::ValueDescBLineLink::set_param(), synfigapp::Action::TimepointsMove::set_param(), synfigapp::Action::TimepointsDelete::set_param(), synfigapp::Action::TimepointsCopy::set_param(), synfigapp::Action::GradientSet::set_param(), synfigapp::Action::ColorSet::set_param(), synfigapp::Action::ActivepointSimpleAdd::set_param(), synfigapp::Action::ActivepointSetSmart::set_param(), synfigapp::Action::ActivepointSetOn::set_param(), synfigapp::Action::ActivepointSetOff::set_param(), synfigapp::Action::ActivepointSet::set_param(), synfigapp::Action::ActivepointRemove::set_param(), and synfigapp::Action::ActivepointAdd::set_param().

const synfig::Real& synfigapp::Action::Param::get_real | ( |  | ) | const`[inline]`

References TYPE_REAL.

Referenced by synfigapp::Action::ValueNodeDynamicListRemoveSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsertSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsert::set_param(), and synfigapp::Action::ValueDescBLineLink::set_param().

const synfig::Time& synfigapp::Action::Param::get_time | ( |  | ) | const`[inline]`

References TYPE_TIME.

Referenced by synfigapp::Action::WaypointSetSmart::set_param(), synfigapp::Action::WaypointDisconnect::set_param(), synfigapp::Action::WaypointConnect::set_param(), synfigapp::Action::WaypointAdd::set_param(), synfigapp::Action::ValueNodeLinkDisconnect::set_param(), synfigapp::Action::ValueNodeDynamicListRemoveSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsertSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsert::set_param(), synfigapp::Action::ValueDescSet::set_param(), synfigapp::Action::ValueDescLink::set_param(), synfigapp::Action::ValueDescDisconnect::set_param(), synfigapp::Action::ValueDescConvert::set_param(), synfigapp::Action::ValueDescBLineLink::set_param(), synfigapp::Action::TimepointsMove::set_param(), synfigapp::Action::TimepointsDelete::set_param(), synfigapp::Action::TimepointsCopy::set_param(), synfigapp::Action::LayerParamDisconnect::set_param(), synfigapp::Action::KeyframeSetDelta::set_param(), synfigapp::Action::KeyframeDuplicate::set_param(), synfigapp::Action::GradientSet::set_param(), synfigapp::Action::ColorSet::set_param(), synfigapp::Action::BLinePointTangentSplit::set_param(), synfigapp::Action::BLinePointTangentMerge::set_param(), synfigapp::Action::ActivepointSetSmart::set_param(), synfigapp::Action::ActivepointSetOn::set_param(), synfigapp::Action::ActivepointSetOff::set_param(), and synfigapp::Action::ActivepointAdd::set_param().

const synfig::RendDesc& synfigapp::Action::Param::get_rend_desc | ( |  | ) | const`[inline]`

References TYPE_RENDDESC.

Referenced by synfigapp::Action::CanvasRendDescSet::set_param().

int synfigapp::Action::Param::get_integer | ( |  | ) | const`[inline]`

References TYPE_INTEGER.

Referenced by synfigapp::Action::ValueNodeLinkDisconnect::set_param(), synfigapp::Action::ValueNodeLinkConnect::set_param(), and synfigapp::Action::LayerMove::set_param().

EditMode synfigapp::Action::Param::get_edit_mode | ( |  | ) | const`[inline]`

References TYPE_EDITMODE.

Referenced by synfigapp::Action::CanvasSpecific::set_param().

bool synfigapp::Action::Param::get_bool | ( |  | ) | const`[inline]`

References TYPE_BOOL.

Referenced by synfigapp::Action::LayerActivate::set_param().

const Type& synfigapp::Action::Param::get_type | ( |  | ) | const`[inline]`

Referenced by synfigapp::Action::WaypointSimpleAdd::set_param(), synfigapp::Action::WaypointSetSmart::set_param(), synfigapp::Action::WaypointSet::set_param(), synfigapp::Action::WaypointRemove::set_param(), synfigapp::Action::WaypointDisconnect::set_param(), synfigapp::Action::WaypointConnect::set_param(), synfigapp::Action::WaypointAdd::set_param(), synfigapp::Action::ValueNodeReplace::set_param(), synfigapp::Action::ValueNodeRename::set_param(), synfigapp::Action::ValueNodeRemove::set_param(), synfigapp::Action::ValueNodeLinkDisconnect::set_param(), synfigapp::Action::ValueNodeLinkConnect::set_param(), synfigapp::Action::ValueNodeDynamicListUnLoop::set_param(), synfigapp::Action::ValueNodeDynamicListRotateOrder::set_param(), synfigapp::Action::ValueNodeDynamicListRemoveSmart::set_param(), synfigapp::Action::ValueNodeDynamicListRemove::set_param(), synfigapp::Action::ValueNodeDynamicListLoop::set_param(), synfigapp::Action::ValueNodeDynamicListInsertSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsert::set_param(), synfigapp::Action::ValueNodeConstSet::set_param(), synfigapp::Action::ValueNodeAdd::set_param(), synfigapp::Action::ValueDescSet::set_param(), synfigapp::Action::ValueDescLink::set_param(), synfigapp::Action::ValueDescExport::set_param(), synfigapp::Action::ValueDescDisconnect::set_param(), synfigapp::Action::ValueDescConvert::set_param(), synfigapp::Action::ValueDescConnect::set_param(), synfigapp::Action::ValueDescBLineLink::set_param(), synfigapp::Action::TimepointsMove::set_param(), synfigapp::Action::TimepointsDelete::set_param(), synfigapp::Action::TimepointsCopy::set_param(), synfigapp::Action::LayerSetDesc::set_param(), synfigapp::Action::LayerRemove::set_param(), synfigapp::Action::LayerRaise::set_param(), synfigapp::Action::LayerParamSet::set_param(), synfigapp::Action::LayerParamDisconnect::set_param(), synfigapp::Action::LayerParamConnect::set_param(), synfigapp::Action::LayerMove::set_param(), synfigapp::Action::LayerLower::set_param(), synfigapp::Action::LayerEncapsulate::set_param(), synfigapp::Action::LayerDuplicate::set_param(), synfigapp::Action::LayerAdd::set_param(), synfigapp::Action::LayerActivate::set_param(), synfigapp::Action::KeyframeWaypointSet::set_param(), synfigapp::Action::KeyframeSetDelta::set_param(), synfigapp::Action::KeyframeSet::set_param(), synfigapp::Action::KeyframeRemove::set_param(), synfigapp::Action::KeyframeDuplicate::set_param(), synfigapp::Action::KeyframeAdd::set_param(), synfigapp::Action::GroupRename::set_param(), synfigapp::Action::GroupRemoveLayers::set_param(), synfigapp::Action::GroupRemove::set_param(), synfigapp::Action::GroupAddLayers::set_param(), synfigapp::Action::GradientSet::set_param(), synfigapp::Action::ColorSet::set_param(), synfigapp::Action::CanvasRendDescSet::set_param(), synfigapp::Action::CanvasNameSet::set_param(), synfigapp::Action::CanvasIdSet::set_param(), synfigapp::Action::CanvasDescriptionSet::set_param(), synfigapp::Action::CanvasAdd::set_param(), synfigapp::Action::BLinePointTangentSplit::set_param(), synfigapp::Action::BLinePointTangentMerge::set_param(), synfigapp::Action::ActivepointSimpleAdd::set_param(), synfigapp::Action::ActivepointSetSmart::set_param(), synfigapp::Action::ActivepointSetOn::set_param(), synfigapp::Action::ActivepointSetOff::set_param(), synfigapp::Action::ActivepointSet::set_param(), synfigapp::Action::ActivepointRemove::set_param(), synfigapp::Action::ActivepointAdd::set_param(), and synfigapp::Action::CanvasSpecific::set_param().

## Member Data Documentation

etl::trivial<synfig::Canvas::LooseHandle> synfigapp::Action::Param::canvas

Referenced by operator=(), and Param().

etl::trivial<synfig::Layer::LooseHandle> synfigapp::Action::Param::layer

Referenced by operator=(), and Param().

etl::trivial<synfig::ValueNode::LooseHandle> synfigapp::Action::Param::value_node

Referenced by operator=(), and Param().

etl::trivial<synfig::ValueBase> synfigapp::Action::Param::value

Referenced by operator=(), and Param().

etl::trivial<synfig::Activepoint> synfigapp::Action::Param::activepoint

Referenced by operator=(), and Param().

etl::trivial<synfig::ValueNode_Animated::Waypoint> synfigapp::Action::Param::waypoint

Referenced by operator=(), and Param().

etl::trivial<synfig::ValueNode_Animated::Waypoint::Model> synfigapp::Action::Param::waypoint_model

Referenced by operator=(), and Param().

etl::trivial<synfig::String> synfigapp::Action::Param::string

Referenced by operator=(), and Param().

etl::trivial<synfig::Keyframe> synfigapp::Action::Param::keyframe

Referenced by operator=(), and Param().

etl::trivial<synfig::Time> synfigapp::Action::Param::time

Referenced by operator=(), and Param().

etl::trivial<synfigapp::ValueDesc> synfigapp::Action::Param::value_desc

Referenced by operator=(), and Param().

etl::trivial<etl::loose_handle<synfigapp::CanvasInterface> > synfigapp::Action::Param::canvas_interface

Referenced by operator=(), and Param().

etl::trivial<synfig::RendDesc> synfigapp::Action::Param::rend_desc

Referenced by operator=(), and Param().

int synfigapp::Action::Param::integer

Referenced by operator=(), and Param().

synfig::Real synfigapp::Action::Param::real

Referenced by operator=(), and Param().

bool synfigapp::Action::Param::b

Referenced by operator=(), and Param().

EditMode synfigapp::Action::Param::edit_mode

Referenced by Param().

The documentation for this class was generated from the following files:

- action_param.h
- action_param.cpp