synfig-studio  1.0.3
Public Member Functions | List of all members
synfigapp::ValueDesc Class Reference

#include <value_desc.h>

Public Member Functions

bool operator== (const ValueDesc &rhs) const
bool operator!= (const ValueDesc &rhs) const
ValueDescoperator= (const ValueDesc &other)
 ValueDesc (synfig::Layer::Handle layer, const synfig::String &param_name, const ValueDesc &parent=blank)
 ValueDesc (synfig::Layer::LooseHandle layer, const synfig::String &param_name, const ValueDesc &parent=blank)
 ValueDesc (synfig::LinkableValueNode::Handle parent_value_node, int index, const ValueDesc &parent=blank)
 ValueDesc (synfig::LinkableValueNode::Handle parent_value_node, int index, synfig::Real s, const ValueDesc &parent=blank)
 ValueDesc (synfig::ValueNode_Animated::Handle parent_value_node, synfig::Time waypoint_time, const ValueDesc &parent=blank)
 ValueDesc (synfig::Canvas::Handle canvas, const synfig::String &name, const ValueDesc &parent=blank)
 ValueDesc (synfig::ValueNode_Const::Handle parent_value_node, const ValueDesc &parent=blank)
 ValueDesc (const ValueDesc &parent, const synfig::String &sub_name)
 ValueDesc (const ValueDesc &other)
 ValueDesc ()
 ~ValueDesc ()
bool is_valid () const
 operator bool () const
bool parent_is_layer () const
bool parent_is_value_node () const
bool parent_is_linkable_value_node () const
bool parent_is_value_node_const () const
bool parent_is_waypoint () const
bool parent_is_canvas () const
bool parent_is_value_desc () const
bool is_value_node () const
bool is_const () const
bool is_animated () const
bool is_parent_desc_declared () const
const ValueDescget_sub_parent_desc () const
const ValueDescget_origin_desc () const
const ValueDescget_parent_desc () const
synfig::Layer::Handle get_layer () const
const synfig::String & get_param_name () const
bool find_param_desc (synfig::ParamDesc &out_param_desc) const
synfig::ValueNode::Handle get_parent_value_node () const
int get_index () const
synfig::Real get_scalar () const
synfig::String get_name () const
const std::vector
< synfig::String > & 
get_sub_names () const
const synfig::String & get_sub_name () const
synfig::Time get_waypoint_time () const
const synfig::String & get_value_node_id () const
synfig::Canvas::Handle get_canvas () const
synfig::ValueNode::Handle get_value_node () const
synfig::ValueBase get_value (synfig::Time time=0) const
synfig::Type & get_value_type () const
bool is_exported () const
synfig::String get_description (bool show_exported_name=true) const
synfig::Interpolation get_interpolation () const
bool get_static () const
synfig::GUID get_guid () const
synfig::String get_guid_string () const
ValueDesc create_sub_value (const synfig::String &sub_name) const
 sub_name should be NOT empty
ValueDesc get_sub_value (const synfig::String &sub_name) const

Constructor & Destructor Documentation

synfigapp::ValueDesc::ValueDesc ( synfig::Layer::Handle  layer,
const synfig::String &  param_name,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( synfig::Layer::LooseHandle  layer,
const synfig::String &  param_name,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( synfig::LinkableValueNode::Handle  parent_value_node,
int  index,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( synfig::LinkableValueNode::Handle  parent_value_node,
int  index,
synfig::Real  s,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( synfig::ValueNode_Animated::Handle  parent_value_node,
synfig::Time  waypoint_time,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( synfig::Canvas::Handle  canvas,
const synfig::String &  name,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( synfig::ValueNode_Const::Handle  parent_value_node,
const ValueDesc parent = blank 
)
inline
synfigapp::ValueDesc::ValueDesc ( const ValueDesc parent,
const synfig::String &  sub_name 
)
inline
synfigapp::ValueDesc::ValueDesc ( const ValueDesc other)
inline
synfigapp::ValueDesc::ValueDesc ( )
inline

Referenced by create_sub_value(), and get_sub_value().

synfigapp::ValueDesc::~ValueDesc ( )
inline

Member Function Documentation

bool synfigapp::ValueDesc::operator== ( const ValueDesc rhs) const
inline

Referenced by operator!=().

bool synfigapp::ValueDesc::operator!= ( const ValueDesc rhs) const
inline

References operator==().

ValueDesc& synfigapp::ValueDesc::operator= ( const ValueDesc other)
inline
bool synfigapp::ValueDesc::is_valid ( ) const
inline
synfigapp::ValueDesc::operator bool ( ) const
inline

References is_valid().

bool synfigapp::ValueDesc::parent_is_layer ( ) const
inline
bool synfigapp::ValueDesc::parent_is_value_node ( ) const
inline
bool synfigapp::ValueDesc::parent_is_linkable_value_node ( ) const
inline
bool synfigapp::ValueDesc::parent_is_value_node_const ( ) const
inline
bool synfigapp::ValueDesc::parent_is_waypoint ( ) const
inline
bool synfigapp::ValueDesc::parent_is_canvas ( ) const
inline
bool synfigapp::ValueDesc::parent_is_value_desc ( ) const
inline
bool synfigapp::ValueDesc::is_value_node ( ) const
inline
bool synfigapp::ValueDesc::is_const ( ) const
inline
bool synfigapp::ValueDesc::is_animated ( ) const
inline
bool synfigapp::ValueDesc::is_parent_desc_declared ( ) const
inline
const ValueDesc& synfigapp::ValueDesc::get_sub_parent_desc ( ) const
inline
const ValueDesc& synfigapp::ValueDesc::get_origin_desc ( ) const
inline
const ValueDesc& synfigapp::ValueDesc::get_parent_desc ( ) const
inline
synfig::Layer::Handle synfigapp::ValueDesc::get_layer ( ) const
inline
const synfig::String& synfigapp::ValueDesc::get_param_name ( ) const
inline
bool synfigapp::ValueDesc::find_param_desc ( synfig::ParamDesc &  out_param_desc) const
inline

References parent_is_layer().

synfig::ValueNode::Handle synfigapp::ValueDesc::get_parent_value_node ( ) const
inline
int synfigapp::ValueDesc::get_index ( ) const
inline

References parent_is_linkable_value_node().

Referenced by studio::Duckmatic::add_to_ducks(), get_times_from_vdesc(), synfigapp::Action::ValueDescConvert::is_candidate(), synfigapp::Action::ValueDescExport::is_candidate(), studio::Duckmatic::on_duck_changed(), synfigapp::ActiveTimeInfo::operator<(), synfigapp::Action::ValueDescSkeletonLink::prepare(), synfigapp::Action::ValueDescBoneLink::prepare(), synfigapp::Action::ValueDescBLineLink::prepare(), synfigapp::Action::ValueDescLink::prepare(), synfigapp::Action::ValueNodeStaticListRotateOrder::set_param(), synfigapp::Action::ActivepointRemove::set_param(), synfigapp::Action::ValueNodeDynamicListRotateOrder::set_param(), synfigapp::Action::ValueNodeDynamicListRemove::set_param(), synfigapp::Action::ValueDescBLineLink::set_param(), synfigapp::Action::ValueNodeStaticListInsertSmart::set_param(), synfigapp::Action::ValueNodeStaticListRemove::set_param(), synfigapp::Action::ValueNodeDynamicListRemoveSmart::set_param(), synfigapp::Action::ActivepointSet::set_param(), synfigapp::Action::ActivepointSetOff::set_param(), synfigapp::Action::ActivepointSimpleAdd::set_param(), synfigapp::Action::ActivepointAdd::set_param(), synfigapp::Action::ActivepointSetOn::set_param(), synfigapp::Action::ValueNodeStaticListInsert::set_param(), synfigapp::Action::ValueNodeStaticListRemoveSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsertSmart::set_param(), synfigapp::Action::ValueNodeDynamicListInsert::set_param(), and synfigapp::Action::ActivepointSetSmart::set_param().

synfig::Real synfigapp::ValueDesc::get_scalar ( ) const
inline
synfig::String synfigapp::ValueDesc::get_name ( ) const
inline
const std::vector<synfig::String>& synfigapp::ValueDesc::get_sub_names ( ) const
inline

References parent_is_value_desc().

Referenced by get_guid().

const synfig::String& synfigapp::ValueDesc::get_sub_name ( ) const
inline
synfig::Time synfigapp::ValueDesc::get_waypoint_time ( ) const
inline

References parent_is_waypoint().

const synfig::String& synfigapp::ValueDesc::get_value_node_id ( ) const
inline

References parent_is_canvas().

synfig::Canvas::Handle synfigapp::ValueDesc::get_canvas ( ) const
inline
synfig::ValueNode::Handle synfigapp::ValueDesc::get_value_node ( ) const
inline
synfig::ValueBase synfigapp::ValueDesc::get_value ( synfig::Time  time = 0) const
inline
synfig::Type& synfigapp::ValueDesc::get_value_type ( ) const
inline
bool synfigapp::ValueDesc::is_exported ( ) const
inline
String ValueDesc::get_description ( bool  show_exported_name = true) const

References _.

synfig::Interpolation synfigapp::ValueDesc::get_interpolation ( ) const
inline
bool synfigapp::ValueDesc::get_static ( ) const
inline
synfig::GUID synfigapp::ValueDesc::get_guid ( ) const
inline
synfig::String synfigapp::ValueDesc::get_guid_string ( ) const
inline
ValueDesc synfigapp::ValueDesc::create_sub_value ( const synfig::String &  sub_name) const
inline

sub_name should be NOT empty

References ValueDesc().

ValueDesc synfigapp::ValueDesc::get_sub_value ( const synfig::String &  sub_name) const
inline
Returns
copy of it self when sum_name is empty string

References ValueDesc().

Referenced by studio::Duckmatic::add_to_ducks(), and set_duck_value_desc().


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