(self, discard_defines=False)
| 351 | return os.path.realpath( os.path.join(source_dir, "src", "openms", "include", location.get_file()) ) |
| 352 | |
| 353 | def isEmpty(self, discard_defines=False): |
| 354 | compound = self.compound |
| 355 | if not discard_defines: |
| 356 | return len(compound.get_sectiondef()) == 0 |
| 357 | |
| 358 | # check whether there is more than defines and typdefs |
| 359 | empty = True |
| 360 | for mdef in self.iterMemberDef(): |
| 361 | if not mdef.get_kind() in ["define", "typedef", "slot", "signal"]: |
| 362 | # DoxMemberKind: define property event variable typedef enum function signal prototype friend dcop slot |
| 363 | empty = False |
| 364 | if empty and not len(compound.get_sectiondef()) == 0: |
| 365 | # contains only typedefs etc |
| 366 | pass |
| 367 | return empty |
| 368 | |
| 369 | def get_pxd_from_class(self, dfile, internal_file_name, xml_output_path): |
| 370 | """ |
no test coverage detected