bg_parameter_info_t Struct Reference
[Parameter description]

Parmeter description. More...

#include <parameter.h>


Data Fields

char * name
 Unique name. Can contain alphanumeric characters plus underscore.
char * long_name
 Long name (for labels).
char * opt
 ultrashort name (optional for commandline). If missing, the name will be used.
char * gettext_domain
 First argument for bindtextdomain(). In an array, it's valid for subsequent entries too.
char * gettext_directory
 Second argument for bindtextdomain(). In an array, it's valid for subsequent entries too.
bg_parameter_type_t type
 Type.
int flags
 Mask of BG_PARAMETER_* defines.
bg_parameter_value_t val_default
 Default value.
bg_parameter_value_t val_min
 Minimum value (for arithmetic types).
bg_parameter_value_t val_max
 Maximum value (for arithmetic types).
char ** multi_names
 Names for multi option parameters (NULL terminated).
char ** multi_labels
 Optional labels for multi option parameters.
char ** multi_descriptions
 Optional descriptions (will be displayed by info buttons).
struct
bg_parameter_info_s ** 
multi_parameters
 Parameters for each option. The name members of these MUST be unique with respect to the rest of the parameters passed to the same set_parameter func.
int num_digits
 Number of digits for floating point parameters.
char * help_string
 Help strings for tooltips or --help option.


Detailed Description

Parmeter description.

Usually, parameter infos are passed around as NULL-terminated arrays.


Field Documentation

char* bg_parameter_info_t::name

Unique name. Can contain alphanumeric characters plus underscore.

char* bg_parameter_info_t::long_name

Long name (for labels).

char* bg_parameter_info_t::opt

ultrashort name (optional for commandline). If missing, the name will be used.

char* bg_parameter_info_t::gettext_domain

First argument for bindtextdomain(). In an array, it's valid for subsequent entries too.

char* bg_parameter_info_t::gettext_directory

Second argument for bindtextdomain(). In an array, it's valid for subsequent entries too.

bg_parameter_type_t bg_parameter_info_t::type

Type.

int bg_parameter_info_t::flags

Mask of BG_PARAMETER_* defines.

bg_parameter_value_t bg_parameter_info_t::val_default

Default value.

bg_parameter_value_t bg_parameter_info_t::val_min

Minimum value (for arithmetic types).

bg_parameter_value_t bg_parameter_info_t::val_max

Maximum value (for arithmetic types).

char** bg_parameter_info_t::multi_names

Names for multi option parameters (NULL terminated).

char** bg_parameter_info_t::multi_labels

Optional labels for multi option parameters.

char** bg_parameter_info_t::multi_descriptions

Optional descriptions (will be displayed by info buttons).

struct bg_parameter_info_s** bg_parameter_info_t::multi_parameters [read]

Parameters for each option. The name members of these MUST be unique with respect to the rest of the parameters passed to the same set_parameter func.

int bg_parameter_info_t::num_digits

Number of digits for floating point parameters.

char* bg_parameter_info_t::help_string

Help strings for tooltips or --help option.


The documentation for this struct was generated from the following file:
Generated on Wed Jan 9 19:32:52 2008 for gmerlin by  doxygen 1.5.3