clipspy-1.0.0/clips/facts.py
def facts(self) -> iter:
        """Iterate over the asserted Facts belonging to this Template."""
        fact = lib.GetNextFactInTemplate(self._ptr(), ffi.NULL)
        while fact != ffi.NULL:
            yield new_fact(self._ptr(), fact)

            fact = lib.GetNextFactInTemplate(self._ptr(), fact)
Iterate over the asserted Facts belonging to this Template.
Iterate over the asserted Facts belonging to this Template.
Iterate over the asserted Facts belonging to this Template .
def facts(self) -> iter:
        fact = lib.GetNextFactInTemplate(self._ptr(), ffi.NULL)
        while fact != ffi.NULL:
            yield new_fact(self._ptr(), fact)
            fact = lib.GetNextFactInTemplate(self._ptr(), fact)
def facts ( self ) -> iter : fact = lib . GetNextFactInTemplate ( self . _ptr ( ) , ffi . NULL ) while fact != ffi . NULL : yield new_fact ( self . _ptr ( ) , fact ) fact = lib . GetNextFactInTemplate ( self . _ptr ( ) , fact )
Iterate over the asserted Facts belonging to this Template.
Iterate over the asserted Facts belonging to this Template .
"""Iterate over the asserted Facts belonging to this Template."""
self