rasdaman complete source
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
rascontrol
rasmgr_utils_conf.hh
Go to the documentation of this file.
1
/*
2
* This file is part of rasdaman community.
3
*
4
* Rasdaman community is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* Rasdaman community is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16
*
17
* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
18
rasdaman GmbH.
19
*
20
* For more information please see <http://www.rasdaman.org>
21
* or contact Peter Baumann via <baumann@rasdaman.com>.
22
/
36
#ifndef RASMGR_UTILS_CONF_HH
37
#define RASMGR_UTILS_CONF_HH
38
39
// This is the base class for every programs configuration class
40
#include <stdio.h>
41
#include <stdlib.h>
42
#include <string.h>
43
#include <iostream>
44
45
class ConfigurationBase
46
{
47
public:
48
ConfigurationBase();
49
50
// false means program shouldn't continue
51
virtual bool interpretArguments(int argc, char **argv);
52
53
protected:
54
55
int checkArguments( int argc, char** argv, const char* searchText, int& optionValueIndex );
56
57
virtual void printHelp();
58
59
};
60
61
#endif
Generated on Sun Jun 8 2014 16:57:08 for rasdaman complete source by
1.8.6