synfig::LinkableValueNode Class Reference

#include <valuenode.h>

Inheritance diagram for synfig::LinkableValueNode:

synfig::ValueNode synfig::Node synfig::ValueNode_Add synfig::ValueNode_And synfig::ValueNode_AngleString synfig::ValueNode_Atan2 synfig::ValueNode_BLineCalcTangent synfig::ValueNode_BLineCalcVertex synfig::ValueNode_BLineCalcWidth synfig::ValueNode_BLineRevTangent synfig::ValueNode_Compare synfig::ValueNode_Composite synfig::ValueNode_Cos synfig::ValueNode_DotProduct synfig::ValueNode_Duplicate synfig::ValueNode_DynamicList synfig::ValueNode_Exp synfig::ValueNode_GradientColor synfig::ValueNode_GradientRotate synfig::ValueNode_Integer synfig::ValueNode_IntString synfig::ValueNode_Join synfig::ValueNode_Linear synfig::ValueNode_Logarithm synfig::ValueNode_Not synfig::ValueNode_Or synfig::ValueNode_Pow synfig::ValueNode_RadialComposite synfig::ValueNode_Random synfig::ValueNode_Range synfig::ValueNode_RealString synfig::ValueNode_Reciprocal synfig::ValueNode_Reference synfig::ValueNode_Repeat_Gradient synfig::ValueNode_Scale synfig::ValueNode_SegCalcTangent synfig::ValueNode_SegCalcVertex synfig::ValueNode_Sine synfig::ValueNode_Step synfig::ValueNode_Stripes synfig::ValueNode_Subtract synfig::ValueNode_Switch synfig::ValueNode_TimedSwap synfig::ValueNode_TimeLoop synfig::ValueNode_TimeString synfig::ValueNode_TwoTone synfig::ValueNode_VectorAngle synfig::ValueNode_VectorLength synfig::ValueNode_VectorX synfig::ValueNode_VectorY

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
String get_description (int index=-1, bool show_exported_name=true) 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

Reimplemented from synfig::ValueNode.

Reimplemented from synfig::ValueNode.

Type that represents a pointer to a ValueNode's constructor.


Constructor & Destructor Documentation

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


Member Function Documentation

LinkableValueNode::Book & LinkableValueNode::book (  )  [static]

References book_.

Referenced by check_type(), create(), and process_global_flags().

LinkableValueNode::Handle LinkableValueNode::create ( const String name,
const ValueBase x 
) [static]

bool LinkableValueNode::check_type ( const String name,
ValueBase::Type  x 
) [static]

References book().

Referenced by create().

virtual bool synfig::LinkableValueNode::set_link_vfunc ( int  i,
ValueNode::Handle  x 
) [protected, pure virtual]

void LinkableValueNode::unlink_all (  )  [protected]

References get_link(), and link_count().

Referenced by synfig::ValueNode_Add::~ValueNode_Add(), synfig::ValueNode_And::~ValueNode_And(), synfig::ValueNode_AngleString::~ValueNode_AngleString(), synfig::ValueNode_Atan2::~ValueNode_Atan2(), synfig::ValueNode_BLineCalcTangent::~ValueNode_BLineCalcTangent(), synfig::ValueNode_BLineCalcVertex::~ValueNode_BLineCalcVertex(), synfig::ValueNode_BLineCalcWidth::~ValueNode_BLineCalcWidth(), synfig::ValueNode_BLineRevTangent::~ValueNode_BLineRevTangent(), synfig::ValueNode_Compare::~ValueNode_Compare(), synfig::ValueNode_Composite::~ValueNode_Composite(), synfig::ValueNode_Cos::~ValueNode_Cos(), synfig::ValueNode_DotProduct::~ValueNode_DotProduct(), synfig::ValueNode_Duplicate::~ValueNode_Duplicate(), synfig::ValueNode_DynamicList::~ValueNode_DynamicList(), synfig::ValueNode_Exp::~ValueNode_Exp(), synfig::ValueNode_GradientColor::~ValueNode_GradientColor(), synfig::ValueNode_GradientRotate::~ValueNode_GradientRotate(), synfig::ValueNode_Integer::~ValueNode_Integer(), synfig::ValueNode_IntString::~ValueNode_IntString(), synfig::ValueNode_Join::~ValueNode_Join(), synfig::ValueNode_Linear::~ValueNode_Linear(), synfig::ValueNode_Logarithm::~ValueNode_Logarithm(), synfig::ValueNode_Not::~ValueNode_Not(), synfig::ValueNode_Or::~ValueNode_Or(), synfig::ValueNode_Pow::~ValueNode_Pow(), synfig::ValueNode_RadialComposite::~ValueNode_RadialComposite(), synfig::ValueNode_Random::~ValueNode_Random(), synfig::ValueNode_Range::~ValueNode_Range(), synfig::ValueNode_RealString::~ValueNode_RealString(), synfig::ValueNode_Reciprocal::~ValueNode_Reciprocal(), synfig::ValueNode_Reference::~ValueNode_Reference(), synfig::ValueNode_Repeat_Gradient::~ValueNode_Repeat_Gradient(), synfig::ValueNode_Scale::~ValueNode_Scale(), synfig::ValueNode_SegCalcTangent::~ValueNode_SegCalcTangent(), synfig::ValueNode_SegCalcVertex::~ValueNode_SegCalcVertex(), synfig::ValueNode_Sine::~ValueNode_Sine(), synfig::ValueNode_Step::~ValueNode_Step(), synfig::ValueNode_Stripes::~ValueNode_Stripes(), synfig::ValueNode_Subtract::~ValueNode_Subtract(), synfig::ValueNode_Switch::~ValueNode_Switch(), synfig::ValueNode_TimedSwap::~ValueNode_TimedSwap(), synfig::ValueNode_TimeLoop::~ValueNode_TimeLoop(), synfig::ValueNode_TimeString::~ValueNode_TimeString(), synfig::ValueNode_TwoTone::~ValueNode_TwoTone(), synfig::ValueNode_VectorAngle::~ValueNode_VectorAngle(), synfig::ValueNode_VectorLength::~ValueNode_VectorLength(), synfig::ValueNode_VectorX::~ValueNode_VectorX(), and synfig::ValueNode_VectorY::~ValueNode_VectorY().

virtual int synfig::LinkableValueNode::link_count (  )  const [pure virtual]

virtual String synfig::LinkableValueNode::link_local_name ( int  i  )  const [pure virtual]

virtual String synfig::LinkableValueNode::link_name ( int  i  )  const [pure virtual]

virtual int synfig::LinkableValueNode::get_link_index_from_name ( const String name  )  const [pure virtual]

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

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]

String LinkableValueNode::get_description ( int  index = -1,
bool  show_exported_name = true 
) const

void synfig::LinkableValueNode::set_type ( ValueBase::Type  t  )  [inline, protected]

Sets the type of the ValueNode.

Reimplemented from synfig::ValueNode.

References synfig::ValueNode::set_type().

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

virtual LinkableValueNode* synfig::LinkableValueNode::create_new (  )  const [protected, pure virtual]

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.

References get_link(), and link_count().


Friends And Related Function Documentation

friend class ValueNode [friend]


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

Generated on Fri Jul 31 00:02:00 2009 for synfig-core by  doxygen 1.5.6