| 1 | /* |
| 2 | * File: Arguments.h |
| 3 | * |
| 4 | * Author: Jacob Dekel |
| 5 | * Created on: Oct 6, 2009 |
| 6 | * |
| 7 | * Copyright (c) 2009-2013 Jacob Dekel |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Arguments handling class |
| 11 | * |
| 12 | * This program is free software: you can redistribute it and/or modify |
| 13 | * it under the terms of the GNU General Public License as published by |
| 14 | * the Free Software Foundation, either version 3 of the License, or |
| 15 | * (at your option) any later version. |
| 16 | * |
| 17 | * This program is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | * GNU General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU General Public License |
| 23 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 24 | * |
| 25 | */ |
| 26 | |
| 27 | #ifndef ARGUMENTS_H_ |
| 28 | #define ARGUMENTS_H_cxx . . $ `HercStudio/Arguments.h:28:9`! |
| 29 | |
| 30 | class Argumentscxx . . $ Arguments# |
| 31 | { |
| 32 | public: |
| 33 | virtual ~cxx . . $ Arguments#`~Arguments`(49f6e7a06ebc5aa8).Argumentscxx . . $ Arguments#(); |
| 34 | static Argumentscxx . . $ Arguments#& getInstancecxx . . $ Arguments#getInstance(86e8a5b8d0f95c3c).(); |
| 35 | |
| 36 | int parsecxx . . $ Arguments#parse(afcd3168fc1188a4).(int argc, char *argv[]); |
| 37 | void printUsagecxx . . $ Arguments#printUsage(49f6e7a06ebc5aa8).(); |
| 38 | |
| 39 | bool helpRequestedcxx . . $ Arguments#helpRequested(50ce9a9e25b4a850).() const; |
| 40 | const stdcxx . . $ std/::stringcxx . . $ std/string#& configFileNamecxx . . $ Arguments#configFileName(f4fff0029955a25f).() const; |
| 41 | const stdcxx . . $ std/::stringcxx . . $ std/string#& resourceFileNamecxx . . $ Arguments#resourceFileName(f4fff0029955a25f).() const; |
| 42 | private: |
| 43 | Argumentscxx . . $ Arguments#Arguments(49f6e7a06ebc5aa8).(); |
| 44 | |
| 45 | static Argumentscxx . . $ Arguments# instancecxx . . $ Arguments#instance.; |
| 46 | |
| 47 | bool mHelpcxx . . $ Arguments#mHelp.; |
| 48 | stdcxx . . $ std/::stringcxx . . $ std/string# mConfigFilecxx . . $ Arguments#mConfigFile.; |
| 49 | stdcxx . . $ std/::stringcxx . . $ std/string# mResourceFilecxx . . $ Arguments#mResourceFile.; |
| 50 | }; |
| 51 | |
| 52 | #endif /* ARGUMENTS_H_ */ |