Jpp  19.1.0
the software that should make you happy
Public Member Functions | Friends | List of all members
JLANG::JStreamInput Class Referenceabstract

Interface for ASCII input using standard streams. More...

#include <JAbstractIO.hh>

Inheritance diagram for JLANG::JStreamInput:
JEEP::JPropertiesElementInterface JLANG::JValueInput< T > JPARSER::JParserElementInterface JTOOLS::JAbstractAutoPointer< JBase_t > JEEP::JPropertiesTemplateElement< T > JEEP::JPropertiesTemplateElement< JProperties > JEEP::JPropertiesTemplateElement< JProperties::JFileReader > JEEP::JPropertiesTemplateElement< const T > JLANG::JValue< T > JPARSER::JParserTemplateElement< JCounter > JPARSER::JParserTemplateElement< JType_t, false > JPARSER::JParserTemplateElement< bool > JTOOLS::JAutoPointer< JDerived_t, JBase_t >

Public Member Functions

virtual ~JStreamInput ()
 Virtual destructor. More...
 
virtual std::istream & read (std::istream &in)=0
 Stream input. More...
 

Friends

std::istream & operator>> (std::istream &in, JStreamInput &object)
 Read object from input. More...
 

Detailed Description

Interface for ASCII input using standard streams.

Definition at line 21 of file JAbstractIO.hh.

Constructor & Destructor Documentation

◆ ~JStreamInput()

virtual JLANG::JStreamInput::~JStreamInput ( )
inlinevirtual

Virtual destructor.

Definition at line 26 of file JAbstractIO.hh.

27  {}

Member Function Documentation

◆ read()

virtual std::istream& JLANG::JStreamInput::read ( std::istream &  in)
pure virtual

Friends And Related Function Documentation

◆ operator>>

std::istream& operator>> ( std::istream &  in,
JStreamInput object 
)
friend

Read object from input.

Parameters
ininput stream
objectobject
Returns
input stream

Definition at line 46 of file JAbstractIO.hh.

47  {
48  return object.read(in);
49  }

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