diff options
author | Swapnil Negi <swapnil.negi09@gmail.com> | 2019-01-04 18:29:50 +0100 |
---|---|---|
committer | Andrej Rode <mail@andrejro.de> | 2019-01-04 18:58:02 +0100 |
commit | 055287896c8c97eb0cdda825559e217d8db54a14 (patch) | |
tree | 613262f5ed45ba4eaadf1bd76009aa16ad22806f /gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/generated/index.py | |
parent | 2fcf3b8afe51092003b7f916edb9e5d6372d4842 (diff) |
modtool: gr-modtool overhaul GSoC 2018
This commit contains all the changes done during the 2018 GSoC
"gr-modtool overhaul".
Changes include:
- Rewrite of gr-modtool based on Python Click
- Split of gr-modtool in cli and core
- Adherence to new GNU Radio 3.8 API for OOTs
- Pylint improvements
- Py3k and Py2k compatibility
This feature is merged in a squash-merge due to big refactoring
on the head and base branch and the impossibility to unclutter both.
Diffstat (limited to 'gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/generated/index.py')
-rw-r--r-- | gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/generated/index.py | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/generated/index.py b/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/generated/index.py deleted file mode 100644 index 0c63512119..0000000000 --- a/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/generated/index.py +++ /dev/null @@ -1,79 +0,0 @@ -#!/usr/bin/env python - -""" -Generated Mon Feb 9 19:08:05 2009 by generateDS.py. -""" -from __future__ import absolute_import -from __future__ import unicode_literals - -from xml.dom import minidom - -import os -import sys -from . import compound - -from . import indexsuper as supermod - -class DoxygenTypeSub(supermod.DoxygenType): - def __init__(self, version=None, compound=None): - supermod.DoxygenType.__init__(self, version, compound) - - def find_compounds_and_members(self, details): - """ - Returns a list of all compounds and their members which match details - """ - - results = [] - for compound in self.compound: - members = compound.find_members(details) - if members: - results.append([compound, members]) - else: - if details.match(compound): - results.append([compound, []]) - - return results - -supermod.DoxygenType.subclass = DoxygenTypeSub -# end class DoxygenTypeSub - - -class CompoundTypeSub(supermod.CompoundType): - def __init__(self, kind=None, refid=None, name='', member=None): - supermod.CompoundType.__init__(self, kind, refid, name, member) - - def find_members(self, details): - """ - Returns a list of all members which match details - """ - - results = [] - - for member in self.member: - if details.match(member): - results.append(member) - - return results - -supermod.CompoundType.subclass = CompoundTypeSub -# end class CompoundTypeSub - - -class MemberTypeSub(supermod.MemberType): - - def __init__(self, kind=None, refid=None, name=''): - supermod.MemberType.__init__(self, kind, refid, name) - -supermod.MemberType.subclass = MemberTypeSub -# end class MemberTypeSub - - -def parse(inFilename): - - doc = minidom.parse(inFilename) - rootNode = doc.documentElement - rootObj = supermod.DoxygenType.factory() - rootObj.build(rootNode) - - return rootObj - |