Jpp  test_elongated_shower_pde
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JDBString.hh
Go to the documentation of this file.
1 #ifndef __JDB_JDBString__
2 #define __JDB_JDBString__
3 
4 #include <TROOT.h>
5 
6 #include <string>
7 
8 /**
9  * \author mdejong
10  */
11 namespace JDATABASE {}
12 namespace JPP { using namespace JDATABASE; }
13 
14 namespace JDATABASE {
15 
16  /**
17  * Wrapper class to read string until end-of-line.
18  */
19  struct JDBString :
20  public std::string
21  {
22  /**
23  * Read database string from input stream.
24  *
25  * \param in input stream
26  * \param object database string
27  * \return input stream
28  */
29  friend inline std::istream& operator>>(std::istream& in, JDBString& object)
30  {
31  using namespace std;
32 
33  return getline(in, object);
34  }
35 
37  };
38 }
39 
40 #endif
Wrapper class to read string until end-of-line.
Definition: JDBString.hh:19
std::istream & getline(std::istream &in, JString &object)
Read string from input stream until end of line.
Definition: JString.hh:478
friend std::istream & operator>>(std::istream &in, JDBString &object)
Read database string from input stream.
Definition: JDBString.hh:29
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Definition: JCanberra.sh:42
ClassDefNV(JDBString, 1)