<div dir="ltr"><span style="font-size:12.8px">Is it possible to convert a string to omniORB.EnumItem instance ? I want to be able to accept a command line parameter and convert that to enum.</span><div style="font-size:12.8px"><br><div>I have an enum defined as such in IDL:</div><div><br></div><div><div>enum IdlCommandType</div><div>{</div><div> IDL_SETTINGS,</div><div> IDL_STATS</div></div><div>}</div><div><br></div><div>If I accept a command line parameter "IDL_SETTINGS" (as a string), what is the python code to convert this to type _GlobalIDL.IDL_SETTINGS ?</div><div><br></div><div>Thanks!</div></div>
</div>