Proper Any for struct in python

chris williams via omniORB-list <[email protected]> Tue, 13 Feb 2018 11:56:46 -0500
Newsgroups gmane.comp.corba.omniorb.user
Message-ID <CAN0Sa0zrzuvkpk1Y5p+T_md0XifCr0CzBD5Cb=4TZ==-Vc0Oyw@mail.gmail.com>
Hi I'm stuck on trying to figure out how to properly use any.  In this
instance, the IDL is as follows:
struct IdlOtnAllSettings
{
    // This section is common to many PPs
    octet                   restartInhibit;
    unsigned short          testId;
    octet                   reference;
    octet                   powerUpTestAction;
    octet                   ppPauseState;
    octet                   settingsControl;
    IdlErrorGen             errorGen;
}

the function the Any IdlOtnAllSettings struct is to be used:

IdlReturnType getAllowedSettings(in unsigned long userHandle,
                                     in PPIndex index,
                                     inout any anyStruct,
                                     in unsigned short testUnitId)
        raises(SystemControllerException);


*How do I convert IdlOtnAllSettings to Any?*

_______________________________________________
omniORB-list mailing list
[email protected]
http://www.omniorb-support.com/mailman/listinfo/omniorb-list