コード例 #1
0
    def __init__(self):
        from marketsim.gen._out._observable import Observablebool
        from marketsim import rtti
        Observablebool.__init__(self)

        rtti.check_fields(self)
        _False_Impl.__init__(self)
コード例 #2
0
 def __init__(self):
     from marketsim.gen._out._observable import Observablebool
     from marketsim import rtti
     Observablebool.__init__(self)
     
     rtti.check_fields(self)
     _True_Impl.__init__(self)
コード例 #3
0
 def __init__(self, x = None, y = None):
     from marketsim.gen._out._observable import Observablebool
     from marketsim.gen._out._constant import constant_Float as _constant_Float
     from marketsim import rtti
     Observablebool.__init__(self)
     self.x = x if x is not None else _constant_Float(1.0)
     
     self.y = y if y is not None else _constant_Float(1.0)
     
     rtti.check_fields(self)
     _LessEqual_Impl.__init__(self)
コード例 #4
0
    def __init__(self, x=None, y=None):
        from marketsim.gen._out._observable import Observablebool
        from marketsim.gen._out._constant import constant_Float as _constant_Float
        from marketsim import rtti
        Observablebool.__init__(self)
        self.x = x if x is not None else _constant_Float(1.0)

        self.y = y if y is not None else _constant_Float(1.0)

        rtti.check_fields(self)
        _LessEqual_Impl.__init__(self)
コード例 #5
0
 def __init__(self, x = None, y = None):
     from marketsim.gen._out._observable import Observablebool
     from marketsim.gen._out._const import const_Float as _const_Float
     from marketsim import event
     from marketsim import rtti
     Observablebool.__init__(self)
     self.x = x if x is not None else _const_Float(1.0)
     event.subscribe(self.x, self.fire, self)
     self.y = y if y is not None else _const_Float(1.0)
     event.subscribe(self.y, self.fire, self)
     rtti.check_fields(self)
     _GreaterEqual_Impl.__init__(self)
コード例 #6
0
 def __init__(self, x=None, y=None):
     from marketsim.gen._out._observable import Observablebool
     from marketsim.gen._out._const import const_Float as _const_Float
     from marketsim import event
     from marketsim import rtti
     Observablebool.__init__(self)
     self.x = x if x is not None else _const_Float(1.0)
     event.subscribe(self.x, self.fire, self)
     self.y = y if y is not None else _const_Float(1.0)
     event.subscribe(self.y, self.fire, self)
     rtti.check_fields(self)
     _Greater_Impl.__init__(self)