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

const char* zebra_get_addon_name ( zebra_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 46 of file symbol.c.

References ZEBRA_ADDON, ZEBRA_ADDON2, ZEBRA_ADDON5, and zebra_get_addon_name().

Referenced by zebra::Symbol::get_addon_name(), zebra::Decoder::get_addon_name(), and zebra_get_addon_name().

    switch(sym & ZEBRA_ADDON) {
    case ZEBRA_ADDON2: return("+2");
    case ZEBRA_ADDON5: return("+5");
    default: return("");

Generated by  Doxygen 1.6.0   Back to index