Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

sofar_story.C File Reference

#include "story.h"

Go to the source code of this file.

Functions

int is_chapter (story *s)
int is_chapter_begin_line (char *line)
int is_chapter_end_line (char *line)
int get_story_line (istream &str, char *line)
void add_daughter_story (story *s, story *d)
void add_chapter (story *s, story *chap)
void rm_daughter_story (story *s, story *d)
story* mk_story_line ()
story* mk_story_line (char *line)
story* mk_story_chapter ()
story* mk_story_chapter (char *title)
void add_story_line (story *s, char *line)
story* get_chapter (istream &str, char *line)
story* get_story (istream &str, char *line)
story* get_story (istream &str)
void put_headline (ostream &str, story &s)
void put_tailline (ostream &str, story &s)
void put_line_text (ostream &str, story &s)
void put_chapter (ostream &str, story &s)
void put_story_contents (ostream &str, story &s)
void put_story (ostream &str, story &s)
ostream& operator<< (ostream &s, story *sptr)
istream& operator>> (istream &s, story *&sptr)


Function Documentation

void add_chapter ( story * s,
story * chap )
 

Definition at line 67 of file sofar_story.C.

void add_daughter_story ( story * s,
story * d )
 

Definition at line 52 of file sofar_story.C.

void add_story_line ( story * s,
char * line )
 

Definition at line 118 of file sofar_story.C.

story* get_chapter ( istream & str,
char * line )
 

Definition at line 127 of file sofar_story.C.

story* get_story ( istream & str )
 

Definition at line 166 of file sofar_story.C.

story* get_story ( istream & str,
char * line )
 

Definition at line 164 of file sofar_story.C.

int get_story_line ( istream & str,
char * line )
 

Definition at line 35 of file sofar_story.C.

int is_chapter ( story * s )
 

Definition at line 20 of file sofar_story.C.

int is_chapter_begin_line ( char * line )
 

Definition at line 25 of file sofar_story.C.

int is_chapter_end_line ( char * line )
 

Definition at line 30 of file sofar_story.C.

story* mk_story_chapter ( char * title )
 

Definition at line 111 of file sofar_story.C.

story* mk_story_chapter ( )
 

Definition at line 109 of file sofar_story.C.

Referenced by get_chapter().

story* mk_story_line ( char * line )
 

Definition at line 102 of file sofar_story.C.

story* mk_story_line ( )
 

Definition at line 100 of file sofar_story.C.

Referenced by add_story_line().

ostream& operator<< ( ostream & s,
story * sptr )
 

Definition at line 241 of file sofar_story.C.

istream& operator>> ( istream & s,
story *& sptr )
 

Definition at line 244 of file sofar_story.C.

void put_chapter ( ostream & str,
story & s )
 

Definition at line 197 of file sofar_story.C.

void put_headline ( ostream & str,
story & s )
 

Definition at line 182 of file sofar_story.C.

void put_line_text ( ostream & str,
story & s )
 

Definition at line 192 of file sofar_story.C.

void put_story ( ostream & str,
story & s )
 

Definition at line 236 of file sofar_story.C.

void put_story_contents ( ostream & str,
story & s )
 

Definition at line 218 of file sofar_story.C.

void put_tailline ( ostream & str,
story & s )
 

Definition at line 187 of file sofar_story.C.

void rm_daughter_story ( story * s,
story * d )
 

Definition at line 75 of file sofar_story.C.


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