summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py')
-rw-r--r--gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py23
1 files changed, 18 insertions, 5 deletions
diff --git a/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py b/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py
index 53e9a63cd5..56b744660c 100644
--- a/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py
+++ b/gr-utils/modtool/templates/gr-newmod/docs/doxygen/doxyxml/doxyindex.py
@@ -18,6 +18,7 @@ from .generated import index
from .base import Base
from .text import description
+
class DoxyIndex(Base):
"""
Parses a doxygen xml directory.
@@ -48,7 +49,6 @@ class DoxyIndex(Base):
class DoxyCompMem(Base):
-
kind = None
def __init__(self, *args, **kwargs):
@@ -84,9 +84,11 @@ class DoxyCompMem(Base):
class DoxyCompound(DoxyCompMem):
pass
+
class DoxyMember(DoxyCompMem):
pass
+
class DoxyFunction(DoxyMember):
__module__ = "gnuradio.utils.doxyxml"
@@ -107,9 +109,11 @@ class DoxyFunction(DoxyMember):
self._data['params'].append(DoxyParam(prm))
brief_description = property(lambda self: self.data()['brief_description'])
- detailed_description = property(lambda self: self.data()['detailed_description'])
+ detailed_description = property(
+ lambda self: self.data()['detailed_description'])
params = property(lambda self: self.data()['params'])
+
Base.mem_classes.append(DoxyFunction)
@@ -134,9 +138,11 @@ class DoxyParam(DoxyMember):
return '\n\n'.join(descriptions)
brief_description = property(lambda self: self.data()['brief_description'])
- detailed_description = property(lambda self: self.data()['detailed_description'])
+ detailed_description = property(
+ lambda self: self.data()['detailed_description'])
name = property(lambda self: self.data()['declname'])
+
class DoxyParameterItem(DoxyMember):
"""A different representation of a parameter in Doxygen."""
@@ -178,9 +184,11 @@ class DoxyClass(DoxyCompound):
self.process_memberdefs()
brief_description = property(lambda self: self.data()['brief_description'])
- detailed_description = property(lambda self: self.data()['detailed_description'])
+ detailed_description = property(
+ lambda self: self.data()['detailed_description'])
params = property(lambda self: self.data()['params'])
+
Base.mem_classes.append(DoxyClass)
@@ -201,7 +209,9 @@ class DoxyFile(DoxyCompound):
self.process_memberdefs()
brief_description = property(lambda self: self.data()['brief_description'])
- detailed_description = property(lambda self: self.data()['detailed_description'])
+ detailed_description = property(
+ lambda self: self.data()['detailed_description'])
+
Base.mem_classes.append(DoxyFile)
@@ -222,6 +232,7 @@ class DoxyNamespace(DoxyCompound):
return
self.process_memberdefs()
+
Base.mem_classes.append(DoxyNamespace)
@@ -265,6 +276,7 @@ class DoxyFriend(DoxyMember):
kind = 'friend'
+
Base.mem_classes.append(DoxyFriend)
@@ -279,4 +291,5 @@ class DoxyOther(Base):
def can_parse(cls, obj):
return obj.kind in cls.kinds
+
Base.mem_classes.append(DoxyOther)