Block-Structured AMR Software Framework
amrex::VisMF::PersistentIFStream Struct Reference

This structure is used to store file ifstreams that remain open. More...

#include <AMReX_VisMF.H>

Public Member Functions

 PersistentIFStream ()=default
 
 ~PersistentIFStream ()
 
 PersistentIFStream (PersistentIFStream const &)=delete
 
 PersistentIFStream (PersistentIFStream &&)=delete
 
PersistentIFStreamoperator= (PersistentIFStream const &)=delete
 
PersistentIFStreamoperator= (PersistentIFStream &&)=delete
 

Public Attributes

std::ifstream * pstr {nullptr}
 
std::streampos currentPosition {0}
 
bool isOpen {false}
 
VisMF::IO_Buffer ioBuffer
 

Detailed Description

This structure is used to store file ifstreams that remain open.

Constructor & Destructor Documentation

◆ PersistentIFStream() [1/3]

amrex::VisMF::PersistentIFStream::PersistentIFStream ( )
default

◆ ~PersistentIFStream()

amrex::VisMF::PersistentIFStream::~PersistentIFStream ( )

◆ PersistentIFStream() [2/3]

amrex::VisMF::PersistentIFStream::PersistentIFStream ( PersistentIFStream const &  )
delete

◆ PersistentIFStream() [3/3]

amrex::VisMF::PersistentIFStream::PersistentIFStream ( PersistentIFStream &&  )
delete

Member Function Documentation

◆ operator=() [1/2]

PersistentIFStream& amrex::VisMF::PersistentIFStream::operator= ( PersistentIFStream &&  )
delete

◆ operator=() [2/2]

PersistentIFStream& amrex::VisMF::PersistentIFStream::operator= ( PersistentIFStream const &  )
delete

Member Data Documentation

◆ currentPosition

std::streampos amrex::VisMF::PersistentIFStream::currentPosition {0}

◆ ioBuffer

VisMF::IO_Buffer amrex::VisMF::PersistentIFStream::ioBuffer

◆ isOpen

bool amrex::VisMF::PersistentIFStream::isOpen {false}

◆ pstr

std::ifstream* amrex::VisMF::PersistentIFStream::pstr {nullptr}

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