#include <valuenode_switch.h>
Public Types | |
typedef etl::handle < ValueNode_Switch > | Handle |
typedef etl::handle< const ValueNode_Switch > | ConstHandle |
Public Member Functions | |
ValueNode_Switch (const ValueBase::Type &x) | |
ValueNode_Switch (const ValueNode::Handle &x) | |
virtual ValueNode::LooseHandle | get_link_vfunc (int i) const |
virtual int | link_count () const |
virtual String | link_name (int i) const |
virtual String | link_local_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 | ~ValueNode_Switch () |
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. | |
Static Public Member Functions | |
static bool | check_type (ValueBase::Type type) |
static ValueNode_Switch * | create (const ValueBase &x) |
Protected Member Functions | |
virtual bool | set_link_vfunc (int i, ValueNode::Handle x) |
LinkableValueNode * | create_new () const |
typedef etl::handle<ValueNode_Switch> synfig::ValueNode_Switch::Handle |
Reimplemented from synfig::LinkableValueNode.
typedef etl::handle<const ValueNode_Switch> synfig::ValueNode_Switch::ConstHandle |
Reimplemented from synfig::LinkableValueNode.
ValueNode_Switch::ValueNode_Switch | ( | const ValueBase::Type & | x | ) |
Referenced by create(), and create_new().
ValueNode_Switch::ValueNode_Switch | ( | const ValueNode::Handle & | x | ) |
References synfig::ValueNode_Const::create(), and synfig::LinkableValueNode::set_link().
ValueNode_Switch::~ValueNode_Switch | ( | ) | [virtual] |
References synfig::LinkableValueNode::unlink_all().
ValueNode::LooseHandle ValueNode_Switch::get_link_vfunc | ( | int | i | ) | const [virtual] |
int ValueNode_Switch::link_count | ( | ) | const [virtual] |
Implements synfig::LinkableValueNode.
Referenced by get_link_vfunc(), link_local_name(), link_name(), and set_link_vfunc().
String ValueNode_Switch::link_name | ( | int | i | ) | const [virtual] |
String ValueNode_Switch::link_local_name | ( | int | i | ) | const [virtual] |
int ValueNode_Switch::get_link_index_from_name | ( | const String & | name | ) | const [virtual] |
Implements synfig::LinkableValueNode.
String ValueNode_Switch::get_name | ( | ) | const [virtual] |
String ValueNode_Switch::get_local_name | ( | ) | const [virtual] |
bool ValueNode_Switch::set_link_vfunc | ( | int | i, | |
ValueNode::Handle | x | |||
) | [protected, virtual] |
Implements synfig::LinkableValueNode.
References CHECK_TYPE_AND_SET_VALUE, synfig::ValueNode::get_type(), link_count(), and synfig::ValueBase::TYPE_BOOL.
LinkableValueNode * ValueNode_Switch::create_new | ( | ) | const [protected, virtual] |
Implements synfig::LinkableValueNode.
References synfig::ValueNode::get_type(), and ValueNode_Switch().
bool ValueNode_Switch::check_type | ( | ValueBase::Type | type | ) | [static] |
ValueNode_Switch * ValueNode_Switch::create | ( | const ValueBase & | x | ) | [static] |
References synfig::ValueNode_Const::create(), and ValueNode_Switch().