Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

haio.h File Reference

#include <stdio.h>
#include <iostream>
#include <fstream>
#include <strstream>
#include <iomanip>
#include <dirent.h>

Go to the source code of this file.

Classes

class  SplitOstream

Typedefs

typedef ostream ostream_withassign

Functions

bool find_line_in_file (FILE *fp, const char *str_comp, char *cur_line, const int len, const bool rew=false)
int ErrorMessage (const char *str)
 Print error message.

int PrintMessage (const char *str)
 Print Message to a standard output and control window on HARLEM panel.

int copy_file (const char *src, const char *tgt, const int mode=0)
 copy file named src to file named tgt

int delete_file (const char *fname)
 delete file with the name fname

void RedirectIOToConsole ()
 Set STDOUT (standart output channel) to Console.

int RedirectIOToFile (const char *fname)
 Redirect STDOUT (standart output channel) to file.

int RestoreIOToConsole ()
 Restore STDOUT to console that been redirected by RedirectIOToFile().

int PrintLog (const char *str,...)
 HARLEM standard function to print info into STDOUT (syntaxis as in printf).

int ErrorInMod (const char *module, const char *msg)
 HARLEM standard function to print info about error in function.


Detailed Description

Include Files for standard C++ and C IO libraries

Author:
Igor Kurnikov
Date:
1997-2002

Generated on Tue Feb 17 02:03:09 2004 for harlem by doxygen 1.3.6