Ejemplo n.º 1
0
def ucis_GetHandleProperty(db: UCIS, obj: Obj, coverindex: int,
                           property: HandleProperty) -> Scope:
    if obj is not None:
        return obj.getHandleProperty(coverindex, property)
    else:
        return db.getHandleProperty(coverindex, property)
Ejemplo n.º 2
0
def ucis_SetHandleProperty(db: UCIS, obj: Obj, coverindex: int,
                           property: HandleProperty, value: Scope):
    if obj is not None:
        obj.setHandleProperty(coverindex, property, value)
    else:
        db.setHandleProperty(coverindex, property, value)
Ejemplo n.º 3
0
def ucis_SetStringProperty(db: UCIS, obj: Obj, coverindex: int,
                           property: StrProperty, value: str):
    if obj is not None:
        obj.setStringProperty(coverindex, property, value)
    else:
        db.setStringProperty(coverindex, property, value)
Ejemplo n.º 4
0
def ucis_GetStringProperty(db: UCIS, obj: Obj, coverindex: int,
                           property: StrProperty) -> str:
    if obj is not None:
        return obj.getStringProperty(coverindex, property)
    else:
        return db.getStringProperty(coverindex, property)
Ejemplo n.º 5
0
def ucis_SetRealProperty(db: UCIS, obj: Obj, coverindex: int,
                         property: RealProperty, value: float):
    if obj is not None:
        obj.setRealProperty(coverindex, property, value)
    else:
        db.setRealProperty(coverindex, property, value)
Ejemplo n.º 6
0
def ucis_GetRealProperty(db: UCIS, obj: Obj, coverindex: int,
                         property: RealProperty) -> float:
    if obj is not None:
        return obj.getRealProperty(coverindex, property)
    else:
        return db.getRealProperty(coverindex, property)
Ejemplo n.º 7
0
def ucis_GetIntProperty(db: UCIS, obj: Obj, coverindex: int,
                        property: IntProperty) -> int:
    if obj is not None:
        return obj.getIntProperty(coverindex, property)
    else:
        return db.getIntProperty(coverindex, property)