00001 //--------------------------------------------------------------------------- 00002 // @f$Id: job_identifier.h 25345 2012-03-31 08:37:04Z bangerth @f$ 00003 // 00004 // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2010, 2012 by the deal.II authors 00005 // 00006 // This file is subject to QPL and may not be distributed 00007 // without copyright and license information. Please refer 00008 // to the file deal.II/doc/license.html for the text and 00009 // further information on this license. 00010 // 00011 //--------------------------------------------------------------------------- 00012 #ifndef __deal2__job_identifier_h 00013 #define __deal2__job_identifier_h 00014 00015 00016 #include <deal.II/base/config.h> 00017 #include <string> 00018 00019 DEAL_II_NAMESPACE_OPEN 00029 class JobIdentifier 00030 { 00031 public: 00038 JobIdentifier(); 00039 00055 static const char* program_id(); 00056 00069 static std::string base_name(const char* filename); 00070 00074 const std::string operator () () const; 00075 00076 private: 00082 std::string id; 00083 }; 00084 00085 00086 /*------------------------------ Inline functions ------------------------------*/ 00087 00088 00092 extern JobIdentifier dealjobid; 00093 DEAL_II_NAMESPACE_CLOSE 00094 00095 #endif 00096
documentation generated on Tue May 22 2012 12:06:05 by
doxygen
1.7.3