Jpp  master_rocky-40-g5f0272dcd
the software that should make you happy
Public Member Functions | Private Attributes | List of all members
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. More...
 
virtual std::istream & read (std::istream &in) override
 Stream input. More...
 
virtual std::ostream & write (std::ostream &out, const char *prefix, const char postfix) const override
 Stream output. More...
 
virtual std::ostream & write (std::ostream &out) const override
 Stream output. More...
 
virtual bool equals (const JPropertiesElementInterface &element) const override
 Equality between property element interfaces. More...
 
virtual bool is_properties () const
 Get properties type. More...
 
virtual std::ostream & write (std::ostream &out) const=0
 Stream output. More...
 

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  :
1097  object(value)
1098  {}
Interface for I/O of properties element.
Definition: JProperties.hh:70

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/3]

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

Implements JLANG::JStreamSuffixOutput.

Definition at line 1121 of file JProperties.hh.

1124  {
1125  return out;
1126  }

◆ write() [2/3]

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

Stream output.

Parameters
outoutput stream
Returns
output stream

Implements JLANG::JStreamOutput.

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  }

◆ write() [3/3]

virtual std::ostream& JLANG::JStreamOutput::write
inherited

Stream output.

Parameters
outoutput stream
Returns
output stream

Member Data Documentation

◆ object

Definition at line 1153 of file JProperties.hh.


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