Reference documentation for deal.II version 8.1.0
job_identifier.h
1 // ---------------------------------------------------------------------
2 // @f$Id: job_identifier.h 30036 2013-07-18 16:55:32Z maier @f$
3 //
4 // Copyright (C) 1998 - 2013 by the deal.II authors
5 //
6 // This file is part of the deal.II library.
7 //
8 // The deal.II library is free software; you can use it, redistribute
9 // it, and/or modify it under the terms of the GNU Lesser General
10 // Public License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 // The full text of the license can be found in the file LICENSE at
13 // the top level of the deal.II distribution.
14 //
15 // ---------------------------------------------------------------------
16 
17 #ifndef __deal2__job_identifier_h
18 #define __deal2__job_identifier_h
19 
20 
21 #include <deal.II/base/config.h>
22 #include <string>
23 
35 {
36 public:
43  JobIdentifier();
44 
60  static const char *program_id();
61 
74  static std::string base_name(const char *filename);
75 
79  const std::string operator () () const;
80 
81 private:
87  std::string id;
88 };
89 
90 
91 /*------------------------------ Inline functions ------------------------------*/
92 
93 
97 extern JobIdentifier dealjobid;
98 DEAL_II_NAMESPACE_CLOSE
99 
100 #endif
static std::string base_name(const char *filename)
static const char * program_id()
std::string id
const std::string operator()() const