next up previous contents index
次へ: Option Value Unit 上へ: Option Descriptor Type 戻る: Option Description   目次   索引

Option Value Type

Member type specifies the type of the option value. The possible values for type SANE_Value_Type are described in Table 4.3.


表 4.3: Option Value Types (SANE_Value_Type)
Symbol Code Description
SANE_TYPE_BOOL 0 Option value is of type SANE_Bool.
SANE_TYPE_INT 1 Option value is of type SANE_Int.
SANE_TYPE_FIXED 2 Option value is of type SANE_Fixed.
SANE_TYPE_STRING 3 Option value is of type SANE_String.
SANE_TYPE_BUTTON 4 An option of this type has no value. Instead, setting an option of this type has an option-specific side-effect. For example, a button-typed option could be used by a backend to provide a means to select default values or to the tell an automatic document feeder to advance to the next sheet of paper.
SANE_TYPE_GROUP 5 An option of this type has no value. This type is used to group logically related options. A group option is in effect up to the point where another group option is encountered (or up to the end of the option list, if there are no other group options). For group options, only members title and type are valid in the option descriptor.



next up previous contents index
次へ: Option Value Unit 上へ: Option Descriptor Type 戻る: Option Description   目次   索引
MATSUBAYASHI 'Shaolin' Kohji 平成14年10月29日