Cutout Vis2012
TUWienVisualisierung2(SS2012)-AdaptiveCutaways
|
Functions | |
bool | fileExists (const std::string &path) |
bool | readFile (const std::string &path, std::string *buffer) |
Provides generic file functions
bool fileutil::fileExists | ( | const std::string & | path) |
Returns true iff the file path
exists
path | relative or absolute name of a file |
bool fileutil::readFile | ( | const std::string & | path, |
std::string * | buffer | ||
) |
Reads all contents of path
and store into buffer
.
[in] | path | relative or absolute name of a text file |
[out] | buffer | contents of the file will be output here |