Bayeux  3.4.1
Core Foundation library for SuperNEMO
shell_cd_command.h
Go to the documentation of this file.
1 //
4 // Copyright (c) 2015 by François Mauger <mauger@lpccaen.in2p3.fr>
5 //
6 // This file is part of datatools.
7 //
8 // datatools 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 3 of the License, or
11 // (at your option) any later version.
12 //
13 // datatools 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 datatools. If not, see <http://www.gnu.org/licenses/>.
20 
21 #ifndef DATATOOLS_UI_SHELL_CD_COMMAND_H
22 #define DATATOOLS_UI_SHELL_CD_COMMAND_H
23 
24 // This project:
28 
29 namespace datatools {
30 
31  namespace ui {
32 
35  : public target_command<basic_shell>
36  {
38  virtual ~shell_cd_command();
39  protected:
40  virtual void _init(const datatools::properties & config_);
41  virtual void _run(datatools::command::returned_info & cri_, uint32_t flags_ = 0);
42  };
43 
44  } // namespace ui
45 
46 } // namespace datatools
47 
48 #endif // DATATOOLS_UI_SHELL_CD_COMMAND_H
49 
50 // Local Variables: --
51 // mode: c++ --
52 // c-file-style: "gnu" --
53 // tab-width: 2 --
54 // End: --
virtual void _init(const datatools::properties &config_)
Shell cd command.
Definition: shell_cd_command.h:34
virtual void _run(datatools::command::returned_info &cri_, uint32_t flags_=0)
Command returned information.
Definition: command_utils.h:78
A basic generic shell.
Base command for target objects.
The Bayeux/datatools library top-level namespace.
Definition: algo.h:13
Base command for a target object.
Definition: target_command.h:38
Command line shell interface.
Definition: basic_shell.h:58
A dictionary of arbitrary properties.
Definition: properties.h:125