Template class for I/O of properties element.
More...
#include <JProperties.hh>
template<class T>
class JEEP::JPropertiesTemplateElement< T >
Template class for I/O of properties element.
This class implements the JPropertiesElementInterface interface.
Definition at line 110 of file JProperties.hh.
◆ JPropertiesTemplateElement()
Constructor.
- Parameters
-
value | reference of template object |
Definition at line 122 of file JProperties.hh.
Interface for I/O of properties element.
◆ read()
Stream input.
- Parameters
-
- Returns
- input stream
Implements JLANG::JStreamInput.
Definition at line 134 of file JProperties.hh.
144 if (!buffer.empty()) {
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Exception when parsing a value.
std::istream & readObject(std::istream &in, T &object)
Stream input of object.
◆ write() [1/3]
Stream output.
- Parameters
-
out | output stream |
prefix | prefix |
postfix | postfix |
- Returns
- output stream
Implements JLANG::JStreamSuffixOutput.
Definition at line 160 of file JProperties.hh.
std::ostream & writeObject(std::ostream &out, const T &object)
Stream output of object.
◆ write() [2/3]
◆ equals()
Equality between property element interfaces.
- Parameters
-
element | properties element interface |
- Returns
- true if equal; else false
Reimplemented from JEEP::JPropertiesElementInterface.
Definition at line 186 of file JProperties.hh.
Template class for I/O of properties element.
bool compareObjects(const T &first, const T &second, JBool< true >)
Comparison of comparable objects.
◆ is_properties()
virtual bool JEEP::JPropertiesElementInterface::is_properties |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ write() [3/3]
virtual std::ostream& JLANG::JStreamOutput::write |
|
inherited |
Stream output.
- Parameters
-
- Returns
- output stream
◆ JPropertiesElement
◆ object
The documentation for this class was generated from the following file: