Jpp
15.0.1
the software that should make you happy
|
Auxiliary class to handle input from file. More...
#include <JProperties.hh>
Public Member Functions | |
JFileReader (JProperties &__properties) | |
JFileReader & | operator= (const std::string &file_name) |
Assignment operator. More... | |
Private Member Functions | |
void | read (const std::string &file_name) |
Read properties from file. More... | |
Private Attributes | |
JProperties & | properties |
Friends | |
std::istream & | operator>> (std::istream &in, JProperties::JFileReader &fileReader) |
Stream input. More... | |
std::ostream & | operator<< (std::ostream &out, const JProperties::JFileReader &fileReader) |
Stream output. More... | |
Auxiliary class to handle input from file.
The assignment of a value will cause the file with the corresponding name to be opened and read. The contents of the file are processed in the same way as any input to the associated JProperties object.
Definition at line 534 of file JProperties.hh.
|
inline |
Definition at line 536 of file JProperties.hh.
|
inline |
Assignment operator.
file_name | file name |
Definition at line 547 of file JProperties.hh.
|
inlineprivate |
Read properties from file.
file_name | file name |
Definition at line 593 of file JProperties.hh.
|
friend |
Stream input.
in | input stream |
fileReader | file reader object |
Definition at line 562 of file JProperties.hh.
|
friend |
Stream output.
out | output stream |
fileReader | file reader |
Definition at line 581 of file JProperties.hh.
|
private |
Definition at line 611 of file JProperties.hh.