dune-fem  2.4.1-rc
io.hh
Go to the documentation of this file.
1 #ifndef DUNE_FEM_IO_HH
2 #define DUNE_FEM_IO_HH
3 
4 #include <iostream>
5 
6 namespace Dune
7 {
8 
9  namespace Fem
10  {
11 
18  bool createDirectory ( const std::string &name );
19 
26  bool fileExists ( const std::string &name );
27 
34  bool directoryExists ( const std::string &name );
35 
45  std::string executeCommand ( const std::string &command );
46 
47  } // namespace Fem
48 
49 } // namespace Dune
50 
51 #endif // #ifndef DUNE_FEM_IO_HH
bool fileExists(const std::string &name)
check whether a file exists
Definition: io.cc:51
bool directoryExists(const std::string &name)
check whether a directory exists
Definition: io.cc:58
bool createDirectory(const std::string &inName)
create a directory
Definition: io.cc:19
Definition: coordinate.hh:4
std::string executeCommand(const std::string &command)
executes a command and return the output
Definition: io.cc:69