#include <valuenode.h>
Public Types | |
typedef etl::handle < LinkableValueNode > | Handle |
typedef etl::loose_handle < LinkableValueNode > | LooseHandle |
typedef etl::handle < const LinkableValueNode > | ConstHandle |
typedef etl::rhandle < LinkableValueNode > | RHandle |
typedef LinkableValueNode *(* | Factory )(const ValueBase &) |
Type that represents a pointer to a ValueNode's constructor. | |
typedef bool(* | CheckType )(ValueBase::Type) |
typedef std::map < String, BookEntry > | Book |
Public Member Functions | |
LinkableValueNode (ValueBase::Type type=ValueBase::TYPE_NIL) | |
virtual int | link_count () const =0 |
virtual String | link_local_name (int i) const =0 |
virtual String | link_name (int i) const =0 |
virtual int | get_link_index_from_name (const String &name) const =0 |
virtual ValueNode * | clone (const GUID &deriv_guid=GUID()) const |
bool | set_link (int i, ValueNode::Handle x) |
bool | set_link (const String &name, ValueNode::Handle x) |
ValueNode::LooseHandle | get_link (int i) const |
ValueNode::LooseHandle | get_link (const String &name) const |
Static Public Member Functions | |
static Book & | book () |
static Handle | create (const String &name, const ValueBase &x) |
static bool | check_type (const String &name, ValueBase::Type x) |
Protected Member Functions | |
virtual bool | set_link_vfunc (int i, ValueNode::Handle x)=0 |
void | unlink_all () |
void | set_type (ValueBase::Type t) |
Sets the type of the ValueNode. | |
virtual ValueNode::LooseHandle | get_link_vfunc (int i) const =0 |
virtual LinkableValueNode * | create_new () const =0 |
virtual void | get_times_vfunc (Node::time_set &set) const |
Friends | |
class | ValueNode |
Classes | |
struct | BookEntry |
typedef etl::handle<LinkableValueNode> synfig::LinkableValueNode::Handle |
Reimplemented from synfig::ValueNode.
Reimplemented in synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
typedef etl::loose_handle<LinkableValueNode> synfig::LinkableValueNode::LooseHandle |
Reimplemented from synfig::ValueNode.
typedef etl::handle<const LinkableValueNode> synfig::LinkableValueNode::ConstHandle |
Reimplemented from synfig::ValueNode.
Reimplemented in synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
typedef etl::rhandle<LinkableValueNode> synfig::LinkableValueNode::RHandle |
Reimplemented from synfig::ValueNode.
typedef LinkableValueNode*(* synfig::LinkableValueNode::Factory)(const ValueBase &) |
Type that represents a pointer to a ValueNode's constructor.
typedef bool(* synfig::LinkableValueNode::CheckType)(ValueBase::Type) |
typedef std::map<String,BookEntry> synfig::LinkableValueNode::Book |
synfig::LinkableValueNode::LinkableValueNode | ( | ValueBase::Type | type = ValueBase::TYPE_NIL |
) | [inline] |
LinkableValueNode::Book & LinkableValueNode::book | ( | ) | [static] |
LinkableValueNode::Handle LinkableValueNode::create | ( | const String & | name, | |
const ValueBase & | x | |||
) | [static] |
bool LinkableValueNode::check_type | ( | const String & | name, | |
ValueBase::Type | x | |||
) | [static] |
virtual bool synfig::LinkableValueNode::set_link_vfunc | ( | int | i, | |
ValueNode::Handle | x | |||
) | [protected, pure virtual] |
Implemented in synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
void LinkableValueNode::unlink_all | ( | ) | [protected] |
virtual int synfig::LinkableValueNode::link_count | ( | ) | const [pure virtual] |
Implemented in synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
virtual String synfig::LinkableValueNode::link_local_name | ( | int | i | ) | const [pure virtual] |
Implemented in synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
virtual String synfig::LinkableValueNode::link_name | ( | int | i | ) | const [pure virtual] |
Implemented in synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
virtual int synfig::LinkableValueNode::get_link_index_from_name | ( | const String & | name | ) | const [pure virtual] |
Implemented in synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
Implements synfig::ValueNode.
Reimplemented in synfig::ValueNode_BLine, and synfig::ValueNode_DynamicList.
bool LinkableValueNode::set_link | ( | int | i, | |
ValueNode::Handle | x | |||
) |
bool synfig::LinkableValueNode::set_link | ( | const String & | name, | |
ValueNode::Handle | x | |||
) | [inline] |
ValueNode::LooseHandle LinkableValueNode::get_link | ( | int | i | ) | const |
ValueNode::LooseHandle synfig::LinkableValueNode::get_link | ( | const String & | name | ) | const [inline] |
void synfig::LinkableValueNode::set_type | ( | ValueBase::Type | t | ) | [inline, protected] |
virtual ValueNode::LooseHandle synfig::LinkableValueNode::get_link_vfunc | ( | int | i | ) | const [protected, pure virtual] |
Implemented in synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
virtual LinkableValueNode* synfig::LinkableValueNode::create_new | ( | ) | const [protected, pure virtual] |
Implemented in synfig::ValueNode_BLine, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Reference, synfig::ValueNode_Scale, synfig::ValueNode_SegCalcTangent, synfig::ValueNode_SegCalcVertex, synfig::ValueNode_Sine, synfig::ValueNode_Stripes, synfig::ValueNode_Subtract, synfig::ValueNode_TimedSwap, and synfig::ValueNode_TwoTone.
void LinkableValueNode::get_times_vfunc | ( | Node::time_set & | set | ) | const [protected, virtual] |
Function to be overloaded that fills
Implements synfig::Node.
Reimplemented in synfig::ValueNode_DynamicList.
friend class ValueNode [friend] |