|
Jpp 21.0.0-rc.3
the software that should make you happy
|
Template class for loading and storing of objects. More...
#include <JSelector.hh>
Public Member Functions | |
| JAutoPointer () | |
| Default constructor. | |
| JAutoPointer (JDerived_t *p) | |
| Constructor. | |
| virtual std::istream & | read (std::istream &in) override |
| Stream input. | |
| virtual std::ostream & | write (std::ostream &out) const override |
| Stream output. | |
Static Private Member Functions | |
| static JDerived_t * | load (std::false_type option) |
| Load object without input. | |
| static JDerived_t * | load (std::istream &in, std::false_type option) |
| Load object without input. | |
| static JDerived_t * | load (std::istream &in, std::true_type option) |
| Load object with input. | |
| static JDerived_t * | load () |
| Load object. | |
| static JDerived_t * | load (std::istream &in) |
| Load object. | |
| static void | store (std::ostream &out, const JDerived_t *p, std::false_type option) |
| Store object without output. | |
| static void | store (std::ostream &out, const JDerived_t *p, std::true_type option) |
| Store object with output. | |
| static void | store (std::ostream &out, const T *p) |
| Store object. | |
Template class for loading and storing of objects.
This class implements the JAbstractAutoPointer interface.
Definition at line 58 of file JTools/JSelector.hh.
|
inline |
Default constructor.
Definition at line 66 of file JTools/JSelector.hh.
|
inline |
Constructor.
This class owns the pointer.
| p | pointer to object |
Definition at line 77 of file JTools/JSelector.hh.
|
inlineoverridevirtual |
Stream input.
This method creates a new object and read the corresponding input data if the redirect operator >>(isteam&) is defined for this data type.
| in | input stream |
Implements JLANG::JStreamInput.
Definition at line 92 of file JTools/JSelector.hh.
|
inlineoverridevirtual |
Stream output.
This method writes the corresponding data if the redirect operator <<(osteam&) is defined for this data type.
| out | output stream |
Implements JLANG::JStreamOutput.
Definition at line 112 of file JTools/JSelector.hh.
|
inlinestaticprivateinherited |
Load object without input.
| option | I/O option |
Definition at line 34 of file JDriver.hh.
|
inlinestaticprivateinherited |
Load object without input.
| in | input stream |
| option | I/O option |
Definition at line 47 of file JDriver.hh.
|
inlinestaticprivateinherited |
Load object with input.
| in | input stream |
| option | I/O option |
Definition at line 60 of file JDriver.hh.
|
inlinestaticinherited |
Load object.
Definition at line 110 of file JDriver.hh.
|
inlinestaticinherited |
Load object.
| in | input stream |
Definition at line 122 of file JDriver.hh.
|
inlinestaticprivateinherited |
Store object without output.
This implementation doesn't do anything.
| out | output stream |
| option | I/O option |
| p | pointer to object |
Definition at line 85 of file JDriver.hh.
|
inlinestaticprivateinherited |
Store object with output.
| out | output stream |
| option | I/O option |
| p | pointer object |
Definition at line 96 of file JDriver.hh.
|
inlinestaticinherited |
Store object.
| out | output stream |
| p | pointer to object |
Definition at line 135 of file JDriver.hh.