Meaning of enum values starting at 0x0007 -


i'm looking through header files of library i'm using (i don't have implementation source files), , noticed there set of enums proceed (simplified):

enum type {     type1                   = 0x0007,        type2                   = 0x000a,       type3                   = 0x000b,         type4                   = 0x000c,         type5                   = 0x000d,        type6                   = 0x000e,      type7                   = 0x000f,      type8                   = 0x0010,   }; 

i'm familiar seeing 1,2,4,8... progression using enums bit flags, 7,10,11... kind of standard pattern? know there's not meaning values, seemed oddly specific since of values sequential.

it isn't unusual see progression missing numbers. might used internally library, used other external component library interfaces, or reserved future development.

to safe, use defined values.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -