ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/nanoparticleBuilder/nanoparticleBuilderCmd.h
(Generate patch)

Comparing trunk/src/applications/nanoparticleBuilder/nanoparticleBuilderCmd.h (file contents):
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC

# Line 1 | Line 1
1   /** @file nanoparticleBuilderCmd.h
2   *  @brief The header file for the command line option parser
3 < *  generated by GNU Gengetopt version 2.22
3 > *  generated by GNU Gengetopt version 2.22.4
4   *  http://www.gnu.org/software/gengetopt.
5   *  DO NOT modify this file, since it can be overwritten
6   *  @author GNU Gengetopt by Lorenzo Bettini */
# Line 20 | Line 20 | extern "C" {
20   #endif /* __cplusplus */
21  
22   #ifndef CMDLINE_PARSER_PACKAGE
23 < /** @brief the program name */
23 > /** @brief the program name (used for printing errors) */
24   #define CMDLINE_PARSER_PACKAGE "nanoparticleBuilder"
25   #endif
26  
27 + #ifndef CMDLINE_PARSER_PACKAGE_NAME
28 + /** @brief the complete program name (used for help and version) */
29 + #define CMDLINE_PARSER_PACKAGE_NAME "nanoparticleBuilder"
30 + #endif
31 +
32   #ifndef CMDLINE_PARSER_VERSION
33   /** @brief the program version */
34   #define CMDLINE_PARSER_VERSION "1.0"
# Line 45 | Line 50 | struct gengetopt_args_info
50    const char *radius_help; /**< @brief Nanoparticle radius in Angstroms help description.  */
51    double* shellRadius_arg;      /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file..  */
52    char ** shellRadius_orig;     /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file. original value given at command line.  */
53 <  int shellRadius_min; /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file.'s minimum occurreces */
54 <  int shellRadius_max; /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file.'s maximum occurreces */
53 >  unsigned int shellRadius_min; /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file.'s minimum occurreces */
54 >  unsigned int shellRadius_max; /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file.'s maximum occurreces */
55    const char *shellRadius_help; /**< @brief Radius containing within it only molecules of a specific component. Specified for each component > 1 in the template file. help description.  */
56    double* molFraction_arg;      /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file..  */
57    char ** molFraction_orig;     /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file. original value given at command line.  */
58 <  int molFraction_min; /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file.'s minimum occurreces */
59 <  int molFraction_max; /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file.'s maximum occurreces */
58 >  unsigned int molFraction_min; /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file.'s minimum occurreces */
59 >  unsigned int molFraction_max; /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file.'s maximum occurreces */
60    const char *molFraction_help; /**< @brief Builds a multi-component random alloy nanoparticle. A mole Fraction must be specified for each component > 1 in the template file. help description.  */
61    double vacancyPercent_arg;    /**< @brief Percentage of atoms to remove from within vacancy range.  */
62    char * vacancyPercent_orig;   /**< @brief Percentage of atoms to remove from within vacancy range original value given at command line.  */
# Line 102 | Line 107 | extern const char *gengetopt_args_info_help[];
107   * @param args_info the structure where option information will be stored
108   * @return 0 if everything went fine, NON 0 if an error took place
109   */
110 < int cmdline_parser (int argc, char * const *argv,
110 > int cmdline_parser (int argc, char **argv,
111    struct gengetopt_args_info *args_info);
112  
113   /**
# Line 116 | Line 121 | int cmdline_parser (int argc, char * const *argv,
121   * @return 0 if everything went fine, NON 0 if an error took place
122   * @deprecated use cmdline_parser_ext() instead
123   */
124 < int cmdline_parser2 (int argc, char * const *argv,
124 > int cmdline_parser2 (int argc, char **argv,
125    struct gengetopt_args_info *args_info,
126    int override, int initialize, int check_required);
127  
# Line 128 | Line 133 | int cmdline_parser2 (int argc, char * const *argv,
133   * @param params additional parameters for the parser
134   * @return 0 if everything went fine, NON 0 if an error took place
135   */
136 < int cmdline_parser_ext (int argc, char * const *argv,
136 > int cmdline_parser_ext (int argc, char **argv,
137    struct gengetopt_args_info *args_info,
138    struct cmdline_parser_params *params);
139  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines