From 4d3b9d6cf108978d2839234d15c189625a80ab9c Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Wed, 16 Jun 2010 21:27:56 +0200 Subject: [PATCH] Document node.h --- synfig-core/src/synfig/node.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/synfig-core/src/synfig/node.h b/synfig-core/src/synfig/node.h index ca5af34..6bc15fd 100644 --- a/synfig-core/src/synfig/node.h +++ b/synfig-core/src/synfig/node.h @@ -210,16 +210,22 @@ public: //! Sets the GUID for this value node void set_guid(const GUID& x); + //! Gets the time when the Node was changed int get_time_last_changed()const; + //! Adds the parameter \x as the child of the current Node void add_child(Node*x); + //! Remove the parameter \x as a child of the current Node void remove_child(Node*x); + //!Returns how many parenst has the current Node int parent_count()const; + //! Returns the cached times values for all the children const time_set &get_times() const; + //! Writeme! RWLock& get_rw_lock()const { return rw_lock_; } protected: @@ -238,7 +244,7 @@ protected: /*! Function to be overloaded that fills */ virtual void get_times_vfunc(time_set &set) const = 0; -}; +}; // End of Node class synfig::Node* find_node(const synfig::GUID& guid); -- 2.7.4