Block-Structured AMR Software Framework
amrex::expect Class Reference

#include <AMReX_Utility.H>

Public Member Functions

 expect (std::string str_)
 
 expect (const char *istr_)
 
 expect (char c)
 
const std::string & the_string () const
 

Private Attributes

std::string istr
 

Friends

std::istream & operator>> (std::istream &, const expect &exp)
 

Constructor & Destructor Documentation

◆ expect() [1/3]

amrex::expect::expect ( std::string  str_)
explicit

◆ expect() [2/3]

amrex::expect::expect ( const char *  istr_)
explicit

◆ expect() [3/3]

amrex::expect::expect ( char  c)
explicit

Member Function Documentation

◆ the_string()

const std::string & amrex::expect::the_string ( ) const

Friends And Related Function Documentation

◆ operator>>

std::istream& operator>> ( std::istream &  ,
const expect exp 
)
friend

Member Data Documentation

◆ istr

std::string amrex::expect::istr
private

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