synfig-core  1.0.3
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
synfig::ValueNode_Bone_Root Class Reference

#include <valuenode_bone.h>

Inheritance diagram for synfig::ValueNode_Bone_Root:
synfig::ValueNode_Bone synfig::LinkableValueNode synfig::ValueNode synfig::Node

Public Member Functions

 ValueNode_Bone_Root ()
virtual ~ValueNode_Bone_Root ()
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.
virtual String get_bone_name (Time t) const
virtual void set_guid (const GUID &new_guid)
 Sets the GUID for this Node.
virtual void set_root_canvas (etl::loose_handle< Canvas > canvas)
 Member to store the children vocabulary.
virtual int link_count () const
 Returns the number of linked Value Nodes.
virtual bool is_root () const
- Public Member Functions inherited from synfig::ValueNode_Bone
virtual ValueNode::Handle clone (etl::loose_handle< Canvas > canvas, const GUID &deriv_guid=GUID()) const
 Clones a Value Node.
virtual ~ValueNode_Bone ()
virtual ValueNode::LooseHandle get_link_vfunc (int i) const
 Virtual member to get the linked Value Node Handle.
bool have_influence_on (Time t, const Vector &x) const
virtual Vocab get_children_vocab_vfunc () const
 Pure Virtual member to get the children vocabulary.
ValueNode_Bone::LooseHandle find (String name) const
String unique_name (String name) const
ValueNode_Bone::ConstHandle is_ancestor_of (ValueNode_Bone::ConstHandle bone, Time t) const
- Public Member Functions inherited from synfig::LinkableValueNode
 LinkableValueNode (Type &type=type_nil)
 Member to store the children vocabulary.
virtual String link_local_name (int i) const
 Returns the local name of the 'i' linked Value Node.
virtual String link_name (int i) const
 Returns the name of the 'i' linked Value Node.
virtual int get_link_index_from_name (const String &name) const
 Returns the child index Value Node based on the name.
bool set_link (int i, ValueNode::Handle x)
 Sets a new Value Node link by its index.
bool set_link (const String &name, ValueNode::Handle x)
 Sets a new Value Node link by its name.
ValueNode::LooseHandle get_link (int i) const
 Returns a Loose Handle to the Value Node based on the link's index.
ValueNode::LooseHandle get_link (const String &name) const
 Returns a Loose Handle to the Value Node based on the link's name.
String get_description (int index=-1, bool show_exported_name=true) const
 Return a full description of the linked ValueNode given by the index.
String get_description (bool show_exported_name=true) const
virtual Vocab get_children_vocab () const
 Gets the children vocabulary for linkable value nodes.

Static Public Member Functions

static bool check_type (Type &type)
static ValueNode_Bonecreate (const ValueBase &x)
- Static Public Member Functions inherited from synfig::ValueNode_Bone
static ValueNode_Bonecreate (const ValueBase &x, etl::loose_handle< Canvas > canvas=0)
static void show_bone_map (etl::loose_handle< Canvas > canvas, const char *file, int line, String text, Time t=0)
static BoneMap get_bone_map (etl::handle< const Canvas > canvas)
static BoneList get_ordered_bones (etl::handle< const Canvas > canvas)
static BoneSet get_bones_referenced_by (ValueNode::Handle value_node, bool recursive=true)
static BoneSet get_bones_affected_by (ValueNode::Handle value_node)
static BoneSet get_possible_parent_bones (ValueNode::Handle value_node)
static ValueNode_Bone::Handle get_root_bone ()
- Static Public Member Functions inherited from synfig::LinkableValueNode
static Bookbook ()
static Handle create (const String &name, const ValueBase &x, etl::loose_handle< Canvas > canvas)
static bool check_type (const String &name, Type &x)
 Member to store the children vocabulary.
- Static Public Member Functions inherited from synfig::ValueNode
static bool subsys_init ()
 Instantiates the book of ValaueNodes and register all the valid valuenodes on it.
static bool subsys_stop ()
 Deletes the book of ValueNodes.
static void breakpoint ()

Protected Member Functions

LinkableValueNodecreate_new () const
 Wrapper for new operator, used by clone()
- Protected Member Functions inherited from synfig::ValueNode_Bone
 ValueNode_Bone ()
 ValueNode_Bone (const ValueBase &value, etl::loose_handle< Canvas > canvas=0)
virtual bool set_link_vfunc (int i, ValueNode::Handle x)
virtual void on_changed ()
- Protected Member Functions inherited from synfig::LinkableValueNode
void unlink_all ()
void set_type (Type &t)
 Sets the type of the ValueNode.
virtual void get_times_vfunc (Node::time_set &set) const
 Returns the cached times values for all the children (linked Value Nodes)
virtual void set_children_vocab (const Vocab &rvocab)
 Virtual memebr to set the children vocabulary to a given value.

Additional Inherited Members

- Public Types inherited from synfig::ValueNode_Bone
typedef etl::handle
< ValueNode_Bone
Handle
typedef etl::handle< const
ValueNode_Bone
ConstHandle
typedef etl::loose_handle
< ValueNode_Bone
LooseHandle
typedef std::map< synfig::GUID,
LooseHandle
BoneMap
typedef std::map
< etl::loose_handle< const
Canvas >, BoneMap
CanvasMap
typedef std::set< LooseHandleBoneSet
typedef std::list< LooseHandleBoneList
- Public Attributes inherited from synfig::Node
std::set< Node * > parent_set
- Protected Attributes inherited from synfig::LinkableValueNode
Vocab children_vocab
 Member to store the children vocabulary.

Constructor & Destructor Documentation

ValueNode_Bone_Root::ValueNode_Bone_Root ( )
ValueNode_Bone_Root::~ValueNode_Bone_Root ( )
virtual

Member Function Documentation

ValueBase ValueNode_Bone_Root::operator() ( Time  ) const
virtual

Returns the value of the ValueNode at time t.

Reimplemented from synfig::ValueNode_Bone.

References get_local_name(), synfig::Bone::set_name(), and synfig::Bone::set_parent().

String ValueNode_Bone_Root::get_name ( ) const
virtual

Returns the name of the ValueNode type.

Reimplemented from synfig::ValueNode_Bone.

String ValueNode_Bone_Root::get_local_name ( ) const
virtual

Returns the localized name of the ValueNode type.

Reimplemented from synfig::ValueNode_Bone.

References _.

Referenced by get_bone_name(), and operator()().

String ValueNode_Bone_Root::get_bone_name ( Time  t) const
virtual

Reimplemented from synfig::ValueNode_Bone.

References get_local_name().

void ValueNode_Bone_Root::set_guid ( const GUID x)
virtual

Sets the GUID for this Node.

Sets the GUID for this value node.

Reimplemented from synfig::ValueNode_Bone.

void ValueNode_Bone_Root::set_root_canvas ( etl::loose_handle< Canvas x)
virtual

Member to store the children vocabulary.

Reimplemented from synfig::ValueNode_Bone.

int ValueNode_Bone_Root::link_count ( ) const
virtual

Returns the number of linked Value Nodes.

Reimplemented from synfig::LinkableValueNode.

virtual bool synfig::ValueNode_Bone_Root::is_root ( ) const
inlinevirtual

Reimplemented from synfig::ValueNode_Bone.

LinkableValueNode * ValueNode_Bone_Root::create_new ( ) const
protectedvirtual

Wrapper for new operator, used by clone()

Reimplemented from synfig::ValueNode_Bone.

References rooot.

bool ValueNode_Bone_Root::check_type ( Type type)
static

Reimplemented from synfig::ValueNode_Bone.

ValueNode_Bone * ValueNode_Bone_Root::create ( const ValueBase x)
static

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