Bayeux
3.4.1
Core Foundation library for SuperNEMO
bayeux
datatools
ui
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:
25
#include <
datatools/command_utils.h
>
26
#include <
datatools/ui/target_command.h
>
27
#include <
datatools/ui/basic_shell.h
>
28
29
namespace
datatools
{
30
31
namespace
ui {
32
34
struct
shell_cd_command
35
:
public
target_command
<basic_shell>
36
{
37
shell_cd_command
(
basic_shell
&);
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: --
datatools::ui::shell_cd_command::~shell_cd_command
virtual ~shell_cd_command()
datatools::ui::shell_cd_command::_init
virtual void _init(const datatools::properties &config_)
datatools::ui::shell_cd_command
Shell cd command.
Definition:
shell_cd_command.h:34
datatools::ui::shell_cd_command::_run
virtual void _run(datatools::command::returned_info &cri_, uint32_t flags_=0)
datatools::command::returned_info
Command returned information.
Definition:
command_utils.h:78
basic_shell.h
A basic generic shell.
datatools::ui::shell_cd_command::shell_cd_command
shell_cd_command(basic_shell &)
target_command.h
Base command for target objects.
command_utils.h
datatools
The Bayeux/datatools library top-level namespace.
Definition:
algo.h:13
datatools::ui::target_command
Base command for a target object.
Definition:
target_command.h:38
datatools::ui::basic_shell
Command line shell interface.
Definition:
basic_shell.h:58
datatools::properties
A dictionary of arbitrary properties.
Definition:
properties.h:125
Generated by
1.8.15