Visualisierung 2
Comparison of Hue Preserving Rendering to Alpha Composing
FileReader.h File Reference

File reader functionality. More...

#include <string>

Go to the source code of this file.

Functions

std::string readFile (const std::string &filePath, size_t &error)
 readFile reads the content of a file and returns it as string. More...
 

Detailed Description

File reader functionality.

File reader helper class from Vis 1.

Author
Julian Strohmayer 01426125 e1426.nosp@m.125@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at
Patrick Gantner 01576033 e1576.nosp@m.033@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at
Date
05.06.2018

Definition in file FileReader.h.

Function Documentation

◆ readFile()

std::string readFile ( const std::string &  filePath,
size_t &  error 
)

readFile reads the content of a file and returns it as string.

Parameters
filePathlocation of the file
errorindicator bit
Returns
content of file

File reader helper class from Vis 1.

Author
Julian Strohmayer 01426125 e1426.nosp@m.125@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at
Patrick Gantner 01576033 e1576.nosp@m.033@.nosp@m.stude.nosp@m.nt.t.nosp@m.uwien.nosp@m..ac..nosp@m.at
Date
05.06.2018

Definition at line 14 of file FileReader.cpp.