ctools
2.1.0.dev
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
ctool_base.hpp
Go to the documentation of this file.
1
/***************************************************************************
2
* ctool_base - [WHAT] tool *
3
* ----------------------------------------------------------------------- *
4
* copyright (C) [YEAR] by [AUTHOR] *
5
* ----------------------------------------------------------------------- *
6
* *
7
* This program is free software: you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation, either version 3 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* This program is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
19
* *
20
***************************************************************************/
21
/**
22
* @file ctool_base.hpp
23
* @brief [WHAT] tool definition
24
* @author [AUTHOR]
25
*/
26
27
#ifndef CTOOL_BASE_HPP
28
#define CTOOL_BASE_HPP
29
30
/* __ Includes ___________________________________________________________ */
31
#include "
ctool.hpp
"
32
33
/* __Definitions _________________________________________________________ */
34
#define CTOOL_BASE_NAME "ctool_base"
35
36
37
/***********************************************************************/
/**
38
* @class ctool_base
39
*
40
* @brief [WHAT] tool
41
*
42
* @todo Add tool description.
43
***************************************************************************/
44
class
ctool_base
:
public
ctool
{
45
public
:
46
// Constructors and destructors
47
ctool_base
(
void
);
48
ctool_base
(
int
argc,
char
*argv[]);
49
ctool_base
(
const
ctool_base
&
app
);
50
virtual
~ctool_base
(
void
);
51
52
// Operators
53
ctool_base
&
operator=
(
const
ctool_base
& app);
54
55
// Methods
56
void
clear
(
void
);
57
void
process
(
void
);
58
void
save
(
void
);
59
60
protected
:
61
// Protected methods
62
void
init_members
(
void
);
63
void
copy_members
(
const
ctool_base
& app);
64
void
free_members
(
void
);
65
void
get_parameters
(
void
);
66
67
// Protected members
68
// TODO: Add any data members that are necessary
69
};
70
71
#endif
/* CTOOL_BASE_HPP */
ctool_base::operator=
ctool_base & operator=(const ctool_base &app)
Assignment operator.
Definition:
ctool_base.cpp:138
ctool_base::save
void save(void)
Save something.
Definition:
ctool_base.cpp:214
ctool
Base class for ctools.
Definition:
ctool.hpp:50
ctool_base::process
void process(void)
Process [what] tool.
Definition:
ctool_base.cpp:197
ctool_base::~ctool_base
virtual ~ctool_base(void)
Destructor.
Definition:
ctool_base.cpp:114
ctool.hpp
ctool base class implementation
ctool_base::clear
void clear(void)
Clear [WHAT] tool.
Definition:
ctool_base.cpp:173
cscripts.csadd2caldb.app
tuple app
Definition:
csadd2caldb.py:402
ctool_base::free_members
void free_members(void)
Delete class members.
Definition:
ctool_base.cpp:263
ctool_base::copy_members
void copy_members(const ctool_base &app)
Copy class members.
Definition:
ctool_base.cpp:250
ctool_base::ctool_base
ctool_base(void)
Void constructor.
Definition:
ctool_base.cpp:60
ctool_base::get_parameters
void get_parameters(void)
Get application parameters.
Definition:
ctool_base.cpp:275
ctool_base::init_members
void init_members(void)
Initialise class members.
Definition:
ctool_base.cpp:235
ctool_base
[WHAT] tool
Definition:
ctool_base.hpp:44
src
template
ctool_base.hpp
Generated on Tue Jan 14 2025 13:54:27 for ctools by
1.8.5