Greens-code
A modular quantum transport code
xml_input_object.hpp
1 #ifndef XML_INPUT_OBJECT
2 #define XML_INPUT_OBJECT
3 
4 #include "input_file.hpp"
5 #include <iosfwd>
6 
7 namespace XML{
8 
9 // XML sections
10  static const std::string import = "import";
11  static const std::string object = "object";
12  static const std::string geometry = "geometry";
13  static const std::string link = "link";
14  static const std::string insert = "insert";
15  static const std::string param = "param";
16  static const std::string input = "input";
17 
18  const std::string& current_filename();
19  int current_random_seed();
20 
21  loadable_Object::ref parse(std::istream& istr,
22  bool setup_logs = true);
23 
24  loadable_Object::ref parse_brief(std::istream& istr,
25  bool setup_logs = true);
26 
27 }
28 
29 #endif
Definition: predikat_xml.cpp:7