Jpp  18.0.0-rc.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JASCIIFileReader.hh
Go to the documentation of this file.
1 #ifndef __JLANG__JASCIIFILEREADER__
2 #define __JLANG__JASCIIFILEREADER__
3 
4 #include <istream>
5 
8 
9 
10 /**
11  * \author mdejong
12  */
13 
14 namespace JLANG {}
15 namespace JPP { using namespace JLANG; }
16 
17 namespace JLANG {
18 
19 
20  /**
21  * Object reading from ASCII file.
22  *
23  * This class implements the JAccessibleObjectIterator interface.
24  */
25  template<class T>
28  public JStreamObjectIterator <T>,
30  {
31  public:
32  /**
33  * Default constructor.
34  */
37  JStreamObjectIterator<T>(static_cast<std::istream&>(*this))
38  {}
39 
40 
41  /**
42  * Constructor.
43  *
44  * \param file_name file name
45  */
46  JASCIIFileReader(const char* file_name) :
47  JAccessibleInputStream(file_name),
48  JStreamObjectIterator<T>(static_cast<std::istream&>(*this))
49  {}
50  };
51 }
52 
53 #endif
Object reading from ASCII file.
then usage $script< detector file >< detectorfile > nIf the range of floors is the first detector file is aligned to the second before the comparison nIn this
JASCIIFileReader()
Default constructor.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
Interface for object iteration with named access.
Accessible input stream.
JASCIIFileReader(const char *file_name)
Constructor.