default:
throw Exception::BadType(ValueBase::type_local_name(get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
/* === M A C R O S ========================================================= */
-// This is a hack for GCC 3.0.4... which has a broken dynamic_cast<>
-// It is deprecated, and will be removed soon.
-#if ( __GNUC__ == 3 ) && ( __GNUC__MINOR__ == 0 )
-# define DCAST_HACK_BASECLASS() int cast__
-# define DCAST_HACK_ID(x) static const int my_cast__(void) { return x; }
-# define DCAST_HACK_ENABLE() cast__=my_cast__()
-#else
-# define DCAST_HACK_BASECLASS()
-# define DCAST_HACK_ID(x)
-# define DCAST_HACK_ENABLE()
-#endif
-
#define CHECK_TYPE_AND_SET_VALUE(variable, type) \
/* I don't think this ever happens - maybe remove this code? */ \
if (get_type() == ValueBase::TYPE_NIL) { \
void set_type(ValueBase::Type t) { type=t; }
virtual void on_changed();
-
-public:
- DCAST_HACK_BASECLASS();
- DCAST_HACK_ID(0);
}; // END of class ValueNode
/*! \class PlaceholderValueNode
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
ValueNode_Animated::ValueNode_Animated()
{
- DCAST_HACK_ENABLE();
}
int
void set_type(ValueBase::Type t);
virtual void get_times_vfunc(Node::time_set &set) const;
-public:
- DCAST_HACK_ID(4);
};
}; // END of namespace synfig
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
ValueNode_Const::ValueNode_Const()
{
- DCAST_HACK_ENABLE();
}
ValueNode (x.get_type()),
value (x)
{
- DCAST_HACK_ENABLE();
}
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
container_type (container_type),
loop_(false)
{
- DCAST_HACK_ENABLE();
}
ValueNode_DynamicList::Handle
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
{
set_link("gradient",ValueNode_Const::create(x));
set_link("offset",ValueNode_Const::create(Real(0)));
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
assert(max_->get_type()==id);
assert(link_->get_type()==id);
assert(get_type()==id);
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
assert(ref_a->get_type()==id);
assert(ref_b->get_type()==id);
assert(get_type()==id);
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
set_link("time",ValueNode_Const::create(Time(2)));
set_link("length",ValueNode_Const::create(Time(1)));
-
- DCAST_HACK_ENABLE();
}
ValueNode_TimedSwap*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*
default:
throw Exception::BadType(ValueBase::type_local_name(value.get_type()));
}
-
- DCAST_HACK_ENABLE();
}
LinkableValueNode*