Jpp 19.3.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
JEEP::JPropertiesTemplateElement< JProperties::JFileReader > Class Reference

Template specialisation for JFileReader. More...

#include <JProperties.hh>

Inheritance diagram for JEEP::JPropertiesTemplateElement< JProperties::JFileReader >:
JEEP::JPropertiesElementInterface JLANG::JStreamInput JLANG::JStreamOutput JLANG::JStreamSuffixOutput

Public Member Functions

 JPropertiesTemplateElement (JProperties::JFileReader &value)
 Constructor.
 
virtual std::istream & read (std::istream &in) override
 Stream input.
 
virtual std::ostream & write (std::ostream &out, const char *prefix, const char postfix) const override
 Stream output.
 
virtual std::ostream & write (std::ostream &out) const override
 Stream output.
 
virtual bool equals (const JPropertiesElementInterface &element) const override
 Equality between property element interfaces.
 
virtual bool is_properties () const
 Get properties type.
 

Private Attributes

JProperties::JFileReaderobject
 

Detailed Description

Template specialisation for JFileReader.

This class will not produce ASCII output.

Definition at line 1086 of file JProperties.hh.

Constructor & Destructor Documentation

◆ JPropertiesTemplateElement()

Constructor.

Parameters
valuereference of template bject

Definition at line 1095 of file JProperties.hh.

1095 :
1096 JPropertiesElementInterface(),
1097 object(value)
1098 {}

Member Function Documentation

◆ read()

virtual std::istream & JEEP::JPropertiesTemplateElement< JProperties::JFileReader >::read ( std::istream & in)
inlineoverridevirtual

Stream input.

Parameters
ininput stream
Returns
input stream

Implements JLANG::JStreamInput.

Definition at line 1107 of file JProperties.hh.

1108 {
1109 return in >> object;
1110 }

◆ write() [1/2]

virtual std::ostream & JEEP::JPropertiesTemplateElement< JProperties::JFileReader >::write ( std::ostream & out,
const char * prefix,
const char postfix ) const
inlineoverridevirtual

Stream output.

Parameters
outoutput stream
prefixprefix
postfixpostfix
Returns
output stream

Reimplemented from JEEP::JPropertiesElementInterface.

Definition at line 1121 of file JProperties.hh.

1124 {
1125 return out;
1126 }

◆ write() [2/2]

virtual std::ostream & JEEP::JPropertiesTemplateElement< JProperties::JFileReader >::write ( std::ostream & out) const
inlineoverridevirtual

Stream output.

Parameters
outoutput stream
Returns
output stream

Reimplemented from JEEP::JPropertiesElementInterface.

Definition at line 1135 of file JProperties.hh.

1136 {
1137 return out;
1138 }

◆ equals()

virtual bool JEEP::JPropertiesTemplateElement< JProperties::JFileReader >::equals ( const JPropertiesElementInterface & element) const
inlineoverridevirtual

Equality between property element interfaces.

Parameters
elementproperties element interface
Returns
true if equal; else false

Reimplemented from JEEP::JPropertiesElementInterface.

Definition at line 1147 of file JProperties.hh.

1148 {
1149 return false;
1150 }

◆ is_properties()

virtual bool JEEP::JPropertiesElementInterface::is_properties ( ) const
inlinevirtualinherited

Get properties type.

Returns
false

Reimplemented in JEEP::JPropertiesTemplateElement< JProperties >.

Definition at line 82 of file JProperties.hh.

83 {
84 return false;
85 }

Member Data Documentation

◆ object


The documentation for this class was generated from the following file: