#include <valuenode_reciprocal.h>
Public Types | |
typedef etl::handle < ValueNode_Reciprocal > | Handle |
typedef etl::handle< const ValueNode_Reciprocal > | ConstHandle |
Public Member Functions | |
ValueNode_Reciprocal (const ValueBase &x) | |
virtual ValueBase | operator() (Time t) const |
Returns the value of the ValueNode at time t. | |
virtual | ~ValueNode_Reciprocal () |
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. | |
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 |
Static Public Member Functions | |
static bool | check_type (ValueBase::Type type) |
static ValueNode_Reciprocal * | create (const ValueBase &x) |
Protected Member Functions | |
LinkableValueNode * | create_new () const |
virtual bool | set_link_vfunc (int i, ValueNode::Handle x) |
typedef etl::handle<ValueNode_Reciprocal> synfig::ValueNode_Reciprocal::Handle |
Reimplemented from synfig::LinkableValueNode.
typedef etl::handle<const ValueNode_Reciprocal> synfig::ValueNode_Reciprocal::ConstHandle |
Reimplemented from synfig::LinkableValueNode.
ValueNode_Reciprocal::ValueNode_Reciprocal | ( | const ValueBase & | x | ) |
References synfig::ValueNode_Const::create(), synfig::ValueBase::get(), and synfig::LinkableValueNode::set_link().
Referenced by create(), and create_new().
ValueNode_Reciprocal::~ValueNode_Reciprocal | ( | ) | [virtual] |
References synfig::LinkableValueNode::unlink_all().
Returns the value of the ValueNode at time t.
Reimplemented from synfig::ValueNode.
References std::abs().
String ValueNode_Reciprocal::get_name | ( | ) | const [virtual] |
String ValueNode_Reciprocal::get_local_name | ( | ) | const [virtual] |
ValueNode::LooseHandle ValueNode_Reciprocal::get_link_vfunc | ( | int | i | ) | const [virtual] |
int ValueNode_Reciprocal::link_count | ( | ) | const [virtual] |
Implements synfig::LinkableValueNode.
Referenced by get_link_vfunc(), link_local_name(), link_name(), and set_link_vfunc().
String ValueNode_Reciprocal::link_name | ( | int | i | ) | const [virtual] |
String ValueNode_Reciprocal::link_local_name | ( | int | i | ) | const [virtual] |
int ValueNode_Reciprocal::get_link_index_from_name | ( | const String & | name | ) | const [virtual] |
Implements synfig::LinkableValueNode.
LinkableValueNode * ValueNode_Reciprocal::create_new | ( | ) | const [protected, virtual] |
Implements synfig::LinkableValueNode.
References synfig::ValueNode::get_type(), and ValueNode_Reciprocal().
bool ValueNode_Reciprocal::set_link_vfunc | ( | int | i, | |
ValueNode::Handle | x | |||
) | [protected, virtual] |
Implements synfig::LinkableValueNode.
References CHECK_TYPE_AND_SET_VALUE, link_count(), and synfig::ValueBase::TYPE_REAL.
bool ValueNode_Reciprocal::check_type | ( | ValueBase::Type | type | ) | [static] |
References synfig::ValueBase::TYPE_REAL.
ValueNode_Reciprocal * ValueNode_Reciprocal::create | ( | const ValueBase & | x | ) | [static] |
References ValueNode_Reciprocal().