An IDLenum is mapped to a Lisp type whose name is the corresponding scoped symbol.
Each member of theenum is mapped to a symbol with the same name as that member whose home package is the keyword package.
For example, in IDL:
module example{
enum foo {hello, goodbye, farewell};
};
In generated Lisp:
(defpackage :example) (deftype example:foo () '(member :hello :goodbye :farewell))
And in use:
(typep :goodbye 'example:foo) > T (typep :not-a-member 'example:foo) > nil