From: Carlos Lopez Date: Wed, 16 Jun 2010 19:27:56 +0000 (+0200) Subject: Document node.h X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4d3b9d6cf108978d2839234d15c189625a80ab9c;p=synfig.git Document node.h --- 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);