Get the set of I{all} property names. @param history: A history of nodes checked to prevent circular hunting. @type history: [L{Properties},..] @return: A set of property names. @rtype: list
(self, history=None)
| 363 | return self |
| 364 | |
| 365 | def keys(self, history=None): |
| 366 | """ |
| 367 | Get the set of I{all} property names. |
| 368 | @param history: A history of nodes checked to prevent |
| 369 | circular hunting. |
| 370 | @type history: [L{Properties},..] |
| 371 | @return: A set of property names. |
| 372 | @rtype: list |
| 373 | """ |
| 374 | if history is None: |
| 375 | history = [] |
| 376 | history.append(self) |
| 377 | keys = set() |
| 378 | keys.update(self.definitions.keys()) |
| 379 | for x in self.links: |
| 380 | if x in history: |
| 381 | continue |
| 382 | keys.update(x.keys(history)) |
| 383 | history.remove(self) |
| 384 | return keys |
| 385 | |
| 386 | def domains(self, history=None): |
| 387 | """ |
no test coverage detected