コード例 #1
0
ファイル: Argument_helper.cpp プロジェクト: 151706061/MEPP
  void Argument_helper::new_named_double(char key, const char *long_name,
					 const char *arg_description, const char *description,
					 double &dest){
    Argument_target *t= new DoubleTarget(key, long_name, arg_description, description, dest);
    new_argument_target(t);
  };
コード例 #2
0
ファイル: Argument_helper.cpp プロジェクト: 151706061/MEPP
  void Argument_helper::new_named_char(char key, const char *long_name,
					 const char *arg_description, const char *description,
					 char &dest){
    Argument_target *t= new CharTarget(key, long_name, arg_description, description, dest);
    new_argument_target(t);
  };
コード例 #3
0
ファイル: Argument_helper.cpp プロジェクト: 151706061/MEPP
  void Argument_helper::new_named_unsigned_int(char key, const char *long_name,
					       const char *arg_description, const char *description,
					       unsigned int &dest){
    Argument_target *t= new UIntTarget(key, long_name, arg_description, description, dest);
    new_argument_target(t);
  };
コード例 #4
0
ファイル: Argument_helper.cpp プロジェクト: 151706061/MEPP
  void Argument_helper::new_named_string_vector(char key, const char *long_name,
					 const char *arg_description, const char *description,
					 std::vector<std::string> &dest){
    Argument_target *t= new StringVectorTarget(key, long_name, arg_description, description, dest);
    new_argument_target(t);
  };
コード例 #5
0
ファイル: Argument_helper.cpp プロジェクト: 151706061/MEPP
 void Argument_helper::new_flag(char key, const char *long_name, const char *description,bool &dest){
   Argument_target *t= new FlagTarget(key, long_name, description, dest);
   new_argument_target(t);
 };
コード例 #6
0
ファイル: ArgumentHelper.cpp プロジェクト: OKaluza/omicron
 void ArgumentHelper::newNamedInt(char key, const char *long_name,
                                        const char *arg_description, const char *description,
                                        int &dest){
   Argument_target *t= new IntTarget(key, long_name, arg_description, description, dest);
   new_argument_target(t);
 };
コード例 #7
0
ファイル: ArgumentHelper.cpp プロジェクト: OKaluza/omicron
 void ArgumentHelper::newNamedString(char key, const char *long_name,
                                        const char *arg_description, const char *description,
                                        std::string &dest){
   Argument_target *t= new StringTarget(key, long_name, arg_description, description, dest);
   new_argument_target(t);
 };