ARTS  2.4.0(git:4fb77825)
double_istream Class Reference

Input stream class for doubles that correctly handles nan and inf. More...

#include <file.h>

Public Member Functions

 double_istream (std::istream &i)
 
double_istreamparse_on_fail (double &x, bool neg)
 
double_istreamoperator>> (double &x)
 

Private Attributes

std::istream & in
 

Detailed Description

Input stream class for doubles that correctly handles nan and inf.

Definition at line 93 of file file.h.

Constructor & Destructor Documentation

◆ double_istream()

double_istream::double_istream ( std::istream &  i)
inline

Definition at line 95 of file file.h.

Member Function Documentation

◆ operator>>()

double_istream& double_istream::operator>> ( double &  x)
inline

Definition at line 99 of file file.h.

◆ parse_on_fail()

double_istream & double_istream::parse_on_fail ( double &  x,
bool  neg 
)

Definition at line 602 of file file.cc.

Member Data Documentation

◆ in

std::istream& double_istream::in
private

Definition at line 113 of file file.h.


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