NEST  2.6.0,not_revisioned_source_dir@0
filesystem.h
Go to the documentation of this file.
1 /*
2  * filesystem.h
3  *
4  * This file is part of NEST.
5  *
6  * Copyright (C) 2004 The NEST Initiative
7  *
8  * NEST is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * NEST is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with NEST. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef FILESYSTEM_H
24 #define FILESYSTEM_H
25 /**************************************
26  Functions related to the filesystem.
27  SLI's stream I/O functions are located in
28  sli_io.h.
29  *************************************/
30 
31 #include "slimodule.h"
32 #include "slifunction.h"
33 
34 
36 {
38  {
39  public:
40  void execute(SLIInterpreter *) const;
41  };
42 
44  {
45  public:
46  void execute(SLIInterpreter *) const;
47  };
48 
50  {
51  public:
52  void execute(SLIInterpreter *) const;
53  };
54 
56  {
57  public:
58  void execute(SLIInterpreter *) const;
59  };
60 
62  {
63  public:
64  void execute(SLIInterpreter *) const;
65  };
66 
68  {
69  public:
70  void execute(SLIInterpreter *) const;
71  };
72 
74  {
75  public:
76  void execute(SLIInterpreter *) const;
77  };
78 
80  {
81  public:
82  void execute(SLIInterpreter *) const;
83  };
84 
86  {
87  public:
89  void execute(SLIInterpreter *) const;
90  };
91 
93  {
94  public:
96  void execute(SLIInterpreter *) const;
97  };
98 
99  public:
100 
111 
114 
115  void init(SLIInterpreter *);
116  const std::string name(void) const;
117  const std::string commandstring(void) const;
118 };
119 
120 #endif
121 
122 
123 
124 
125 
126 
127 
128 
129 
130 
131 
132 
133 
134 
135 
136 
137 
138 
139 
140 
141 
142 
143 
144 
Definition: filesystem.h:49
~FilesystemModule()
Definition: filesystem.h:113
TmpNamFunction tmpnamfunction
Definition: filesystem.h:109
Definition: filesystem.h:55
DirectoryFunction directoryfunction
Definition: filesystem.h:103
void execute(SLIInterpreter *) const
Definition: filesystem.cc:210
FileNamesFunction filenamesfunction
Definition: filesystem.h:101
FilesystemModule(void)
Definition: filesystem.h:112
Definition: filesystem.h:92
Definition: filesystem.h:67
Definition: slifunction.h:35
DeleteFileFunction deletefilefunction
Definition: filesystem.h:106
TmpNamFunction()
Definition: filesystem.h:88
void execute(SLIInterpreter *) const
Definition: filesystem.cc:156
CopyFileFunction copyfilefunction
Definition: filesystem.h:105
Definition: filesystem.h:85
SetDirectoryFunction setdirectoryfunction
Definition: filesystem.h:102
CompareFilesFunction comparefilesfunction
Definition: filesystem.h:110
Definition: filesystem.h:43
CompareFilesFunction()
Definition: filesystem.h:95
RemoveDirectoryFunction removedirectoryfunction
Definition: filesystem.h:108
MoveFileFunction movefilefunction
Definition: filesystem.h:104
void execute(SLIInterpreter *) const
Definition: filesystem.cc:63
Definition: filesystem.h:61
Definition: filesystem.h:35
Definition: interpret.h:69
MakeDirectoryFunction makedirectoryfunction
Definition: filesystem.h:107
void execute(SLIInterpreter *) const
Definition: filesystem.cc:131
void init(SLIInterpreter *)
Initialise the module.
Definition: filesystem.cc:37
const std::string commandstring(void) const
Return sli command sequence to be executed for initialisation.
Definition: filesystem.cc:57
void execute(SLIInterpreter *) const
Definition: filesystem.cc:288
void execute(SLIInterpreter *) const
Definition: filesystem.cc:196
void execute(SLIInterpreter *) const
Definition: filesystem.cc:224
Definition: filesystem.h:37
Base class for all SLI Interpreter modules.
Definition: slimodule.h:34
void execute(SLIInterpreter *) const
Definition: filesystem.cc:256
Definition: filesystem.h:73
void execute(SLIInterpreter *) const
Definition: filesystem.cc:84
const std::string name(void) const
Return name of the module.
Definition: filesystem.cc:52
void execute(SLIInterpreter *) const
Definition: filesystem.cc:111