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