clipspy-1.0.0/clips/facts.py
def templates(self) -> iter:
        """Iterate over the defined Templates."""
        template = lib.GetNextDeftemplate(self._env, ffi.NULL)
        while template != ffi.NULL:
            name = ffi.string(lib.DeftemplateName(template)).decode()
            yield Template(self._env, name)

            template = lib.GetNextDeftemplate(self._env, template)
Iterate over the defined Templates.
Iterate over the defined Templates.
Iterate over the defined Templates .
def templates(self) -> iter:
        template = lib.GetNextDeftemplate(self._env, ffi.NULL)
        while template != ffi.NULL:
            name = ffi.string(lib.DeftemplateName(template)).decode()
            yield Template(self._env, name)
            template = lib.GetNextDeftemplate(self._env, template)
def templates ( self ) -> iter : template = lib . GetNextDeftemplate ( self . _env , ffi . NULL ) while template != ffi . NULL : name = ffi . string ( lib . DeftemplateName ( template ) ) . decode ( ) yield Template ( self . _env , name ) template = lib . GetNextDeftemplate ( self . _env , template )
Iterate over the defined Templates.
Iterate over the defined Templates .
"""Iterate over the defined Templates."""
self