|
Jpp
16.0.1
the software that should make you happy
|
Auxiliary wrapper for I/O of container with optional comment (see JComment). More...
#include <JContainer.hh>
Public Types | |
| typedef JContainer_t | container_type |
Public Member Functions | |
| void | load (const char *file_name) |
| Load from input file. More... | |
| void | store (const char *file_name) const |
| Store to output file. More... | |
Public Attributes | |
| JComment | comment |
Friends | |
| std::istream & | operator>> (std::istream &in, JContainer &container) |
| Read container from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JContainer &container) |
| Write container to output. More... | |
Auxiliary wrapper for I/O of container with optional comment (see JComment).
When used in conjunction with the command line parser JPARSER::JParser,
the value at the corresponding option can contain data or be the name of a file.
The I/O of the actual container is handled via the auxiliary methods that are part of JStreamToolkit.hh.
Definition at line 39 of file JContainer.hh.
| typedef JContainer_t JEEP::JContainer< JContainer_t >::container_type |
Definition at line 43 of file JContainer.hh.
|
inlineinherited |
Load from input file.
| file_name | file name |
Definition at line 30 of file JObjectStreamIO.hh.
|
inlineinherited |
Store to output file.
| file_name | file name |
Definition at line 41 of file JObjectStreamIO.hh.
|
friend |
Read container from input.
| in | input stream |
| container | container |
Definition at line 53 of file JContainer.hh.
|
friend |
Write container to output.
| out | output stream |
| container | container |
Definition at line 78 of file JContainer.hh.
| JComment JEEP::JContainer< JContainer_t >::comment |
Definition at line 90 of file JContainer.hh.
1.8.5