Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

con/print.cpp File Reference

#include "print.h"

Go to the source code of this file.

Functions

void agent_print (const T &var)
void agent_println (const T &var)

Variables

const char prntid [] = "\100$ Free Agent: print.cpp, v 0.1 2002/05/29 red0x Exp $"


Detailed Description

File contains print functions
Include con/print.cpp when you need
console printing functions
DO NOT INCLUDE PRINT.H, IT WONT LINK
PRPOPERLY. INCLUDE PRINT.CPP ONLY!

Definition in file print.cpp.


Function Documentation

void agent_print ( const T & var )
 

(Template function) Function prints output to the console

Parameters:
var   Variable to print

Definition at line 33 of file print.cpp.

00034 {
00035     std::cout << var;
00036 }

void agent_println ( const T & var )
 

(Template function)
Function prints output to the console followed by newline

Parameters:
var   Variable to print

Definition at line 45 of file print.cpp.

00046 {
00047     std::cout << var << std::endl;
00048 }


Variable Documentation

const char prntid = "\100$ Free Agent: print.cpp, v 0.1 2002/05/29 red0x Exp $" [static]
 

Definition at line 24 of file print.cpp.


Generated at Thu May 30 15:12:33 2002 for Freeagent by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001