Logo Search packages:      
Sourcecode: zbar version File versions  Download package

const char* zbar_get_addon_name ( zbar_symbol_type_t  sym  ) 

retrieve string name for addon encoding.

sym symbol type encoding
static string name for any addon, or the empty string if no addons were decoded

Definition at line 50 of file symbol.c.

References ZBAR_ADDON, ZBAR_ADDON2, ZBAR_ADDON5, and zbar_get_addon_name().

Referenced by zbar::Symbol::get_addon_name(), zbar::Decoder::get_addon_name(), and zbar_get_addon_name().

    switch(sym & ZBAR_ADDON) {
    case ZBAR_ADDON2: return("+2");
    case ZBAR_ADDON5: return("+5");
    default: return("");

Generated by  Doxygen 1.6.0   Back to index