Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

tree_io.C File Reference

#include "starlab_vector.h"
#include "util_io.h"
#include "story.h"
#include "node.h"
#include <string.h>

Go to the source code of this file.

Defines

#define BUF_SIZE   1024

Functions

bool node_contains (node *b, int i)
bool node_contains (node *b, char *s)
bool clump_contains (node *b, int i)
bool clump_contains (node *b, char *s)
void pp (node *b, ostream &s)
void pp2 (node *b, ostream &s, int level)
local node* get_node_recursive (istream &s, npfp the_npfp, hbpfp the_hbpfp, sbpfp the_sbpfp, bool use_stories, int level)
local node* get_node_init (istream &s, npfp the_npfp, hbpfp the_hbpfp, sbpfp the_sbpfp, bool use_stories)
local void put_node_body (ostream &s, node &b, bool print_xreal=true, int short_output=0)
local void put_node_recursive (ostream &s, node &b, bool print_xreal=true, int short_output=0)
void put_single_node (ostream &s, node &b, bool print_xreal, int short_output)
node* get_node (istream &s, npfp the_npfp, hbpfp the_hbpfp, sbpfp the_sbpfp, bool use_stories)
void put_node (ostream &s, node &b, bool print_xreal, int short_output)
local void forget_node_recursive (istream &s)
bool forget_node (istream &s)


Define Documentation

#define BUF_SIZE   1024
 

Definition at line 93 of file tree_io.C.


Function Documentation

bool clump_contains ( node * b,
char * s )
 

Definition at line 165 of file tree_io.C.

bool clump_contains ( node * b,
int i )
 

Definition at line 160 of file tree_io.C.

bool forget_node ( istream & s )
 

Definition at line 458 of file tree_io.C.

Referenced by main().

local void forget_node_recursive ( istream & s )
 

Definition at line 440 of file tree_io.C.

Referenced by forget_node().

node* get_node ( istream & s,
npfp the_npfp,
hbpfp the_hbpfp,
sbpfp the_sbpfp,
bool use_stories )
 

Definition at line 394 of file tree_io.C.

Referenced by TRUE(), and main().

local node* get_node_init ( istream & s,
npfp the_npfp,
hbpfp the_hbpfp,
sbpfp the_sbpfp,
bool use_stories )
 

Definition at line 292 of file tree_io.C.

Referenced by get_node().

local node* get_node_recursive ( istream & s,
npfp the_npfp,
hbpfp the_hbpfp,
sbpfp the_sbpfp,
bool use_stories,
int level )
 

Definition at line 222 of file tree_io.C.

Referenced by get_node_init().

bool node_contains ( node * b,
char * s )
 

Definition at line 147 of file tree_io.C.

Referenced by clump_contains().

bool node_contains ( node * b,
int i )
 

Definition at line 134 of file tree_io.C.

void pp ( node * b,
ostream & s )
 

Definition at line 204 of file tree_io.C.

Referenced by check_kira_runtime(), find_and_make_tuple(), mkscat(), and pp().

void pp2 ( node * b,
ostream & s,
int level )
 

Definition at line 213 of file tree_io.C.

Referenced by combine_top_level_nodes(), and split_top_level_node().

void put_node ( ostream & s,
node & b,
bool print_xreal,
int short_output )
 

Definition at line 419 of file tree_io.C.

Referenced by KICK_VELOCITY(), TRUE(), combine_low_level_nodes(), combine_top_level_nodes(), dump_to_file(), evolve_stars(), evolve_system(), hw_err_exit(), low_n3_evolve(), low_n_evolve(), main(), scatter3(), snap_output(), and split_top_level_node().

local void put_node_body ( ostream & s,
node & b,
bool print_xreal = true,
int short_output = 0 ) [inline]
 

Definition at line 310 of file tree_io.C.

Referenced by put_node_recursive(), and put_single_node().

local void put_node_recursive ( ostream & s,
node & b,
bool print_xreal = true,
int short_output = 0 ) [inline]
 

Definition at line 362 of file tree_io.C.

Referenced by put_node().

void put_single_node ( ostream & s,
node & b,
bool print_xreal,
int short_output )
 

Definition at line 379 of file tree_io.C.


Generated at Sun Feb 24 09:57:32 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001