#include <tdyn.h>
Inheritance diagram for tdyn:
Public Member Functions | |
tdyn (hbpfp the_hbpfp=new_hydrobase, sbpfp the_sbpfp=new_starbase, bool use_stories=true) | |
virtual | ~tdyn () |
void | set_time (const xreal t) |
xreal | get_time () |
void | clear_jerk () |
void | set_jerk (const vec &j) |
vec | get_jerk () |
void | set_prev (tdyn *p) |
tdyn * | get_prev () |
void | set_next (tdyn *p) |
tdyn * | get_next () |
bool | is_defunct () |
tdyn * | get_parent () |
tdyn * | get_oldest_daughter () |
tdyn * | get_younger_sister () |
tdyn * | get_elder_sister () |
tdyn * | get_root () |
Set or find the root node pointer. | |
tdyn * | get_top_level_node () |
Return the top-level node of this node. | |
tdyn * | get_binary_sister () |
Find the binary sister of this node. | |
virtual istream & | scan_dyn_story (istream &) |
Read the dyn story from a stream. | |
virtual bool | check_and_correct_node (bool verbose=true) |
Repair tree structure. | |
virtual ostream & | print_dyn_story (ostream &s, bool print_xreal=true, int short_output=0) |
Write the dyn story to a stream. | |
Protected Attributes | |
xreal | time |
vec | jerk |
tdyn * | prev |
Previous instance of this node. | |
tdyn * | next |
Next instance of this node. | |
bool | defunct |
Node has been terminated. |
Definition at line 27 of file tdyn.h.