Go to the documentation of this file. 1 #ifndef __JLANG__JACCESSIBLESTREAM__
2 #define __JLANG__JACCESSIBLESTREAM__
15 namespace JPP {
using namespace JLANG; }
26 protected std::ifstream,
55 return std::ifstream::is_open();
64 virtual void open(
const char* file_name)
91 protected std::ofstream,
120 return std::ofstream::is_open();
129 virtual void open(
const char* file_name)
void close(std::istream *pf)
Close file.
virtual bool is_open() const
Check is file is open.
Interface for named access of a device.
virtual void open(const char *file_name)
Open file.
Exception for opening of file.
Accessible output stream.
JAccessibleOutputStream(const char *file_name)
Constructor.
JAccessibleOutputStream()
Default constructor.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
T * open(const std::string &file_name)
Open file.
static void Throw(const bool option)
Enable/disable throw option.
virtual void close()
Close file.
Auxiliary classes and methods for language specific functionality.