lhapdf is hosted by Hepforge, IPPP Durham
LHAPDF  6.2.3
LHAPDF::File< FILETYPE > Class Template Reference

MPI-safe file I/O interface. More...

#include <FileIO.h>

Public Member Functions

 File (const std::string &name)
 
 ~File ()
 Destructor.
 
bool open ()
 Open file.
 
bool close ()
 Close file.
 
FILETYPE * operator-> () const
 Forward methods via pointer emulation.
 
FILETYPE & operator* () const
 Forward methods via pointer-dereference emulation.
 
std::string getContent () const
 Get the file content.
 

Protected Attributes

std::string _name
 
FILETYPE * _fileptr
 
std::stringstream * _streamptr
 

Detailed Description

template<class FILETYPE>
class LHAPDF::File< FILETYPE >

MPI-safe file I/O interface.


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