synfig-core  1.0.3
valuenode_realstring.h
Go to the documentation of this file.
1 /* === S Y N F I G ========================================================= */
23 /* ========================================================================= */
24 
25 /* === S T A R T =========================================================== */
26 
27 #ifndef __SYNFIG_VALUENODE_REALSTRING_H
28 #define __SYNFIG_VALUENODE_REALSTRING_H
29 
30 /* === H E A D E R S ======================================================= */
31 
32 #include <synfig/valuenode.h>
33 
34 /* === M A C R O S ========================================================= */
35 
36 /* === C L A S S E S & S T R U C T S ======================================= */
37 
38 namespace synfig {
39 
41 {
42  ValueNode::RHandle real_;
43  ValueNode::RHandle width_;
44  ValueNode::RHandle precision_;
45  ValueNode::RHandle zero_pad_;
46 
47  ValueNode_RealString(const ValueBase &value);
48 
49 public:
50 
51  typedef etl::handle<ValueNode_RealString> Handle;
52  typedef etl::handle<const ValueNode_RealString> ConstHandle;
53 
54 
55  virtual ValueBase operator()(Time t)const;
56 
57  virtual ~ValueNode_RealString();
58 
59  virtual String get_name()const;
60  virtual String get_local_name()const;
61 
62  virtual ValueNode::LooseHandle get_link_vfunc(int i)const;
63 
64 protected:
66  virtual bool set_link_vfunc(int i,ValueNode::Handle x);
67 
68 public:
70 
72  static bool check_type(Type &type);
73  static ValueNode_RealString* create(const ValueBase &x);
74  virtual Vocab get_children_vocab_vfunc()const;
75 }; // END of class ValueNode_RealString
76 
77 }; // END of namespace synfig
78 
79 /* === E N D =============================================================== */
80 
81 #endif