Jpp 19.3.0-rc.1
the software that should make you happy
|
Data structure for object properties which require reloading whenever the property is reread. More...
#include <JLoadProperty.hh>
Public Types | |
typedef JLoadProperty< JLoadableObject_t, T > | JLoadProperty_t |
Public Member Functions | |
JLoadProperty (JLoadableObject_t &object) | |
Constructor. | |
JLoadProperty (JLoadableObject_t &object, const T &value) | |
Constructor. | |
std::istream & | read (std::istream &in) |
Read property from input. | |
JLoadProperty_t & | operator= (const T &buffer) |
Assignment operator. | |
Private Attributes | |
JLoadableObject_t & | object |
Friends | |
std::istream & | operator>> (std::istream &in, JLoadProperty &property) |
Input stream. | |
std::ostream & | operator<< (std::ostream &out, const JLoadProperty &property) |
Output stream. | |
Data structure for object properties which require reloading whenever the property is reread.
The first template parameter refers to the loadable object.
This object needs to have an implementation of the method void load()
. The second template parameter refers to the property type.
Definition at line 26 of file JLoadProperty.hh.
JLoadProperty<JLoadableObject_t, T> JLANG::JLoadProperty< JLoadableObject_t, T >::JLoadProperty_t |
Definition at line 31 of file JLoadProperty.hh.
|
inline |
Constructor.
object | pointer to loadable object |
Definition at line 39 of file JLoadProperty.hh.
|
inline |
Constructor.
object | pointer to loadable object |
value | property value |
Definition at line 51 of file JLoadProperty.hh.
|
inline |
Read property from input.
in | input stream. |
Definition at line 64 of file JLoadProperty.hh.
|
inline |
Assignment operator.
buffer | buffer |
Definition at line 80 of file JLoadProperty.hh.
|
friend |
Input stream.
in | input stream |
property | property |
Definition at line 95 of file JLoadProperty.hh.
|
friend |
Output stream.
out | output stream |
property | property |
Definition at line 108 of file JLoadProperty.hh.
|
private |
Definition at line 116 of file JLoadProperty.hh.