synfig::LinkableValueNode Class Reference

#include <valuenode.h>

Inheritance diagram for synfig::LinkableValueNode:

synfig::ValueNode synfig::Node synfig::ValueNode_Add synfig::ValueNode_BLineCalcTangent synfig::ValueNode_BLineCalcVertex synfig::ValueNode_Composite synfig::ValueNode_DynamicList synfig::ValueNode_Exp synfig::ValueNode_GradientRotate synfig::ValueNode_Linear synfig::ValueNode_RadialComposite synfig::ValueNode_Range synfig::ValueNode_Reference synfig::ValueNode_Repeat_Gradient synfig::ValueNode_Scale synfig::ValueNode_SegCalcTangent synfig::ValueNode_SegCalcVertex synfig::ValueNode_Sine synfig::ValueNode_Stripes synfig::ValueNode_Subtract synfig::ValueNode_TimedSwap synfig::ValueNode_TwoTone

List of all members.

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 ValueNodeclone (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 Bookbook ()
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 LinkableValueNodecreate_new () const =0
virtual void get_times_vfunc (Node::time_set &set) const

Friends

class ValueNode

Classes

struct  BookEntry


Detailed Description

Todo:
writeme

Member Typedef Documentation

typedef etl::handle<LinkableValueNode> synfig::LinkableValueNode::Handle

Reimplemented from synfig::ValueNode.

Reimplemented in synfig::ValueNode_Add, synfig::ValueNode_BLine, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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_Add, synfig::ValueNode_BLine, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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


Constructor & Destructor Documentation

synfig::LinkableValueNode::LinkableValueNode ( ValueBase::Type  type = ValueBase::TYPE_NIL  )  [inline]


Member Function Documentation

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_Add, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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_Add, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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_Add, synfig::ValueNode_BLine, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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_Add, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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_Add, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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.

ValueNode * LinkableValueNode::clone ( const GUID deriv_guid = GUID()  )  const [virtual]

Todo:
This needs to be documented further.

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]

Sets the type of the ValueNode.

Reimplemented from synfig::ValueNode.

virtual ValueNode::LooseHandle synfig::LinkableValueNode::get_link_vfunc ( int  i  )  const [protected, pure virtual]

Implemented in synfig::ValueNode_Add, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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_Add, synfig::ValueNode_BLine, synfig::ValueNode_BLineCalcTangent, synfig::ValueNode_BLineCalcVertex, synfig::ValueNode_Composite, synfig::ValueNode_DynamicList, synfig::ValueNode_Exp, synfig::ValueNode_GradientRotate, synfig::ValueNode_Linear, synfig::ValueNode_RadialComposite, synfig::ValueNode_Range, synfig::ValueNode_Reference, synfig::ValueNode_Repeat_Gradient, 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.


Friends And Related Function Documentation

friend class ValueNode [friend]


The documentation for this class was generated from the following files:
Generated on Wed Dec 12 03:11:43 2007 for synfig by  doxygen 1.5.4