Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -0,0 +1,27 @@
// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.
#ifndef tools_file_reader
#define tools_file_reader
#include <string>
#include <cstdio>
namespace tools {
namespace file {
class reader {
public:
virtual ~reader() {}
public:
virtual bool open(const std::string&) = 0;
virtual void close() = 0;
virtual bool is_open() const = 0;
virtual bool read(char*,unsigned int,size_t&) = 0;
virtual bool get_line(char*,unsigned int) = 0;
virtual bool eof() const = 0;
};
}}
#endif