Next: Method of use
Up: Inform
Previous: Internal data structures
- void on(int) - set the object to be on or off.
- int on(void) - return the current on/off status.
- output_level(int) - set the current output level.
- int output_level(void) - return current output level of the
Inform object.
- msg_level(int) - set the current level of the next message
to be printed.
- int msg_level(void) - return the current message output level.
- void need_newline(int) - set the current flag for whether a
newline is needed or not.
- int need_newline(void) - return current newline print status.
- void destination(ostream *) - give the provided destination
stream to the Inform object as a place where to print messages.
- ostream *destination(void) - return destination to where
messages will be printed.
- send(void) - prints the contents of the current message buffer
to the destination stream, if necessary.
- operator<<(various types) - overloaded insertion operators
which are used to put data into the current message buffer. These are
used just like regular stream insertion operators, and when the message
is complete, either the routine send should be called, or else
the sendmsg manipulator should be inserted into the stream. Newline
characters may be put in the stream, Inform will print out each
newline-separated line with the proper prefix.
Justin Gullingsrud
Tue Apr 6 09:26:48 CDT 1999