#include <valuenode_twotone.h>
Public Types | |
typedef etl::handle < ValueNode_TwoTone > | Handle |
typedef etl::handle< const ValueNode_TwoTone > | ConstHandle |
Public Member Functions | |
virtual | ~ValueNode_TwoTone () |
bool | set_lhs (ValueNode::Handle a) |
Sets the left-hand-side value_node. | |
ValueNode::Handle | get_lhs () const |
Gets the left-hand-side value_node. | |
bool | set_rhs (ValueNode::Handle b) |
Sets the right-hand-side value_node. | |
ValueNode::Handle | get_rhs () const |
Gets the right-hand-side value_node. | |
virtual bool | set_link_vfunc (int i, ValueNode::Handle x) |
virtual ValueNode::LooseHandle | get_link_vfunc (int i) const |
virtual int | link_count () const |
virtual String | link_local_name (int i) const |
virtual String | link_name (int i) const |
virtual int | get_link_index_from_name (const String &name) const |
virtual ValueBase | operator() (Time t) const |
Returns the value of the ValueNode at time t. | |
virtual String | get_name () const |
Returns the name of the ValueNode type. | |
virtual String | get_local_name () const |
Returns the localized name of the ValueNode type. | |
LinkableValueNode * | create_new () const |
Static Public Member Functions | |
static bool | check_type (ValueBase::Type type) |
static ValueNode_TwoTone * | create (const ValueBase &x=ValueBase::TYPE_GRADIENT) |
Protected Member Functions | |
ValueNode_TwoTone () |
typedef etl::handle<ValueNode_TwoTone> synfig::ValueNode_TwoTone::Handle |
Reimplemented from synfig::LinkableValueNode.
typedef etl::handle<const ValueNode_TwoTone> synfig::ValueNode_TwoTone::ConstHandle |
Reimplemented from synfig::LinkableValueNode.
synfig::ValueNode_TwoTone::ValueNode_TwoTone | ( | ) | [protected] |
synfig::ValueNode_TwoTone::~ValueNode_TwoTone | ( | ) | [virtual] |
bool synfig::ValueNode_TwoTone::set_lhs | ( | ValueNode::Handle | a | ) |
Sets the left-hand-side value_node.
ValueNode::Handle synfig::ValueNode_TwoTone::get_lhs | ( | ) | const [inline] |
Gets the left-hand-side value_node.
bool synfig::ValueNode_TwoTone::set_rhs | ( | ValueNode::Handle | b | ) |
Sets the right-hand-side value_node.
ValueNode::Handle synfig::ValueNode_TwoTone::get_rhs | ( | ) | const [inline] |
Gets the right-hand-side value_node.
bool ValueNode_TwoTone::set_link_vfunc | ( | int | i, | |
ValueNode::Handle | x | |||
) | [virtual] |
Implements synfig::LinkableValueNode.
ValueNode::LooseHandle ValueNode_TwoTone::get_link_vfunc | ( | int | i | ) | const [virtual] |
Implements synfig::LinkableValueNode.
int ValueNode_TwoTone::link_count | ( | ) | const [virtual] |
Implements synfig::LinkableValueNode.
String ValueNode_TwoTone::link_local_name | ( | int | i | ) | const [virtual] |
Implements synfig::LinkableValueNode.
String ValueNode_TwoTone::link_name | ( | int | i | ) | const [virtual] |
Implements synfig::LinkableValueNode.
int ValueNode_TwoTone::get_link_index_from_name | ( | const String & | name | ) | const [virtual] |
Implements synfig::LinkableValueNode.
synfig::ValueBase synfig::ValueNode_TwoTone::operator() | ( | Time | ) | const [virtual] |
String ValueNode_TwoTone::get_name | ( | ) | const [virtual] |
String ValueNode_TwoTone::get_local_name | ( | ) | const [virtual] |
LinkableValueNode * ValueNode_TwoTone::create_new | ( | ) | const [virtual] |
Implements synfig::LinkableValueNode.
bool ValueNode_TwoTone::check_type | ( | ValueBase::Type | type | ) | [static] |
ValueNode_TwoTone * ValueNode_TwoTone::create | ( | const ValueBase & | x = ValueBase::TYPE_GRADIENT |
) | [static] |