Jpp
|
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 522 of file JProperties.hh.
|
inline |
Definition at line 524 of file JProperties.hh.
|
inline |
Assignment operator.
file_name | file name |
Definition at line 535 of file JProperties.hh.
|
inlineprivate |
Read properties from file.
file_name | file name |
Definition at line 581 of file JProperties.hh.
|
friend |
Stream input.
in | input stream |
fileReader | file reader object |
Definition at line 550 of file JProperties.hh.
|
friend |
Stream output.
out | output stream |
fileReader | file reader |
Definition at line 569 of file JProperties.hh.
|
private |
Definition at line 599 of file JProperties.hh.