def getclassnames(): """Returns a list of all defined IMM classes. """ dn='opensafImm=opensafImm,safApp=safImmService' for (n, t, v) in immombin.saImmOmAccessorGet(dn): if n == 'opensafImmClassNames': return v
def getclassnames(): """Returns a list of all defined IMM classes. """ dn='opensafImm=opensafImm,safApp=safImmService' for (n,t,v) in immombin.saImmOmAccessorGet(dn): if n == 'opensafImmClassNames': return v
def getattributes(dn): """Get the attributes of an IMM object as a dictionary. This is basically the same as the getobject function but returned as a convenient dictionary. The type info is however lost. """ a = dict() for (n, t, v) in immombin.saImmOmAccessorGet(dn): a[n] = v return a
def getattributes(dn): """Get the attributes of an IMM object as a dictionary. This is basically the same as the getobject function but returned as a convenient dictionary. The type info is however lost. """ a = dict() for (n,t,v) in immombin.saImmOmAccessorGet(dn): a[n] = v return a
def getobject(dn): """Get an IMM object. Returns a list with all attributes as tuples (name, type, value_list). See the "getclass" function for types. """ return immombin.saImmOmAccessorGet(dn)