Child: [3872f8] (diff)

Download this file

readfile.h    14 lines (10 with data), 346 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#ifndef _READFILE_H_INCLUDED_
#define _READFILE_H_INCLUDED_
/* @(#$Id: readfile.h,v 1.1 2004-12-14 17:54:16 dockes Exp $ (C) 2004 J.F.Dockes */
#include <string>
/**
* Read whole file into string.
* @return true for ok, false else
*/
bool file_to_string(const std::string &filename, std::string &data);
#endif /* _READFILE_H_INCLUDED_ */