ConfigPositionalParameter.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of FZIs ic_workspace.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
12 //
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
24 //----------------------------------------------------------------------
25 #ifndef ICL_CORE_CONFIG_CONFIG_POSITIONAL_PARAMETER_H_INCLUDED
26 #define ICL_CORE_CONFIG_CONFIG_POSITIONAL_PARAMETER_H_INCLUDED
27 
28 #include "icl_core/BaseTypes.h"
29 #include "icl_core/Vector.h"
32 
33 #ifdef _IC_BUILDER_DEPRECATED_STYLE_
34 # include "icl_core/Deprecate.h"
35 #endif
36 
37 namespace icl_core {
38 namespace config {
39 
47 {
48 public:
63  const icl_core::String& config_key,
64  const icl_core::String& help,
65  const bool is_optional=false,
66  const icl_core::String& default_value = "");
67 
70  icl_core::String configKey() const { return m_config_key; }
71 
74  bool hasDefaultValue() const { return !m_default_value.empty(); }
75 
78  icl_core::String defaultValue() const { return m_default_value; }
79 
80 private:
83 };
84 
86 
87 }
88 }
89 
90 #endif
#define ICL_CORE_CONFIG_IMPORT_EXPORT
Contains macros to deprecate classes, types, functions and variables.
icl_core::Vector< ConfigPositionalParameter > ConfigPositionalParameterList
Contains import/export definitions for the Win32 plattform.
std::string String
Definition: BaseTypes.h:43
Contains GetoptPositionalParameter.
Contains Interface base classes and base types.


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58