Auxiliary class to list files.
More...
#include <JSystemToolkit.hh>
|
| ls (JShell &shell, const std::string &option="") |
| Constructor. More...
|
|
| ls (const std::string &option="") |
| Constructor. More...
|
|
void | get (JShell &shell, const std::string option="") |
| add list files. More...
|
|
Auxiliary class to list files.
Definition at line 300 of file JSystemToolkit.hh.
◆ ls() [1/2]
JSYSTEM::ls::ls |
( |
JShell & |
shell, |
|
|
const std::string & |
option = "" |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
shell | shell interface |
option | option |
Definition at line 309 of file JSystemToolkit.hh.
◆ ls() [2/2]
JSYSTEM::ls::ls |
( |
const std::string & |
option = "" | ) |
|
|
inline |
◆ get()
void JSYSTEM::ls::get |
( |
JShell & |
shell, |
|
|
const std::string |
option = "" |
|
) |
| |
|
inline |
add list files.
- Parameters
-
shell | shell interface |
option | option |
Definition at line 332 of file JSystemToolkit.hh.
336 string buffer =
"ls";
338 if (!option.empty()) {
339 buffer +=
" " + option;
342 shell << buffer << endl;
344 while (shell.
getline(buffer)) {
The documentation for this struct was generated from the following file: