forked from sdr/gr-osmosdr
docs: Update docs template to the latest from GNURadio
Part of GNURadio 3.8 migration Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
b9e1ebd9e7
commit
8c2f912037
|
@ -1,19 +1,19 @@
|
||||||
# Copyright 2011 Free Software Foundation, Inc.
|
# Copyright 2011 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file is part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# gr-osmosdr is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3, or (at your option)
|
# the Free Software Foundation; either version 3, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# GNU Radio is distributed in the hope that it will be useful,
|
# gr-osmosdr is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with GNU Radio; see the file COPYING. If not, write to
|
# along with gr-osmosdr; see the file COPYING. If not, write to
|
||||||
# the Free Software Foundation, Inc., 51 Franklin Street,
|
# the Free Software Foundation, Inc., 51 Franklin Street,
|
||||||
# Boston, MA 02110-1301, USA.
|
# Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Copyright 2011 Free Software Foundation, Inc.
|
# Copyright 2011 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file was generated by gr_modtool, a tool from the GNU Radio framework
|
||||||
|
# This file is a part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# GNU Radio is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,8 @@
|
||||||
#
|
#
|
||||||
# Copyright 2010 Free Software Foundation, Inc.
|
# Copyright 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file was generated by gr_modtool, a tool from the GNU Radio framework
|
||||||
|
# This file is a part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# GNU Radio is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -63,8 +64,9 @@ This line is uninformative and is only to test line breaks in the comments.
|
||||||
u'Outputs the vital aadvark statistics.'
|
u'Outputs the vital aadvark statistics.'
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
|
from .doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
|
||||||
|
|
||||||
def _test():
|
def _test():
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#
|
#
|
||||||
# Copyright 2010 Free Software Foundation, Inc.
|
# Copyright 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file was generated by gr_modtool, a tool from the GNU Radio framework
|
||||||
|
# This file is a part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# GNU Radio is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -24,24 +25,26 @@ A base class is created.
|
||||||
Classes based upon this are used to make more user-friendly interfaces
|
Classes based upon this are used to make more user-friendly interfaces
|
||||||
to the doxygen xml docs than the generated classes provide.
|
to the doxygen xml docs than the generated classes provide.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import print_function
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pdb
|
import pdb
|
||||||
|
|
||||||
from xml.parsers.expat import ExpatError
|
from xml.parsers.expat import ExpatError
|
||||||
|
|
||||||
from generated import compound
|
from .generated import compound
|
||||||
|
|
||||||
|
|
||||||
class Base(object):
|
class Base(object):
|
||||||
|
|
||||||
class Duplicate(StandardError):
|
class Duplicate(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class NoSuchMember(StandardError):
|
class NoSuchMember(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class ParsingError(StandardError):
|
class ParsingError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def __init__(self, parse_data, top=None):
|
def __init__(self, parse_data, top=None):
|
||||||
|
@ -94,7 +97,7 @@ class Base(object):
|
||||||
for cls in self.mem_classes:
|
for cls in self.mem_classes:
|
||||||
if cls.can_parse(mem):
|
if cls.can_parse(mem):
|
||||||
return cls
|
return cls
|
||||||
raise StandardError(("Did not find a class for object '%s'." \
|
raise Exception(("Did not find a class for object '%s'." \
|
||||||
% (mem.get_name())))
|
% (mem.get_name())))
|
||||||
|
|
||||||
def convert_mem(self, mem):
|
def convert_mem(self, mem):
|
||||||
|
@ -102,11 +105,11 @@ class Base(object):
|
||||||
cls = self.get_cls(mem)
|
cls = self.get_cls(mem)
|
||||||
converted = cls.from_parse_data(mem, self.top)
|
converted = cls.from_parse_data(mem, self.top)
|
||||||
if converted is None:
|
if converted is None:
|
||||||
raise StandardError('No class matched this object.')
|
raise Exception('No class matched this object.')
|
||||||
self.add_ref(converted)
|
self.add_ref(converted)
|
||||||
return converted
|
return converted
|
||||||
except StandardError, e:
|
except Exception as e:
|
||||||
print e
|
print(e)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def includes(cls, inst):
|
def includes(cls, inst):
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#
|
#
|
||||||
# Copyright 2010 Free Software Foundation, Inc.
|
# Copyright 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file was generated by gr_modtool, a tool from the GNU Radio framework
|
||||||
|
# This file is a part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# GNU Radio is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -22,12 +23,14 @@
|
||||||
Classes providing more user-friendly interfaces to the doxygen xml
|
Classes providing more user-friendly interfaces to the doxygen xml
|
||||||
docs than the generated classes provide.
|
docs than the generated classes provide.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import absolute_import
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from generated import index
|
from .generated import index
|
||||||
from base import Base
|
from .base import Base
|
||||||
from text import description
|
from .text import description
|
||||||
|
|
||||||
class DoxyIndex(Base):
|
class DoxyIndex(Base):
|
||||||
"""
|
"""
|
||||||
|
@ -43,13 +46,16 @@ class DoxyIndex(Base):
|
||||||
self._root = index.parse(os.path.join(self._xml_path, 'index.xml'))
|
self._root = index.parse(os.path.join(self._xml_path, 'index.xml'))
|
||||||
for mem in self._root.compound:
|
for mem in self._root.compound:
|
||||||
converted = self.convert_mem(mem)
|
converted = self.convert_mem(mem)
|
||||||
# For files we want the contents to be accessible directly
|
# For files and namespaces we want the contents to be
|
||||||
# from the parent rather than having to go through the file
|
# accessible directly from the parent rather than having
|
||||||
# object.
|
# to go through the file object.
|
||||||
if self.get_cls(mem) == DoxyFile:
|
if self.get_cls(mem) == DoxyFile:
|
||||||
if mem.name.endswith('.h'):
|
if mem.name.endswith('.h'):
|
||||||
self._members += converted.members()
|
self._members += converted.members()
|
||||||
self._members.append(converted)
|
self._members.append(converted)
|
||||||
|
elif self.get_cls(mem) == DoxyNamespace:
|
||||||
|
self._members += converted.members()
|
||||||
|
self._members.append(converted)
|
||||||
else:
|
else:
|
||||||
self._members.append(converted)
|
self._members.append(converted)
|
||||||
|
|
||||||
|
@ -80,13 +86,29 @@ class DoxyCompMem(Base):
|
||||||
self._data['brief_description'] = bd
|
self._data['brief_description'] = bd
|
||||||
self._data['detailed_description'] = dd
|
self._data['detailed_description'] = dd
|
||||||
|
|
||||||
|
def set_parameters(self, data):
|
||||||
|
vs = [ddc.value for ddc in data.detaileddescription.content_]
|
||||||
|
pls = []
|
||||||
|
for v in vs:
|
||||||
|
if hasattr(v, 'parameterlist'):
|
||||||
|
pls += v.parameterlist
|
||||||
|
pis = []
|
||||||
|
for pl in pls:
|
||||||
|
pis += pl.parameteritem
|
||||||
|
dpis = []
|
||||||
|
for pi in pis:
|
||||||
|
dpi = DoxyParameterItem(pi)
|
||||||
|
dpi._parse()
|
||||||
|
dpis.append(dpi)
|
||||||
|
self._data['params'] = dpis
|
||||||
|
|
||||||
|
|
||||||
class DoxyCompound(DoxyCompMem):
|
class DoxyCompound(DoxyCompMem):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class DoxyMember(DoxyCompMem):
|
class DoxyMember(DoxyCompMem):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class DoxyFunction(DoxyMember):
|
class DoxyFunction(DoxyMember):
|
||||||
|
|
||||||
__module__ = "gnuradio.utils.doxyxml"
|
__module__ = "gnuradio.utils.doxyxml"
|
||||||
|
@ -98,10 +120,13 @@ class DoxyFunction(DoxyMember):
|
||||||
return
|
return
|
||||||
super(DoxyFunction, self)._parse()
|
super(DoxyFunction, self)._parse()
|
||||||
self.set_descriptions(self._parse_data)
|
self.set_descriptions(self._parse_data)
|
||||||
self._data['params'] = []
|
self.set_parameters(self._parse_data)
|
||||||
prms = self._parse_data.param
|
if not self._data['params']:
|
||||||
for prm in prms:
|
# If the params weren't set by a comment then just grab the names.
|
||||||
self._data['params'].append(DoxyParam(prm))
|
self._data['params'] = []
|
||||||
|
prms = self._parse_data.param
|
||||||
|
for prm in prms:
|
||||||
|
self._data['params'].append(DoxyParam(prm))
|
||||||
|
|
||||||
brief_description = property(lambda self: self.data()['brief_description'])
|
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'])
|
||||||
|
@ -121,9 +146,39 @@ class DoxyParam(DoxyMember):
|
||||||
self.set_descriptions(self._parse_data)
|
self.set_descriptions(self._parse_data)
|
||||||
self._data['declname'] = self._parse_data.declname
|
self._data['declname'] = self._parse_data.declname
|
||||||
|
|
||||||
|
@property
|
||||||
|
def description(self):
|
||||||
|
descriptions = []
|
||||||
|
if self.brief_description:
|
||||||
|
descriptions.append(self.brief_description)
|
||||||
|
if self.detailed_description:
|
||||||
|
descriptions.append(self.detailed_description)
|
||||||
|
return '\n\n'.join(descriptions)
|
||||||
|
|
||||||
brief_description = property(lambda self: self.data()['brief_description'])
|
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'])
|
||||||
declname = property(lambda self: self.data()['declname'])
|
name = property(lambda self: self.data()['declname'])
|
||||||
|
|
||||||
|
class DoxyParameterItem(DoxyMember):
|
||||||
|
"""A different representation of a parameter in Doxygen."""
|
||||||
|
|
||||||
|
def _parse(self):
|
||||||
|
if self._parsed:
|
||||||
|
return
|
||||||
|
super(DoxyParameterItem, self)._parse()
|
||||||
|
names = []
|
||||||
|
for nl in self._parse_data.parameternamelist:
|
||||||
|
for pn in nl.parametername:
|
||||||
|
names.append(description(pn))
|
||||||
|
# Just take first name
|
||||||
|
self._data['name'] = names[0]
|
||||||
|
# Get description
|
||||||
|
pd = description(self._parse_data.get_parameterdescription())
|
||||||
|
self._data['description'] = pd
|
||||||
|
|
||||||
|
description = property(lambda self: self.data()['description'])
|
||||||
|
name = property(lambda self: self.data()['name'])
|
||||||
|
|
||||||
|
|
||||||
class DoxyClass(DoxyCompound):
|
class DoxyClass(DoxyCompound):
|
||||||
|
|
||||||
|
@ -139,12 +194,14 @@ class DoxyClass(DoxyCompound):
|
||||||
if self._error:
|
if self._error:
|
||||||
return
|
return
|
||||||
self.set_descriptions(self._retrieved_data.compounddef)
|
self.set_descriptions(self._retrieved_data.compounddef)
|
||||||
|
self.set_parameters(self._retrieved_data.compounddef)
|
||||||
# Sectiondef.kind tells about whether private or public.
|
# Sectiondef.kind tells about whether private or public.
|
||||||
# We just ignore this for now.
|
# We just ignore this for now.
|
||||||
self.process_memberdefs()
|
self.process_memberdefs()
|
||||||
|
|
||||||
brief_description = property(lambda self: self.data()['brief_description'])
|
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)
|
Base.mem_classes.append(DoxyClass)
|
||||||
|
|
||||||
|
@ -177,6 +234,16 @@ class DoxyNamespace(DoxyCompound):
|
||||||
|
|
||||||
kind = 'namespace'
|
kind = 'namespace'
|
||||||
|
|
||||||
|
def _parse(self):
|
||||||
|
if self._parsed:
|
||||||
|
return
|
||||||
|
super(DoxyNamespace, self)._parse()
|
||||||
|
self.retrieve_data()
|
||||||
|
self.set_descriptions(self._retrieved_data.compounddef)
|
||||||
|
if self._error:
|
||||||
|
return
|
||||||
|
self.process_memberdefs()
|
||||||
|
|
||||||
Base.mem_classes.append(DoxyNamespace)
|
Base.mem_classes.append(DoxyNamespace)
|
||||||
|
|
||||||
|
|
||||||
|
@ -227,11 +294,11 @@ class DoxyOther(Base):
|
||||||
|
|
||||||
__module__ = "gnuradio.utils.doxyxml"
|
__module__ = "gnuradio.utils.doxyxml"
|
||||||
|
|
||||||
kinds = set(['variable', 'struct', 'union', 'define', 'typedef', 'enum', 'dir', 'page'])
|
kinds = set(['variable', 'struct', 'union', 'define', 'typedef', 'enum',
|
||||||
|
'dir', 'page', 'signal', 'slot', 'property'])
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def can_parse(cls, obj):
|
def can_parse(cls, obj):
|
||||||
return obj.kind in cls.kinds
|
return obj.kind in cls.kinds
|
||||||
|
|
||||||
Base.mem_classes.append(DoxyOther)
|
Base.mem_classes.append(DoxyOther)
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,50 +0,0 @@
|
||||||
/* -*- c++ -*- */
|
|
||||||
/*
|
|
||||||
* Copyright 2010 Free Software Foundation, Inc.
|
|
||||||
*
|
|
||||||
* This file is part of GNU Radio
|
|
||||||
*
|
|
||||||
* GNU Radio is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3, or (at your option)
|
|
||||||
* any later version.
|
|
||||||
*
|
|
||||||
* GNU Radio is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with GNU Radio; see the file COPYING. If not, write to
|
|
||||||
* the Free Software Foundation, Inc., 51 Franklin Street,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
#include <iostream>
|
|
||||||
#include "aadvark.h"
|
|
||||||
|
|
||||||
void Aadvark::print() {
|
|
||||||
std::cout << "aadvark is " << aadvarkness << "/10 aadvarky" << std::endl;
|
|
||||||
}
|
|
||||||
|
|
||||||
Aadvark::Aadvark(int aaness): aadvarkness(aaness) {}
|
|
||||||
|
|
||||||
bool aadvarky_enough(Aadvark aad) {
|
|
||||||
if (aad.get_aadvarkness() > 6)
|
|
||||||
return true;
|
|
||||||
else
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
int Aadvark::get_aadvarkness() {
|
|
||||||
return aadvarkness;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main() {
|
|
||||||
Aadvark arold = Aadvark(6);
|
|
||||||
arold.print();
|
|
||||||
if (aadvarky_enough(arold))
|
|
||||||
std::cout << "He is aadvarky enough" << std::endl;
|
|
||||||
else
|
|
||||||
std::cout << "He is not aadvarky enough" << std::endl;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
/* -*- c++ -*- */
|
|
||||||
/*
|
|
||||||
* Copyright 2010 Free Software Foundation, Inc.
|
|
||||||
*
|
|
||||||
* This file is part of GNU Radio
|
|
||||||
*
|
|
||||||
* GNU Radio is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3, or (at your option)
|
|
||||||
* any later version.
|
|
||||||
*
|
|
||||||
* GNU Radio is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with GNU Radio; see the file COPYING. If not, write to
|
|
||||||
* the Free Software Foundation, Inc., 51 Franklin Street,
|
|
||||||
* Boston, MA 02110-1301, USA.
|
|
||||||
*/
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Models the mammal Aadvark.
|
|
||||||
*
|
|
||||||
* Sadly the model is incomplete and cannot capture all aspects of an aadvark yet.
|
|
||||||
*
|
|
||||||
* This line is uninformative and is only to test line breaks in the comments.
|
|
||||||
*/
|
|
||||||
class Aadvark {
|
|
||||||
public:
|
|
||||||
//! \brief Outputs the vital aadvark statistics.
|
|
||||||
void print();
|
|
||||||
//! \param aaness The aadvarkness of an aadvark is a measure of how aadvarky it is.
|
|
||||||
Aadvark(int aaness);
|
|
||||||
int get_aadvarkness();
|
|
||||||
private:
|
|
||||||
int aadvarkness;
|
|
||||||
};
|
|
||||||
|
|
||||||
bool aadvarky_enough(Aadvark aad);
|
|
||||||
|
|
||||||
int main();
|
|
|
@ -1,88 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
||||||
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3">
|
|
||||||
<compounddef id="aadvark_8cc" kind="file">
|
|
||||||
<compoundname>aadvark.cc</compoundname>
|
|
||||||
<includes local="no">iostream</includes>
|
|
||||||
<includes refid="aadvark_8cc" local="yes">aadvark.h</includes>
|
|
||||||
<includedby refid="aadvark_8cc" local="yes">aadvark.cc</includedby>
|
|
||||||
<incdepgraph>
|
|
||||||
<node id="0">
|
|
||||||
<label>aadvark.cc</label>
|
|
||||||
<link refid="aadvark.cc"/>
|
|
||||||
<childnode refid="1" relation="include">
|
|
||||||
</childnode>
|
|
||||||
</node>
|
|
||||||
<node id="1">
|
|
||||||
<label>iostream</label>
|
|
||||||
</node>
|
|
||||||
</incdepgraph>
|
|
||||||
<sectiondef kind="func">
|
|
||||||
<memberdef kind="function" id="aadvark_8cc_1acb52858524210ec6dddc3e16d1e52946" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type>bool</type>
|
|
||||||
<definition>bool aadvarky_enough</definition>
|
|
||||||
<argsstring>(Aadvark aad)</argsstring>
|
|
||||||
<name>aadvarky_enough</name>
|
|
||||||
<param>
|
|
||||||
<type><ref refid="classAadvark" kindref="compound">Aadvark</ref></type>
|
|
||||||
<declname>aad</declname>
|
|
||||||
</param>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" line="10" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="10" bodyend="15"/>
|
|
||||||
</memberdef>
|
|
||||||
<memberdef kind="function" id="aadvark_8cc_1ae66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type>int</type>
|
|
||||||
<definition>int main</definition>
|
|
||||||
<argsstring>()</argsstring>
|
|
||||||
<name>main</name>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" line="21" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="21" bodyend="28"/>
|
|
||||||
</memberdef>
|
|
||||||
</sectiondef>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<programlisting>
|
|
||||||
<codeline lineno="1"><highlight class="preprocessor">#include<sp/><iostream></highlight><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>"aadvark.h"</highlight><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="3"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="4"><highlight class="normal"></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classAadvark_1abd061aa5f998002e72080a34f512a059" kindref="member" tooltip="Outputs the vital aadvark statistics.">Aadvark::print</ref>()<sp/>{</highlight></codeline>
|
|
||||||
<codeline lineno="5"><highlight class="normal"><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"aadvark<sp/>is<sp/>"</highlight><highlight class="normal"><sp/><<<sp/>aadvarkness<sp/><<<sp/></highlight><highlight class="stringliteral">"/10<sp/>aadvarky"</highlight><highlight class="normal"><sp/><<<sp/>std::endl;</highlight></codeline>
|
|
||||||
<codeline lineno="6"><highlight class="normal">}</highlight></codeline>
|
|
||||||
<codeline lineno="7"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="8"><highlight class="normal"><ref refid="classAadvark_1adf1a4b97a641411a74a04ab312484462" kindref="member">Aadvark::Aadvark</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>aaness):<sp/>aadvarkness(aaness)<sp/>{}</highlight></codeline>
|
|
||||||
<codeline lineno="9"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="10"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>aadvarky_enough(<ref refid="classAadvark" kindref="compound" tooltip="Models the mammal Aadvark.">Aadvark</ref><sp/>aad)<sp/>{</highlight></codeline>
|
|
||||||
<codeline lineno="11"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(aad.get_aadvarkness()<sp/>><sp/>6)</highlight></codeline>
|
|
||||||
<codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">true</highlight><highlight class="normal">;</highlight></codeline>
|
|
||||||
<codeline lineno="13"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="14"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/></highlight><highlight class="keyword">false</highlight><highlight class="normal">;</highlight></codeline>
|
|
||||||
<codeline lineno="15"><highlight class="normal">}</highlight></codeline>
|
|
||||||
<codeline lineno="16"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>Aadvark::get_aadvarkness()<sp/>{</highlight></codeline>
|
|
||||||
<codeline lineno="18"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>aadvarkness;</highlight></codeline>
|
|
||||||
<codeline lineno="19"><highlight class="normal">}</highlight></codeline>
|
|
||||||
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>main()<sp/>{</highlight></codeline>
|
|
||||||
<codeline lineno="22"><highlight class="normal"><sp/><sp/><ref refid="classAadvark" kindref="compound" tooltip="Models the mammal Aadvark.">Aadvark</ref><sp/>arold<sp/>=<sp/><ref refid="classAadvark" kindref="compound" tooltip="Models the mammal Aadvark.">Aadvark</ref>(6);</highlight></codeline>
|
|
||||||
<codeline lineno="23"><highlight class="normal"><sp/><sp/>arold.<ref refid="classAadvark_1abd061aa5f998002e72080a34f512a059" kindref="member" tooltip="Outputs the vital aadvark statistics.">print</ref>();</highlight></codeline>
|
|
||||||
<codeline lineno="24"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(aadvarky_enough(arold))</highlight></codeline>
|
|
||||||
<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"He<sp/>is<sp/>aadvarky<sp/>enough"</highlight><highlight class="normal"><sp/><<<sp/>std::endl;</highlight></codeline>
|
|
||||||
<codeline lineno="26"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/><<<sp/></highlight><highlight class="stringliteral">"He<sp/>is<sp/>not<sp/>aadvarky<sp/>enough"</highlight><highlight class="normal"><sp/><<<sp/>std::endl;</highlight></codeline>
|
|
||||||
<codeline lineno="28"><highlight class="normal">}</highlight></codeline>
|
|
||||||
<codeline lineno="29"><highlight class="normal"></highlight></codeline>
|
|
||||||
</programlisting>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc"/>
|
|
||||||
</compounddef>
|
|
||||||
</doxygen>
|
|
|
@ -1,72 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
||||||
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3">
|
|
||||||
<compounddef id="aadvark_8h" kind="file">
|
|
||||||
<compoundname>aadvark.h</compoundname>
|
|
||||||
<includes local="no">iostream</includes>
|
|
||||||
<incdepgraph>
|
|
||||||
<node id="3">
|
|
||||||
<label>aadvark.h</label>
|
|
||||||
<link refid="aadvark.h"/>
|
|
||||||
<childnode refid="4" relation="include">
|
|
||||||
</childnode>
|
|
||||||
</node>
|
|
||||||
<node id="4">
|
|
||||||
<label>iostream</label>
|
|
||||||
</node>
|
|
||||||
</incdepgraph>
|
|
||||||
<innerclass refid="classAadvark" prot="public">Aadvark</innerclass>
|
|
||||||
<sectiondef kind="func">
|
|
||||||
<memberdef kind="function" id="aadvark_8h_1acb52858524210ec6dddc3e16d1e52946" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type>bool</type>
|
|
||||||
<definition>bool aadvarky_enough</definition>
|
|
||||||
<argsstring>(Aadvark aad)</argsstring>
|
|
||||||
<name>aadvarky_enough</name>
|
|
||||||
<param>
|
|
||||||
<type><ref refid="classAadvark" kindref="compound">Aadvark</ref></type>
|
|
||||||
<declname>aad</declname>
|
|
||||||
</param>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="21" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="10" bodyend="15"/>
|
|
||||||
</memberdef>
|
|
||||||
<memberdef kind="function" id="aadvark_8h_1ae66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type>int</type>
|
|
||||||
<definition>int main</definition>
|
|
||||||
<argsstring>()</argsstring>
|
|
||||||
<name>main</name>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="23" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="21" bodyend="28"/>
|
|
||||||
</memberdef>
|
|
||||||
</sectiondef>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<programlisting>
|
|
||||||
<codeline lineno="1"><highlight class="preprocessor">#include<sp/><iostream></highlight><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="2"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="10" refid="classAadvark" refkind="compound"><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classAadvark" kindref="compound" tooltip="Models the mammal Aadvark.">Aadvark</ref><sp/>{</highlight></codeline>
|
|
||||||
<codeline lineno="11"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
|
|
||||||
<codeline lineno="13"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">void</highlight><highlight class="normal"><sp/><ref refid="classAadvark_1abd061aa5f998002e72080a34f512a059" kindref="member" tooltip="Outputs the vital aadvark statistics.">print</ref>();</highlight></codeline>
|
|
||||||
<codeline lineno="15"><highlight class="normal"><sp/><sp/><ref refid="classAadvark_1adf1a4b97a641411a74a04ab312484462" kindref="member">Aadvark</ref>(</highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>aaness);</highlight></codeline>
|
|
||||||
<codeline lineno="16"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>get_aadvarkness();</highlight></codeline>
|
|
||||||
<codeline lineno="17"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
|
|
||||||
<codeline lineno="18"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>aadvarkness;</highlight></codeline>
|
|
||||||
<codeline lineno="19"><highlight class="normal">};</highlight></codeline>
|
|
||||||
<codeline lineno="20"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="21"><highlight class="normal"></highlight><highlight class="keywordtype">bool</highlight><highlight class="normal"><sp/>aadvarky_enough(<ref refid="classAadvark" kindref="compound" tooltip="Models the mammal Aadvark.">Aadvark</ref><sp/>aad);</highlight></codeline>
|
|
||||||
<codeline lineno="22"><highlight class="normal"></highlight></codeline>
|
|
||||||
<codeline lineno="23"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>main();</highlight></codeline>
|
|
||||||
</programlisting>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h"/>
|
|
||||||
</compounddef>
|
|
||||||
</doxygen>
|
|
|
@ -1,86 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
||||||
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3">
|
|
||||||
<compounddef id="classAadvark" kind="class" prot="public">
|
|
||||||
<compoundname>Aadvark</compoundname>
|
|
||||||
<includes refid="aadvark_8h" local="no">aadvark.h</includes>
|
|
||||||
<sectiondef kind="private-attrib">
|
|
||||||
<memberdef kind="variable" id="classAadvark_1ab79eb58d7bb9d5ddfa5d6f783836cab9" prot="private" static="no" mutable="no">
|
|
||||||
<type>int</type>
|
|
||||||
<definition>int Aadvark::aadvarkness</definition>
|
|
||||||
<argsstring></argsstring>
|
|
||||||
<name>aadvarkness</name>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="18" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" bodystart="18" bodyend="-1"/>
|
|
||||||
</memberdef>
|
|
||||||
</sectiondef>
|
|
||||||
<sectiondef kind="public-func">
|
|
||||||
<memberdef kind="function" id="classAadvark_1abd061aa5f998002e72080a34f512a059" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type>void</type>
|
|
||||||
<definition>void Aadvark::print</definition>
|
|
||||||
<argsstring>()</argsstring>
|
|
||||||
<name>print</name>
|
|
||||||
<briefdescription>
|
|
||||||
<para>Outputs the vital aadvark statistics. </para> </briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="13" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="4" bodyend="6"/>
|
|
||||||
</memberdef>
|
|
||||||
<memberdef kind="function" id="classAadvark_1adf1a4b97a641411a74a04ab312484462" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type></type>
|
|
||||||
<definition>Aadvark::Aadvark</definition>
|
|
||||||
<argsstring>(int aaness)</argsstring>
|
|
||||||
<name>Aadvark</name>
|
|
||||||
<param>
|
|
||||||
<type>int</type>
|
|
||||||
<declname>aaness</declname>
|
|
||||||
</param>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
<para><parameterlist kind="param"><parameteritem>
|
|
||||||
<parameternamelist>
|
|
||||||
<parametername>aaness</parametername>
|
|
||||||
</parameternamelist>
|
|
||||||
<parameterdescription>
|
|
||||||
<para>The aadvarkness of an aadvark is a measure of how aadvarky it is. </para></parameterdescription>
|
|
||||||
</parameteritem>
|
|
||||||
</parameterlist>
|
|
||||||
</para> </detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="15" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="8" bodyend="8"/>
|
|
||||||
</memberdef>
|
|
||||||
<memberdef kind="function" id="classAadvark_1affd2ada0a85807efcbe26615a848f53e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
|
|
||||||
<type>int</type>
|
|
||||||
<definition>int Aadvark::get_aadvarkness</definition>
|
|
||||||
<argsstring>()</argsstring>
|
|
||||||
<name>get_aadvarkness</name>
|
|
||||||
<briefdescription>
|
|
||||||
</briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
</detaileddescription>
|
|
||||||
<inbodydescription>
|
|
||||||
</inbodydescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="16" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc" bodystart="17" bodyend="19"/>
|
|
||||||
</memberdef>
|
|
||||||
</sectiondef>
|
|
||||||
<briefdescription>
|
|
||||||
<para>Models the mammal <ref refid="classAadvark" kindref="compound">Aadvark</ref>. </para> </briefdescription>
|
|
||||||
<detaileddescription>
|
|
||||||
<para>Sadly the model is incomplete and cannot capture all aspects of an aadvark yet.</para><para>This line is uninformative and is only to test line breaks in the comments. </para> </detaileddescription>
|
|
||||||
<location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" line="10" bodyfile="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h" bodystart="10" bodyend="19"/>
|
|
||||||
<listofallmembers>
|
|
||||||
<member refid="classAadvark_1adf1a4b97a641411a74a04ab312484462" prot="public" virt="non-virtual"><scope>Aadvark</scope><name>Aadvark</name></member>
|
|
||||||
<member refid="classAadvark_1ab79eb58d7bb9d5ddfa5d6f783836cab9" prot="private" virt="non-virtual"><scope>Aadvark</scope><name>aadvarkness</name></member>
|
|
||||||
<member refid="classAadvark_1affd2ada0a85807efcbe26615a848f53e" prot="public" virt="non-virtual"><scope>Aadvark</scope><name>get_aadvarkness</name></member>
|
|
||||||
<member refid="classAadvark_1abd061aa5f998002e72080a34f512a059" prot="public" virt="non-virtual"><scope>Aadvark</scope><name>print</name></member>
|
|
||||||
</listofallmembers>
|
|
||||||
</compounddef>
|
|
||||||
</doxygen>
|
|
|
@ -1,15 +0,0 @@
|
||||||
<!-- XSLT script to combine the generated output into a single file.
|
|
||||||
If you have xsltproc you could use:
|
|
||||||
xsltproc combine.xslt index.xml >all.xml
|
|
||||||
-->
|
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
||||||
<xsl:output method="xml" version="1.0" indent="yes" standalone="yes" />
|
|
||||||
<xsl:template match="/">
|
|
||||||
<doxygen version="{doxygenindex/@version}">
|
|
||||||
<!-- Load all doxgen generated xml files -->
|
|
||||||
<xsl:for-each select="doxygenindex/compound">
|
|
||||||
<xsl:copy-of select="document( concat( @refid, '.xml' ) )/doxygen/*" />
|
|
||||||
</xsl:for-each>
|
|
||||||
</doxygen>
|
|
||||||
</xsl:template>
|
|
||||||
</xsl:stylesheet>
|
|
|
@ -1,814 +0,0 @@
|
||||||
<?xml version='1.0' encoding='utf-8' ?>
|
|
||||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
||||||
<xsd:element name="doxygen" type="DoxygenType"/>
|
|
||||||
|
|
||||||
<!-- Complex types -->
|
|
||||||
|
|
||||||
<xsd:complexType name="DoxygenType">
|
|
||||||
<xsd:sequence maxOccurs="unbounded">
|
|
||||||
<xsd:element name="compounddef" type="compounddefType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="version" type="DoxVersionNumber" use="required" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="compounddefType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="compoundname" type="xsd:string"/>
|
|
||||||
<xsd:element name="title" type="xsd:string" minOccurs="0" />
|
|
||||||
<xsd:element name="basecompoundref" type="compoundRefType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="derivedcompoundref" type="compoundRefType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="includes" type="incType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="includedby" type="incType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="incdepgraph" type="graphType" minOccurs="0" />
|
|
||||||
<xsd:element name="invincdepgraph" type="graphType" minOccurs="0" />
|
|
||||||
<xsd:element name="innerdir" type="refType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="innerfile" type="refType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="innerclass" type="refType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="innernamespace" type="refType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="innerpage" type="refType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="innergroup" type="refType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="templateparamlist" type="templateparamlistType" minOccurs="0" />
|
|
||||||
<xsd:element name="sectiondef" type="sectiondefType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="detaileddescription" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="inheritancegraph" type="graphType" minOccurs="0" />
|
|
||||||
<xsd:element name="collaborationgraph" type="graphType" minOccurs="0" />
|
|
||||||
<xsd:element name="programlisting" type="listingType" minOccurs="0" />
|
|
||||||
<xsd:element name="location" type="locationType" minOccurs="0" />
|
|
||||||
<xsd:element name="listofallmembers" type="listofallmembersType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
<xsd:attribute name="kind" type="DoxCompoundKind" />
|
|
||||||
<xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="listofallmembersType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="member" type="memberRefType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="memberRefType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="scope" />
|
|
||||||
<xsd:element name="name" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
||||||
<xsd:attribute name="virt" type="DoxVirtualKind" />
|
|
||||||
<xsd:attribute name="ambiguityscope" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="compoundRefType" mixed="true">
|
|
||||||
<xsd:simpleContent>
|
|
||||||
<xsd:extension base="xsd:string">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" use="optional" />
|
|
||||||
<xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
||||||
<xsd:attribute name="virt" type="DoxVirtualKind" />
|
|
||||||
</xsd:extension>
|
|
||||||
</xsd:simpleContent>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="reimplementType" mixed="true">
|
|
||||||
<xsd:simpleContent>
|
|
||||||
<xsd:extension base="xsd:string">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
</xsd:extension>
|
|
||||||
</xsd:simpleContent>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="incType" mixed="true">
|
|
||||||
<xsd:simpleContent>
|
|
||||||
<xsd:extension base="xsd:string">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="local" type="DoxBool" />
|
|
||||||
</xsd:extension>
|
|
||||||
</xsd:simpleContent>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="refType" mixed="true">
|
|
||||||
<xsd:simpleContent>
|
|
||||||
<xsd:extension base="xsd:string">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="prot" type="DoxProtectionKind" use="optional"/>
|
|
||||||
</xsd:extension>
|
|
||||||
</xsd:simpleContent>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="refTextType" mixed="true">
|
|
||||||
<xsd:simpleContent>
|
|
||||||
<xsd:extension base="xsd:string">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="kindref" type="DoxRefKind" />
|
|
||||||
<xsd:attribute name="external" type="xsd:string" use="optional"/>
|
|
||||||
<xsd:attribute name="tooltip" type="xsd:string" use="optional"/>
|
|
||||||
</xsd:extension>
|
|
||||||
</xsd:simpleContent>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="sectiondefType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="header" type="xsd:string" minOccurs="0" />
|
|
||||||
<xsd:element name="description" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="memberdef" type="memberdefType" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="kind" type="DoxSectionKind" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="memberdefType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="templateparamlist" type="templateparamlistType" minOccurs="0" />
|
|
||||||
<xsd:element name="type" type="linkedTextType" minOccurs="0" />
|
|
||||||
<xsd:element name="definition" minOccurs="0" />
|
|
||||||
<xsd:element name="argsstring" minOccurs="0" />
|
|
||||||
<xsd:element name="name" />
|
|
||||||
<xsd:element name="read" minOccurs="0" />
|
|
||||||
<xsd:element name="write" minOccurs="0" />
|
|
||||||
<xsd:element name="bitfield" minOccurs="0" />
|
|
||||||
<xsd:element name="reimplements" type="reimplementType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="reimplementedby" type="reimplementType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="param" type="paramType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="enumvalue" type="enumvalueType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
||||||
<xsd:element name="exceptions" type="linkedTextType" minOccurs="0" />
|
|
||||||
<xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="detaileddescription" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="inbodydescription" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="location" type="locationType" />
|
|
||||||
<xsd:element name="references" type="referenceType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="referencedby" type="referenceType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="kind" type="DoxMemberKind" />
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
<xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
||||||
<xsd:attribute name="static" type="DoxBool" />
|
|
||||||
<xsd:attribute name="const" type="DoxBool" />
|
|
||||||
<xsd:attribute name="explicit" type="DoxBool" />
|
|
||||||
<xsd:attribute name="inline" type="DoxBool" />
|
|
||||||
<xsd:attribute name="virt" type="DoxVirtualKind" />
|
|
||||||
<xsd:attribute name="volatile" type="DoxBool" />
|
|
||||||
<xsd:attribute name="mutable" type="DoxBool" />
|
|
||||||
<!-- Qt property -->
|
|
||||||
<xsd:attribute name="readable" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="writable" type="DoxBool" use="optional"/>
|
|
||||||
<!-- C++/CLI variable -->
|
|
||||||
<xsd:attribute name="initonly" type="DoxBool" use="optional"/>
|
|
||||||
<!-- C++/CLI and C# property -->
|
|
||||||
<xsd:attribute name="settable" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="gettable" type="DoxBool" use="optional"/>
|
|
||||||
<!-- C++/CLI function -->
|
|
||||||
<xsd:attribute name="final" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="sealed" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="new" type="DoxBool" use="optional"/>
|
|
||||||
<!-- C++/CLI event -->
|
|
||||||
<xsd:attribute name="add" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="remove" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="raise" type="DoxBool" use="optional"/>
|
|
||||||
<!-- Objective-C 2.0 protocol method -->
|
|
||||||
<xsd:attribute name="optional" type="DoxBool" use="optional"/>
|
|
||||||
<xsd:attribute name="required" type="DoxBool" use="optional"/>
|
|
||||||
<!-- Objective-C 2.0 property accessor -->
|
|
||||||
<xsd:attribute name="accessor" type="DoxAccessor" use="optional"/>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="descriptionType" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="title" type="xsd:string" minOccurs="0"/>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect1" type="docSect1Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="internal" type="docInternalType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="enumvalueType" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="name" />
|
|
||||||
<xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
|
|
||||||
<xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
|
|
||||||
<xsd:element name="detaileddescription" type="descriptionType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
<xsd:attribute name="prot" type="DoxProtectionKind" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="templateparamlistType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="param" type="paramType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="paramType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="type" type="linkedTextType" minOccurs="0" />
|
|
||||||
<xsd:element name="declname" minOccurs="0" />
|
|
||||||
<xsd:element name="defname" minOccurs="0" />
|
|
||||||
<xsd:element name="array" minOccurs="0" />
|
|
||||||
<xsd:element name="defval" type="linkedTextType" minOccurs="0" />
|
|
||||||
<xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="linkedTextType" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="graphType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="node" type="nodeType" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="nodeType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="label" />
|
|
||||||
<xsd:element name="link" type="linkType" minOccurs="0" />
|
|
||||||
<xsd:element name="childnode" type="childnodeType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="childnodeType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="edgelabel" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="relation" type="DoxGraphRelation" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="linkType">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="external" type="xsd:string" use="optional"/>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="listingType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="codeline" type="codelineType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="codelineType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="highlight" type="highlightType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="lineno" type="xsd:integer" />
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="refkind" type="DoxRefKind" />
|
|
||||||
<xsd:attribute name="external" type="DoxBool" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="highlightType" mixed="true">
|
|
||||||
<xsd:choice minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xsd:element name="sp" />
|
|
||||||
<xsd:element name="ref" type="refTextType" />
|
|
||||||
</xsd:choice>
|
|
||||||
<xsd:attribute name="class" type="DoxHighlightClass" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="referenceType" mixed="true">
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="compoundref" type="xsd:string" use="optional" />
|
|
||||||
<xsd:attribute name="startline" type="xsd:integer" />
|
|
||||||
<xsd:attribute name="endline" type="xsd:integer" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="locationType">
|
|
||||||
<xsd:attribute name="file" type="xsd:string" />
|
|
||||||
<xsd:attribute name="line" type="xsd:integer" />
|
|
||||||
<xsd:attribute name="bodyfile" type="xsd:string" />
|
|
||||||
<xsd:attribute name="bodystart" type="xsd:integer" />
|
|
||||||
<xsd:attribute name="bodyend" type="xsd:integer" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docSect1Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="title" type="xsd:string" />
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect2" type="docSect2Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="internal" type="docInternalS1Type" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docSect2Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="title" type="xsd:string" />
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect3" type="docSect3Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="internal" type="docInternalS2Type" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docSect3Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="title" type="xsd:string" />
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect4" type="docSect4Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="internal" type="docInternalS3Type" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docSect4Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="title" type="xsd:string" />
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="internal" type="docInternalS4Type" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docInternalType" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect1" type="docSect1Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docInternalS1Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect2" type="docSect2Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docInternalS2Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect3" type="docSect3Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docInternalS3Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect3" type="docSect4Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docInternalS4Type" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:group name="docTitleCmdGroup">
|
|
||||||
<xsd:choice>
|
|
||||||
<xsd:element name="ulink" type="docURLLink" />
|
|
||||||
<xsd:element name="bold" type="docMarkupType" />
|
|
||||||
<xsd:element name="emphasis" type="docMarkupType" />
|
|
||||||
<xsd:element name="computeroutput" type="docMarkupType" />
|
|
||||||
<xsd:element name="subscript" type="docMarkupType" />
|
|
||||||
<xsd:element name="superscript" type="docMarkupType" />
|
|
||||||
<xsd:element name="center" type="docMarkupType" />
|
|
||||||
<xsd:element name="small" type="docMarkupType" />
|
|
||||||
<xsd:element name="htmlonly" type="xsd:string" />
|
|
||||||
<xsd:element name="latexonly" type="xsd:string" />
|
|
||||||
<xsd:element name="dot" type="xsd:string" />
|
|
||||||
<xsd:element name="anchor" type="docAnchorType" />
|
|
||||||
<xsd:element name="formula" type="docFormulaType" />
|
|
||||||
<xsd:element name="ref" type="docRefTextType" />
|
|
||||||
<xsd:element name="copy" type="docEmptyType" />
|
|
||||||
<xsd:element name="trademark" type="docEmptyType" />
|
|
||||||
<xsd:element name="registered" type="docEmptyType" />
|
|
||||||
<xsd:element name="lsquo" type="docEmptyType" />
|
|
||||||
<xsd:element name="rsquo" type="docEmptyType" />
|
|
||||||
<xsd:element name="ldquo" type="docEmptyType" />
|
|
||||||
<xsd:element name="rdquo" type="docEmptyType" />
|
|
||||||
<xsd:element name="ndash" type="docEmptyType" />
|
|
||||||
<xsd:element name="mdash" type="docEmptyType" />
|
|
||||||
<xsd:element name="umlaut" type="docCharType" />
|
|
||||||
<xsd:element name="acute" type="docCharType" />
|
|
||||||
<xsd:element name="grave" type="docCharType" />
|
|
||||||
<xsd:element name="circ" type="docCharType" />
|
|
||||||
<xsd:element name="slash" type="docCharType" />
|
|
||||||
<xsd:element name="tilde" type="docCharType" />
|
|
||||||
<xsd:element name="cedil" type="docCharType" />
|
|
||||||
<xsd:element name="ring" type="docCharType" />
|
|
||||||
<xsd:element name="szlig" type="docEmptyType" />
|
|
||||||
<xsd:element name="nonbreakablespace" type="docEmptyType" />
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:group>
|
|
||||||
|
|
||||||
<xsd:complexType name="docTitleType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:group name="docCmdGroup">
|
|
||||||
<xsd:choice>
|
|
||||||
<xsd:group ref="docTitleCmdGroup"/>
|
|
||||||
<xsd:element name="linebreak" type="docEmptyType" />
|
|
||||||
<xsd:element name="hruler" type="docEmptyType" />
|
|
||||||
<xsd:element name="preformatted" type="docMarkupType" />
|
|
||||||
<xsd:element name="programlisting" type="listingType" />
|
|
||||||
<xsd:element name="verbatim" type="xsd:string" />
|
|
||||||
<xsd:element name="indexentry" type="docIndexEntryType" />
|
|
||||||
<xsd:element name="orderedlist" type="docListType" />
|
|
||||||
<xsd:element name="itemizedlist" type="docListType" />
|
|
||||||
<xsd:element name="simplesect" type="docSimpleSectType" />
|
|
||||||
<xsd:element name="title" type="docTitleType" />
|
|
||||||
<xsd:element name="variablelist" type="docVariableListType" />
|
|
||||||
<xsd:element name="table" type="docTableType" />
|
|
||||||
<xsd:element name="heading" type="docHeadingType" />
|
|
||||||
<xsd:element name="image" type="docImageType" />
|
|
||||||
<xsd:element name="dotfile" type="docDotFileType" />
|
|
||||||
<xsd:element name="toclist" type="docTocListType" />
|
|
||||||
<xsd:element name="language" type="docLanguageType" />
|
|
||||||
<xsd:element name="parameterlist" type="docParamListType" />
|
|
||||||
<xsd:element name="xrefsect" type="docXRefSectType" />
|
|
||||||
<xsd:element name="copydoc" type="docCopyType" />
|
|
||||||
</xsd:choice>
|
|
||||||
</xsd:group>
|
|
||||||
|
|
||||||
<xsd:complexType name="docParaType" mixed="true">
|
|
||||||
<xsd:group ref="docCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docMarkupType" mixed="true">
|
|
||||||
<xsd:group ref="docCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docURLLink" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:attribute name="url" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docAnchorType" mixed="true">
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docFormulaType" mixed="true">
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docIndexEntryType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="primaryie" type="xsd:string" />
|
|
||||||
<xsd:element name="secondaryie" type="xsd:string" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docListType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="listitem" type="docListItemType" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docListItemType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docSimpleSectType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="title" type="docTitleType" minOccurs="0" />
|
|
||||||
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="1" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="simplesectsep" type="docEmptyType" minOccurs="0"/>
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="kind" type="DoxSimpleSectKind" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docVarListEntryType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="term" type="docTitleType" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:group name="docVariableListGroup">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="varlistentry" type="docVarListEntryType" />
|
|
||||||
<xsd:element name="listitem" type="docListItemType" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:group>
|
|
||||||
|
|
||||||
<xsd:complexType name="docVariableListType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:group ref="docVariableListGroup" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docRefTextType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" />
|
|
||||||
<xsd:attribute name="kindref" type="DoxRefKind" />
|
|
||||||
<xsd:attribute name="external" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docTableType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="row" type="docRowType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="caption" type="docCaptionType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="rows" type="xsd:integer" />
|
|
||||||
<xsd:attribute name="cols" type="xsd:integer" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docRowType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="entry" type="docEntryType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docEntryType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="thead" type="DoxBool" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docCaptionType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docHeadingType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:attribute name="level" type="xsd:integer" /> <!-- todo: range 1-6 -->
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docImageType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:attribute name="type" type="DoxImageKind" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
<xsd:attribute name="width" type="xsd:string" />
|
|
||||||
<xsd:attribute name="height" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docDotFileType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docTocItemType" mixed="true">
|
|
||||||
<xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docTocListType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="tocitem" type="docTocItemType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docLanguageType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="langid" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docParamListType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="parameteritem" type="docParamListItem" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="kind" type="DoxParamListKind" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docParamListItem">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="parameternamelist" type="docParamNameList" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="parameterdescription" type="descriptionType" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docParamNameList">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="parametername" type="docParamName" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
</xsd:sequence>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docParamName" mixed="true">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="1" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="direction" type="DoxParamDir" use="optional" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docXRefSectType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="xreftitle" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="xrefdescription" type="descriptionType" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="id" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docCopyType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="sect1" type="docSect1Type" minOccurs="0" maxOccurs="unbounded" />
|
|
||||||
<xsd:element name="internal" type="docInternalType" minOccurs="0" />
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="link" type="xsd:string" />
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docCharType">
|
|
||||||
<xsd:attribute name="char" type="DoxCharRange"/>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="docEmptyType"/>
|
|
||||||
|
|
||||||
<!-- Simple types -->
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxBool">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="yes" />
|
|
||||||
<xsd:enumeration value="no" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxGraphRelation">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="include" />
|
|
||||||
<xsd:enumeration value="usage" />
|
|
||||||
<xsd:enumeration value="template-instance" />
|
|
||||||
<xsd:enumeration value="public-inheritance" />
|
|
||||||
<xsd:enumeration value="protected-inheritance" />
|
|
||||||
<xsd:enumeration value="private-inheritance" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxRefKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="compound" />
|
|
||||||
<xsd:enumeration value="member" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxMemberKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="define" />
|
|
||||||
<xsd:enumeration value="property" />
|
|
||||||
<xsd:enumeration value="event" />
|
|
||||||
<xsd:enumeration value="variable" />
|
|
||||||
<xsd:enumeration value="typedef" />
|
|
||||||
<xsd:enumeration value="enum" />
|
|
||||||
<xsd:enumeration value="function" />
|
|
||||||
<xsd:enumeration value="signal" />
|
|
||||||
<xsd:enumeration value="prototype" />
|
|
||||||
<xsd:enumeration value="friend" />
|
|
||||||
<xsd:enumeration value="dcop" />
|
|
||||||
<xsd:enumeration value="slot" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxProtectionKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="public" />
|
|
||||||
<xsd:enumeration value="protected" />
|
|
||||||
<xsd:enumeration value="private" />
|
|
||||||
<xsd:enumeration value="package" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxVirtualKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="non-virtual" />
|
|
||||||
<xsd:enumeration value="virtual" />
|
|
||||||
<xsd:enumeration value="pure-virtual" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxCompoundKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="class" />
|
|
||||||
<xsd:enumeration value="struct" />
|
|
||||||
<xsd:enumeration value="union" />
|
|
||||||
<xsd:enumeration value="interface" />
|
|
||||||
<xsd:enumeration value="protocol" />
|
|
||||||
<xsd:enumeration value="category" />
|
|
||||||
<xsd:enumeration value="exception" />
|
|
||||||
<xsd:enumeration value="file" />
|
|
||||||
<xsd:enumeration value="namespace" />
|
|
||||||
<xsd:enumeration value="group" />
|
|
||||||
<xsd:enumeration value="page" />
|
|
||||||
<xsd:enumeration value="example" />
|
|
||||||
<xsd:enumeration value="dir" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxSectionKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="user-defined" />
|
|
||||||
<xsd:enumeration value="public-type" />
|
|
||||||
<xsd:enumeration value="public-func" />
|
|
||||||
<xsd:enumeration value="public-attrib" />
|
|
||||||
<xsd:enumeration value="public-slot" />
|
|
||||||
<xsd:enumeration value="signal" />
|
|
||||||
<xsd:enumeration value="dcop-func" />
|
|
||||||
<xsd:enumeration value="property" />
|
|
||||||
<xsd:enumeration value="event" />
|
|
||||||
<xsd:enumeration value="public-static-func" />
|
|
||||||
<xsd:enumeration value="public-static-attrib" />
|
|
||||||
<xsd:enumeration value="protected-type" />
|
|
||||||
<xsd:enumeration value="protected-func" />
|
|
||||||
<xsd:enumeration value="protected-attrib" />
|
|
||||||
<xsd:enumeration value="protected-slot" />
|
|
||||||
<xsd:enumeration value="protected-static-func" />
|
|
||||||
<xsd:enumeration value="protected-static-attrib" />
|
|
||||||
<xsd:enumeration value="package-type" />
|
|
||||||
<xsd:enumeration value="package-func" />
|
|
||||||
<xsd:enumeration value="package-attrib" />
|
|
||||||
<xsd:enumeration value="package-static-func" />
|
|
||||||
<xsd:enumeration value="package-static-attrib" />
|
|
||||||
<xsd:enumeration value="private-type" />
|
|
||||||
<xsd:enumeration value="private-func" />
|
|
||||||
<xsd:enumeration value="private-attrib" />
|
|
||||||
<xsd:enumeration value="private-slot" />
|
|
||||||
<xsd:enumeration value="private-static-func" />
|
|
||||||
<xsd:enumeration value="private-static-attrib" />
|
|
||||||
<xsd:enumeration value="friend" />
|
|
||||||
<xsd:enumeration value="related" />
|
|
||||||
<xsd:enumeration value="define" />
|
|
||||||
<xsd:enumeration value="prototype" />
|
|
||||||
<xsd:enumeration value="typedef" />
|
|
||||||
<xsd:enumeration value="enum" />
|
|
||||||
<xsd:enumeration value="func" />
|
|
||||||
<xsd:enumeration value="var" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxHighlightClass">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="comment" />
|
|
||||||
<xsd:enumeration value="normal" />
|
|
||||||
<xsd:enumeration value="preprocessor" />
|
|
||||||
<xsd:enumeration value="keyword" />
|
|
||||||
<xsd:enumeration value="keywordtype" />
|
|
||||||
<xsd:enumeration value="keywordflow" />
|
|
||||||
<xsd:enumeration value="stringliteral" />
|
|
||||||
<xsd:enumeration value="charliteral" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxSimpleSectKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="see" />
|
|
||||||
<xsd:enumeration value="return" />
|
|
||||||
<xsd:enumeration value="author" />
|
|
||||||
<xsd:enumeration value="authors" />
|
|
||||||
<xsd:enumeration value="version" />
|
|
||||||
<xsd:enumeration value="since" />
|
|
||||||
<xsd:enumeration value="date" />
|
|
||||||
<xsd:enumeration value="note" />
|
|
||||||
<xsd:enumeration value="warning" />
|
|
||||||
<xsd:enumeration value="pre" />
|
|
||||||
<xsd:enumeration value="post" />
|
|
||||||
<xsd:enumeration value="invariant" />
|
|
||||||
<xsd:enumeration value="remark" />
|
|
||||||
<xsd:enumeration value="attention" />
|
|
||||||
<xsd:enumeration value="par" />
|
|
||||||
<xsd:enumeration value="rcs" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxVersionNumber">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:pattern value="\d+\.\d+.*" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxImageKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="html" />
|
|
||||||
<xsd:enumeration value="latex" />
|
|
||||||
<xsd:enumeration value="rtf" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxParamListKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="param" />
|
|
||||||
<xsd:enumeration value="retval" />
|
|
||||||
<xsd:enumeration value="exception" />
|
|
||||||
<xsd:enumeration value="templateparam" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxCharRange">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:pattern value="[aeiouncAEIOUNC]" />
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxParamDir">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="in"/>
|
|
||||||
<xsd:enumeration value="out"/>
|
|
||||||
<xsd:enumeration value="inout"/>
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="DoxAccessor">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="retain"/>
|
|
||||||
<xsd:enumeration value="copy"/>
|
|
||||||
<xsd:enumeration value="assign"/>
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
</xsd:schema>
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
||||||
<doxygenindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="index.xsd" version="1.6.3">
|
|
||||||
<compound refid="classAadvark" kind="class"><name>Aadvark</name>
|
|
||||||
<member refid="classAadvark_1ab79eb58d7bb9d5ddfa5d6f783836cab9" kind="variable"><name>aadvarkness</name></member>
|
|
||||||
<member refid="classAadvark_1abd061aa5f998002e72080a34f512a059" kind="function"><name>print</name></member>
|
|
||||||
<member refid="classAadvark_1adf1a4b97a641411a74a04ab312484462" kind="function"><name>Aadvark</name></member>
|
|
||||||
<member refid="classAadvark_1affd2ada0a85807efcbe26615a848f53e" kind="function"><name>get_aadvarkness</name></member>
|
|
||||||
</compound>
|
|
||||||
<compound refid="aadvark_8cc" kind="file"><name>aadvark.cc</name>
|
|
||||||
<member refid="aadvark_8cc_1acb52858524210ec6dddc3e16d1e52946" kind="function"><name>aadvarky_enough</name></member>
|
|
||||||
<member refid="aadvark_8cc_1ae66f6b31b5ad750f1fe042a706a4e3d4" kind="function"><name>main</name></member>
|
|
||||||
</compound>
|
|
||||||
<compound refid="aadvark_8h" kind="file"><name>aadvark.h</name>
|
|
||||||
<member refid="aadvark_8h_1acb52858524210ec6dddc3e16d1e52946" kind="function"><name>aadvarky_enough</name></member>
|
|
||||||
<member refid="aadvark_8h_1ae66f6b31b5ad750f1fe042a706a4e3d4" kind="function"><name>main</name></member>
|
|
||||||
</compound>
|
|
||||||
</doxygenindex>
|
|
|
@ -1,66 +0,0 @@
|
||||||
<?xml version='1.0' encoding='utf-8' ?>
|
|
||||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
||||||
<xsd:element name="doxygenindex" type="DoxygenType"/>
|
|
||||||
|
|
||||||
<xsd:complexType name="DoxygenType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="version" type="xsd:string" use="required"/>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="CompoundType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="name" type="xsd:string"/>
|
|
||||||
<xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded"/>
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" use="required"/>
|
|
||||||
<xsd:attribute name="kind" type="CompoundKind" use="required"/>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:complexType name="MemberType">
|
|
||||||
<xsd:sequence>
|
|
||||||
<xsd:element name="name" type="xsd:string"/>
|
|
||||||
</xsd:sequence>
|
|
||||||
<xsd:attribute name="refid" type="xsd:string" use="required"/>
|
|
||||||
<xsd:attribute name="kind" type="MemberKind" use="required"/>
|
|
||||||
</xsd:complexType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="CompoundKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="class"/>
|
|
||||||
<xsd:enumeration value="struct"/>
|
|
||||||
<xsd:enumeration value="union"/>
|
|
||||||
<xsd:enumeration value="interface"/>
|
|
||||||
<xsd:enumeration value="protocol"/>
|
|
||||||
<xsd:enumeration value="category"/>
|
|
||||||
<xsd:enumeration value="exception"/>
|
|
||||||
<xsd:enumeration value="file"/>
|
|
||||||
<xsd:enumeration value="namespace"/>
|
|
||||||
<xsd:enumeration value="group"/>
|
|
||||||
<xsd:enumeration value="page"/>
|
|
||||||
<xsd:enumeration value="example"/>
|
|
||||||
<xsd:enumeration value="dir"/>
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
<xsd:simpleType name="MemberKind">
|
|
||||||
<xsd:restriction base="xsd:string">
|
|
||||||
<xsd:enumeration value="define"/>
|
|
||||||
<xsd:enumeration value="property"/>
|
|
||||||
<xsd:enumeration value="event"/>
|
|
||||||
<xsd:enumeration value="variable"/>
|
|
||||||
<xsd:enumeration value="typedef"/>
|
|
||||||
<xsd:enumeration value="enum"/>
|
|
||||||
<xsd:enumeration value="enumvalue"/>
|
|
||||||
<xsd:enumeration value="function"/>
|
|
||||||
<xsd:enumeration value="signal"/>
|
|
||||||
<xsd:enumeration value="prototype"/>
|
|
||||||
<xsd:enumeration value="friend"/>
|
|
||||||
<xsd:enumeration value="dcop"/>
|
|
||||||
<xsd:enumeration value="slot"/>
|
|
||||||
</xsd:restriction>
|
|
||||||
</xsd:simpleType>
|
|
||||||
|
|
||||||
</xsd:schema>
|
|
||||||
|
|
|
@ -5,3 +5,4 @@ These do the real work of parsing the doxygen xml files but the
|
||||||
resultant classes are not very friendly to navigate so the rest of the
|
resultant classes are not very friendly to navigate so the rest of the
|
||||||
doxyxml module processes them further.
|
doxyxml module processes them further.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
|
@ -3,15 +3,17 @@
|
||||||
"""
|
"""
|
||||||
Generated Mon Feb 9 19:08:05 2009 by generateDS.py.
|
Generated Mon Feb 9 19:08:05 2009 by generateDS.py.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import absolute_import
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
|
||||||
from string import lower as str_lower
|
|
||||||
from xml.dom import minidom
|
from xml.dom import minidom
|
||||||
from xml.dom import Node
|
from xml.dom import Node
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import compoundsuper as supermod
|
from . import compoundsuper as supermod
|
||||||
from compoundsuper import MixedContainer
|
from .compoundsuper import MixedContainer
|
||||||
|
|
||||||
|
|
||||||
class DoxygenTypeSub(supermod.DoxygenType):
|
class DoxygenTypeSub(supermod.DoxygenType):
|
||||||
|
|
|
@ -4,12 +4,17 @@
|
||||||
# Generated Thu Jun 11 18:44:25 2009 by generateDS.py.
|
# Generated Thu Jun 11 18:44:25 2009 by generateDS.py.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import getopt
|
|
||||||
from string import lower as str_lower
|
|
||||||
from xml.dom import minidom
|
from xml.dom import minidom
|
||||||
from xml.dom import Node
|
from xml.dom import Node
|
||||||
|
|
||||||
|
import six
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# User methods
|
# User methods
|
||||||
#
|
#
|
||||||
|
@ -19,9 +24,9 @@ from xml.dom import Node
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from generatedssuper import GeneratedsSuper
|
from generatedssuper import GeneratedsSuper
|
||||||
except ImportError, exp:
|
except ImportError as exp:
|
||||||
|
|
||||||
class GeneratedsSuper:
|
class GeneratedsSuper(object):
|
||||||
def format_string(self, input_data, input_name=''):
|
def format_string(self, input_data, input_name=''):
|
||||||
return input_data
|
return input_data
|
||||||
def format_integer(self, input_data, input_name=''):
|
def format_integer(self, input_data, input_name=''):
|
||||||
|
@ -64,7 +69,7 @@ def showIndent(outfile, level):
|
||||||
outfile.write(' ')
|
outfile.write(' ')
|
||||||
|
|
||||||
def quote_xml(inStr):
|
def quote_xml(inStr):
|
||||||
s1 = (isinstance(inStr, basestring) and inStr or
|
s1 = (isinstance(inStr, six.string_types) and inStr or
|
||||||
'%s' % inStr)
|
'%s' % inStr)
|
||||||
s1 = s1.replace('&', '&')
|
s1 = s1.replace('&', '&')
|
||||||
s1 = s1.replace('<', '<')
|
s1 = s1.replace('<', '<')
|
||||||
|
@ -72,7 +77,7 @@ def quote_xml(inStr):
|
||||||
return s1
|
return s1
|
||||||
|
|
||||||
def quote_attrib(inStr):
|
def quote_attrib(inStr):
|
||||||
s1 = (isinstance(inStr, basestring) and inStr or
|
s1 = (isinstance(inStr, six.string_types) and inStr or
|
||||||
'%s' % inStr)
|
'%s' % inStr)
|
||||||
s1 = s1.replace('&', '&')
|
s1 = s1.replace('&', '&')
|
||||||
s1 = s1.replace('<', '<')
|
s1 = s1.replace('<', '<')
|
||||||
|
@ -102,7 +107,7 @@ def quote_python(inStr):
|
||||||
return '"""%s"""' % s1
|
return '"""%s"""' % s1
|
||||||
|
|
||||||
|
|
||||||
class MixedContainer:
|
class MixedContainer(object):
|
||||||
# Constants for category:
|
# Constants for category:
|
||||||
CategoryNone = 0
|
CategoryNone = 0
|
||||||
CategoryText = 1
|
CategoryText = 1
|
||||||
|
@ -4221,7 +4226,7 @@ class codelineType(GeneratedsSuper):
|
||||||
if attrs.get('lineno'):
|
if attrs.get('lineno'):
|
||||||
try:
|
try:
|
||||||
self.lineno = int(attrs.get('lineno').value)
|
self.lineno = int(attrs.get('lineno').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (lineno): %s' % exp)
|
raise ValueError('Bad integer attribute (lineno): %s' % exp)
|
||||||
if attrs.get('refkind'):
|
if attrs.get('refkind'):
|
||||||
self.refkind = attrs.get('refkind').value
|
self.refkind = attrs.get('refkind').value
|
||||||
|
@ -4504,12 +4509,12 @@ class referenceType(GeneratedsSuper):
|
||||||
if attrs.get('endline'):
|
if attrs.get('endline'):
|
||||||
try:
|
try:
|
||||||
self.endline = int(attrs.get('endline').value)
|
self.endline = int(attrs.get('endline').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (endline): %s' % exp)
|
raise ValueError('Bad integer attribute (endline): %s' % exp)
|
||||||
if attrs.get('startline'):
|
if attrs.get('startline'):
|
||||||
try:
|
try:
|
||||||
self.startline = int(attrs.get('startline').value)
|
self.startline = int(attrs.get('startline').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (startline): %s' % exp)
|
raise ValueError('Bad integer attribute (startline): %s' % exp)
|
||||||
if attrs.get('refid'):
|
if attrs.get('refid'):
|
||||||
self.refid = attrs.get('refid').value
|
self.refid = attrs.get('refid').value
|
||||||
|
@ -4627,17 +4632,17 @@ class locationType(GeneratedsSuper):
|
||||||
if attrs.get('bodystart'):
|
if attrs.get('bodystart'):
|
||||||
try:
|
try:
|
||||||
self.bodystart = int(attrs.get('bodystart').value)
|
self.bodystart = int(attrs.get('bodystart').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (bodystart): %s' % exp)
|
raise ValueError('Bad integer attribute (bodystart): %s' % exp)
|
||||||
if attrs.get('line'):
|
if attrs.get('line'):
|
||||||
try:
|
try:
|
||||||
self.line = int(attrs.get('line').value)
|
self.line = int(attrs.get('line').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (line): %s' % exp)
|
raise ValueError('Bad integer attribute (line): %s' % exp)
|
||||||
if attrs.get('bodyend'):
|
if attrs.get('bodyend'):
|
||||||
try:
|
try:
|
||||||
self.bodyend = int(attrs.get('bodyend').value)
|
self.bodyend = int(attrs.get('bodyend').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (bodyend): %s' % exp)
|
raise ValueError('Bad integer attribute (bodyend): %s' % exp)
|
||||||
if attrs.get('bodyfile'):
|
if attrs.get('bodyfile'):
|
||||||
self.bodyfile = attrs.get('bodyfile').value
|
self.bodyfile = attrs.get('bodyfile').value
|
||||||
|
@ -6778,12 +6783,12 @@ class docTableType(GeneratedsSuper):
|
||||||
if attrs.get('rows'):
|
if attrs.get('rows'):
|
||||||
try:
|
try:
|
||||||
self.rows = int(attrs.get('rows').value)
|
self.rows = int(attrs.get('rows').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (rows): %s' % exp)
|
raise ValueError('Bad integer attribute (rows): %s' % exp)
|
||||||
if attrs.get('cols'):
|
if attrs.get('cols'):
|
||||||
try:
|
try:
|
||||||
self.cols = int(attrs.get('cols').value)
|
self.cols = int(attrs.get('cols').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (cols): %s' % exp)
|
raise ValueError('Bad integer attribute (cols): %s' % exp)
|
||||||
def buildChildren(self, child_, nodeName_):
|
def buildChildren(self, child_, nodeName_):
|
||||||
if child_.nodeType == Node.ELEMENT_NODE and \
|
if child_.nodeType == Node.ELEMENT_NODE and \
|
||||||
|
@ -7108,7 +7113,7 @@ class docHeadingType(GeneratedsSuper):
|
||||||
if attrs.get('level'):
|
if attrs.get('level'):
|
||||||
try:
|
try:
|
||||||
self.level = int(attrs.get('level').value)
|
self.level = int(attrs.get('level').value)
|
||||||
except ValueError, exp:
|
except ValueError as exp:
|
||||||
raise ValueError('Bad integer attribute (level): %s' % exp)
|
raise ValueError('Bad integer attribute (level): %s' % exp)
|
||||||
def buildChildren(self, child_, nodeName_):
|
def buildChildren(self, child_, nodeName_):
|
||||||
if child_.nodeType == Node.TEXT_NODE:
|
if child_.nodeType == Node.TEXT_NODE:
|
||||||
|
@ -8283,7 +8288,7 @@ Options:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def usage():
|
def usage():
|
||||||
print USAGE_TEXT
|
print(USAGE_TEXT)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
@ -8339,4 +8344,3 @@ if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
#import pdb
|
#import pdb
|
||||||
#pdb.run('main()')
|
#pdb.run('main()')
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,16 @@
|
||||||
"""
|
"""
|
||||||
Generated Mon Feb 9 19:08:05 2009 by generateDS.py.
|
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
|
from xml.dom import minidom
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import compound
|
from . import compound
|
||||||
|
|
||||||
import indexsuper as supermod
|
from . import indexsuper as supermod
|
||||||
|
|
||||||
class DoxygenTypeSub(supermod.DoxygenType):
|
class DoxygenTypeSub(supermod.DoxygenType):
|
||||||
def __init__(self, version=None, compound=None):
|
def __init__(self, version=None, compound=None):
|
||||||
|
|
|
@ -4,12 +4,16 @@
|
||||||
# Generated Thu Jun 11 18:43:54 2009 by generateDS.py.
|
# Generated Thu Jun 11 18:43:54 2009 by generateDS.py.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
from __future__ import print_function
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import getopt
|
|
||||||
from string import lower as str_lower
|
|
||||||
from xml.dom import minidom
|
from xml.dom import minidom
|
||||||
from xml.dom import Node
|
from xml.dom import Node
|
||||||
|
|
||||||
|
import six
|
||||||
|
|
||||||
#
|
#
|
||||||
# User methods
|
# User methods
|
||||||
#
|
#
|
||||||
|
@ -19,9 +23,9 @@ from xml.dom import Node
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from generatedssuper import GeneratedsSuper
|
from generatedssuper import GeneratedsSuper
|
||||||
except ImportError, exp:
|
except ImportError as exp:
|
||||||
|
|
||||||
class GeneratedsSuper:
|
class GeneratedsSuper(object):
|
||||||
def format_string(self, input_data, input_name=''):
|
def format_string(self, input_data, input_name=''):
|
||||||
return input_data
|
return input_data
|
||||||
def format_integer(self, input_data, input_name=''):
|
def format_integer(self, input_data, input_name=''):
|
||||||
|
@ -64,7 +68,7 @@ def showIndent(outfile, level):
|
||||||
outfile.write(' ')
|
outfile.write(' ')
|
||||||
|
|
||||||
def quote_xml(inStr):
|
def quote_xml(inStr):
|
||||||
s1 = (isinstance(inStr, basestring) and inStr or
|
s1 = (isinstance(inStr, six.string_types) and inStr or
|
||||||
'%s' % inStr)
|
'%s' % inStr)
|
||||||
s1 = s1.replace('&', '&')
|
s1 = s1.replace('&', '&')
|
||||||
s1 = s1.replace('<', '<')
|
s1 = s1.replace('<', '<')
|
||||||
|
@ -72,7 +76,7 @@ def quote_xml(inStr):
|
||||||
return s1
|
return s1
|
||||||
|
|
||||||
def quote_attrib(inStr):
|
def quote_attrib(inStr):
|
||||||
s1 = (isinstance(inStr, basestring) and inStr or
|
s1 = (isinstance(inStr, six.string_types) and inStr or
|
||||||
'%s' % inStr)
|
'%s' % inStr)
|
||||||
s1 = s1.replace('&', '&')
|
s1 = s1.replace('&', '&')
|
||||||
s1 = s1.replace('<', '<')
|
s1 = s1.replace('<', '<')
|
||||||
|
@ -102,7 +106,7 @@ def quote_python(inStr):
|
||||||
return '"""%s"""' % s1
|
return '"""%s"""' % s1
|
||||||
|
|
||||||
|
|
||||||
class MixedContainer:
|
class MixedContainer(object):
|
||||||
# Constants for category:
|
# Constants for category:
|
||||||
CategoryNone = 0
|
CategoryNone = 0
|
||||||
CategoryText = 1
|
CategoryText = 1
|
||||||
|
@ -462,7 +466,7 @@ Options:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def usage():
|
def usage():
|
||||||
print USAGE_TEXT
|
print(USAGE_TEXT)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
@ -520,4 +524,3 @@ if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
#import pdb
|
#import pdb
|
||||||
#pdb.run('main()')
|
#pdb.run('main()')
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#
|
#
|
||||||
# Copyright 2010 Free Software Foundation, Inc.
|
# Copyright 2010 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file was generated by gr_modtool, a tool from the GNU Radio framework
|
||||||
|
# This file is a part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# GNU Radio is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -21,12 +22,13 @@
|
||||||
"""
|
"""
|
||||||
Utilities for extracting text from generated classes.
|
Utilities for extracting text from generated classes.
|
||||||
"""
|
"""
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
def is_string(txt):
|
def is_string(txt):
|
||||||
if isinstance(txt, str):
|
if isinstance(txt, str):
|
||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
if isinstance(txt, unicode):
|
if isinstance(txt, str):
|
||||||
return True
|
return True
|
||||||
except NameError:
|
except NameError:
|
||||||
pass
|
pass
|
||||||
|
@ -49,7 +51,7 @@ def description_bit(obj):
|
||||||
elif is_string(obj):
|
elif is_string(obj):
|
||||||
return obj
|
return obj
|
||||||
else:
|
else:
|
||||||
raise StandardError('Expecting a string or something with content, content_ or value attribute')
|
raise Exception('Expecting a string or something with content, content_ or value attribute')
|
||||||
# If this bit is a paragraph then add one some line breaks.
|
# If this bit is a paragraph then add one some line breaks.
|
||||||
if hasattr(obj, 'name') and obj.name == 'para':
|
if hasattr(obj, 'name') and obj.name == 'para':
|
||||||
result += "\n\n"
|
result += "\n\n"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/*!
|
/*!
|
||||||
* \defgroup block GNU Radio OsmoSDR C++ Signal Processing Blocks
|
* \defgroup block GNU Radio TEST C++ Signal Processing Blocks
|
||||||
* \brief All C++ blocks that can be used from the OsmoSDR GNU Radio
|
* \brief All C++ blocks that can be used from the TEST GNU Radio
|
||||||
* module are listed here or in the subcategories below.
|
* module are listed here or in the subcategories below.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
/*! \mainpage
|
/*! \mainpage
|
||||||
|
|
||||||
Welcome to the OsmoSDR GNUradio blocks
|
Welcome to the GNU Radio TEST Block
|
||||||
|
|
||||||
|
This is the intro page for the Doxygen manual generated for the TEST
|
||||||
|
block (docs/doxygen/other/main_page.dox). Edit it to add more detailed
|
||||||
|
documentation about the new GNU Radio modules contained in this
|
||||||
|
project.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#
|
#
|
||||||
# Copyright 2010,2011 Free Software Foundation, Inc.
|
# Copyright 2010-2012 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of GNU Radio
|
# This file was generated by gr_modtool, a tool from the GNU Radio framework
|
||||||
|
# This file is a part of gr-osmosdr
|
||||||
#
|
#
|
||||||
# GNU Radio is free software; you can redistribute it and/or modify
|
# GNU Radio is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -26,14 +27,12 @@ The file instructs SWIG to transfer the doxygen comments into the
|
||||||
python docstrings.
|
python docstrings.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import sys
|
import sys, time
|
||||||
|
|
||||||
try:
|
|
||||||
from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile, base
|
|
||||||
except ImportError:
|
|
||||||
from gnuradio.doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile, base
|
|
||||||
|
|
||||||
|
from doxyxml import DoxyIndex, DoxyClass, DoxyFriend, DoxyFunction, DoxyFile
|
||||||
|
from doxyxml import DoxyOther, base
|
||||||
|
|
||||||
def py_name(name):
|
def py_name(name):
|
||||||
bits = name.split('_')
|
bits = name.split('_')
|
||||||
|
@ -56,18 +55,41 @@ class Block(object):
|
||||||
# Check for a parsing error.
|
# Check for a parsing error.
|
||||||
if item.error():
|
if item.error():
|
||||||
return False
|
return False
|
||||||
return item.has_member(make_name(item.name()), DoxyFriend)
|
friendname = make_name(item.name())
|
||||||
|
is_a_block = item.has_member(friendname, DoxyFriend)
|
||||||
|
# But now sometimes the make function isn't a friend so check again.
|
||||||
|
if not is_a_block:
|
||||||
|
is_a_block = di.has_member(friendname, DoxyFunction)
|
||||||
|
return is_a_block
|
||||||
|
|
||||||
|
class Block2(object):
|
||||||
|
"""
|
||||||
|
Checks if doxyxml produced objects correspond to a new style
|
||||||
|
gnuradio block.
|
||||||
|
"""
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def includes(cls, item):
|
||||||
|
if not isinstance(item, DoxyClass):
|
||||||
|
return False
|
||||||
|
# Check for a parsing error.
|
||||||
|
if item.error():
|
||||||
|
return False
|
||||||
|
is_a_block2 = item.has_member('make', DoxyFunction) and item.has_member('sptr', DoxyOther)
|
||||||
|
return is_a_block2
|
||||||
|
|
||||||
|
|
||||||
def utoascii(text):
|
def utoascii(text):
|
||||||
"""
|
"""
|
||||||
Convert unicode text into ascii and escape quotes.
|
Convert unicode text into ascii and escape quotes and backslashes.
|
||||||
"""
|
"""
|
||||||
if text is None:
|
if text is None:
|
||||||
return ''
|
return ''
|
||||||
out = text.encode('ascii', 'replace')
|
out = text.encode('ascii', 'replace')
|
||||||
out = out.replace('"', '\\"')
|
# swig will require us to replace blackslash with 4 backslashes
|
||||||
return out
|
out = out.replace(b'\\', b'\\\\\\\\')
|
||||||
|
out = out.replace(b'"', b'\\"').decode('ascii')
|
||||||
|
return str(out)
|
||||||
|
|
||||||
|
|
||||||
def combine_descriptions(obj):
|
def combine_descriptions(obj):
|
||||||
|
@ -83,9 +105,15 @@ def combine_descriptions(obj):
|
||||||
description.append(dd)
|
description.append(dd)
|
||||||
return utoascii('\n\n'.join(description)).strip()
|
return utoascii('\n\n'.join(description)).strip()
|
||||||
|
|
||||||
|
def format_params(parameteritems):
|
||||||
|
output = ['Args:']
|
||||||
|
template = ' {0} : {1}'
|
||||||
|
for pi in parameteritems:
|
||||||
|
output.append(template.format(pi.name, pi.description))
|
||||||
|
return '\n'.join(output)
|
||||||
|
|
||||||
entry_templ = '%feature("docstring") {name} "{docstring}"'
|
entry_templ = '%feature("docstring") {name} "{docstring}"'
|
||||||
def make_entry(obj, name=None, templ="{description}", description=None):
|
def make_entry(obj, name=None, templ="{description}", description=None, params=[]):
|
||||||
"""
|
"""
|
||||||
Create a docstring entry for a swig interface file.
|
Create a docstring entry for a swig interface file.
|
||||||
|
|
||||||
|
@ -102,6 +130,9 @@ def make_entry(obj, name=None, templ="{description}", description=None):
|
||||||
return ''
|
return ''
|
||||||
if description is None:
|
if description is None:
|
||||||
description = combine_descriptions(obj)
|
description = combine_descriptions(obj)
|
||||||
|
if params:
|
||||||
|
description += '\n\n'
|
||||||
|
description += utoascii(format_params(params))
|
||||||
docstring = templ.format(description=description)
|
docstring = templ.format(description=description)
|
||||||
if not docstring:
|
if not docstring:
|
||||||
return ''
|
return ''
|
||||||
|
@ -121,27 +152,31 @@ def make_func_entry(func, name=None, description=None, params=None):
|
||||||
used as the description instead of extracting it from func.
|
used as the description instead of extracting it from func.
|
||||||
params - a parameter list that overrides using func.params.
|
params - a parameter list that overrides using func.params.
|
||||||
"""
|
"""
|
||||||
if params is None:
|
#if params is None:
|
||||||
params = func.params
|
# params = func.params
|
||||||
params = [prm.declname for prm in params]
|
#params = [prm.declname for prm in params]
|
||||||
if params:
|
#if params:
|
||||||
sig = "Params: (%s)" % ", ".join(params)
|
# sig = "Params: (%s)" % ", ".join(params)
|
||||||
else:
|
#else:
|
||||||
sig = "Params: (NONE)"
|
# sig = "Params: (NONE)"
|
||||||
templ = "{description}\n\n" + sig
|
#templ = "{description}\n\n" + sig
|
||||||
return make_entry(func, name=name, templ=utoascii(templ),
|
#return make_entry(func, name=name, templ=utoascii(templ),
|
||||||
description=description)
|
# description=description)
|
||||||
|
return make_entry(func, name=name, description=description, params=params)
|
||||||
|
|
||||||
|
|
||||||
def make_class_entry(klass, description=None):
|
def make_class_entry(klass, description=None, ignored_methods=[], params=None):
|
||||||
"""
|
"""
|
||||||
Create a class docstring for a swig interface file.
|
Create a class docstring for a swig interface file.
|
||||||
"""
|
"""
|
||||||
|
if params is None:
|
||||||
|
params = klass.params
|
||||||
output = []
|
output = []
|
||||||
output.append(make_entry(klass, description=description))
|
output.append(make_entry(klass, description=description, params=params))
|
||||||
for func in klass.in_category(DoxyFunction):
|
for func in klass.in_category(DoxyFunction):
|
||||||
name = klass.name() + '::' + func.name()
|
if func.name() not in ignored_methods:
|
||||||
output.append(make_func_entry(func, name=name))
|
name = klass.name() + '::' + func.name()
|
||||||
|
output.append(make_func_entry(func, name=name))
|
||||||
return "\n\n".join(output)
|
return "\n\n".join(output)
|
||||||
|
|
||||||
|
|
||||||
|
@ -175,11 +210,33 @@ def make_block_entry(di, block):
|
||||||
# the make function.
|
# the make function.
|
||||||
output = []
|
output = []
|
||||||
output.append(make_class_entry(block, description=super_description))
|
output.append(make_class_entry(block, description=super_description))
|
||||||
creator = block.get_member(block.name(), DoxyFunction)
|
|
||||||
output.append(make_func_entry(make_func, description=super_description,
|
output.append(make_func_entry(make_func, description=super_description,
|
||||||
params=creator.params))
|
params=block.params))
|
||||||
return "\n\n".join(output)
|
return "\n\n".join(output)
|
||||||
|
|
||||||
|
def make_block2_entry(di, block):
|
||||||
|
"""
|
||||||
|
Create class and function docstrings of a new style gnuradio block for a
|
||||||
|
swig interface file.
|
||||||
|
"""
|
||||||
|
descriptions = []
|
||||||
|
# For new style blocks all the relevant documentation should be
|
||||||
|
# associated with the 'make' method.
|
||||||
|
class_description = combine_descriptions(block)
|
||||||
|
make_func = block.get_member('make', DoxyFunction)
|
||||||
|
make_description = combine_descriptions(make_func)
|
||||||
|
description = class_description + "\n\nConstructor Specific Documentation:\n\n" + make_description
|
||||||
|
# Associate the combined description with the class and
|
||||||
|
# the make function.
|
||||||
|
output = []
|
||||||
|
output.append(make_class_entry(
|
||||||
|
block, description=description,
|
||||||
|
ignored_methods=['make'], params=make_func.params))
|
||||||
|
makename = block.name() + '::make'
|
||||||
|
output.append(make_func_entry(
|
||||||
|
make_func, name=makename, description=description,
|
||||||
|
params=make_func.params))
|
||||||
|
return "\n\n".join(output)
|
||||||
|
|
||||||
def make_swig_interface_file(di, swigdocfilename, custom_output=None):
|
def make_swig_interface_file(di, swigdocfilename, custom_output=None):
|
||||||
|
|
||||||
|
@ -196,39 +253,59 @@ def make_swig_interface_file(di, swigdocfilename, custom_output=None):
|
||||||
|
|
||||||
# Create docstrings for the blocks.
|
# Create docstrings for the blocks.
|
||||||
blocks = di.in_category(Block)
|
blocks = di.in_category(Block)
|
||||||
|
blocks2 = di.in_category(Block2)
|
||||||
|
|
||||||
make_funcs = set([])
|
make_funcs = set([])
|
||||||
for block in blocks:
|
for block in blocks:
|
||||||
try:
|
try:
|
||||||
make_func = di.get_member(make_name(block.name()), DoxyFunction)
|
make_func = di.get_member(make_name(block.name()), DoxyFunction)
|
||||||
make_funcs.add(make_func.name())
|
# Don't want to risk writing to output twice.
|
||||||
output.append(make_block_entry(di, block))
|
if make_func.name() not in make_funcs:
|
||||||
|
make_funcs.add(make_func.name())
|
||||||
|
output.append(make_block_entry(di, block))
|
||||||
except block.ParsingError:
|
except block.ParsingError:
|
||||||
print('Parsing error for block %s' % block.name())
|
sys.stderr.write('Parsing error for block {0}\n'.format(block.name()))
|
||||||
|
raise
|
||||||
|
|
||||||
|
for block in blocks2:
|
||||||
|
try:
|
||||||
|
make_func = block.get_member('make', DoxyFunction)
|
||||||
|
make_func_name = block.name() +'::make'
|
||||||
|
# Don't want to risk writing to output twice.
|
||||||
|
if make_func_name not in make_funcs:
|
||||||
|
make_funcs.add(make_func_name)
|
||||||
|
output.append(make_block2_entry(di, block))
|
||||||
|
except block.ParsingError:
|
||||||
|
sys.stderr.write('Parsing error for block {0}\n'.format(block.name()))
|
||||||
|
raise
|
||||||
|
|
||||||
# Create docstrings for functions
|
# Create docstrings for functions
|
||||||
# Don't include the make functions since they have already been dealt with.
|
# Don't include the make functions since they have already been dealt with.
|
||||||
funcs = [f for f in di.in_category(DoxyFunction) if f.name() not in make_funcs]
|
funcs = [f for f in di.in_category(DoxyFunction)
|
||||||
|
if f.name() not in make_funcs and not f.name().startswith('std::')]
|
||||||
for f in funcs:
|
for f in funcs:
|
||||||
try:
|
try:
|
||||||
output.append(make_func_entry(f))
|
output.append(make_func_entry(f))
|
||||||
except f.ParsingError:
|
except f.ParsingError:
|
||||||
print('Parsing error for function %s' % f.name())
|
sys.stderr.write('Parsing error for function {0}\n'.format(f.name()))
|
||||||
|
|
||||||
# Create docstrings for classes
|
# Create docstrings for classes
|
||||||
block_names = [block.name() for block in blocks]
|
block_names = [block.name() for block in blocks]
|
||||||
klasses = [k for k in di.in_category(DoxyClass) if k.name() not in block_names]
|
block_names += [block.name() for block in blocks2]
|
||||||
|
klasses = [k for k in di.in_category(DoxyClass)
|
||||||
|
if k.name() not in block_names and not k.name().startswith('std::')]
|
||||||
for k in klasses:
|
for k in klasses:
|
||||||
try:
|
try:
|
||||||
output.append(make_class_entry(k))
|
output.append(make_class_entry(k))
|
||||||
except k.ParsingError:
|
except k.ParsingError:
|
||||||
print('Parsing error for class %s' % k.name())
|
sys.stderr.write('Parsing error for class {0}\n'.format(k.name()))
|
||||||
|
|
||||||
# Docstrings are not created for anything that is not a function or a class.
|
# Docstrings are not created for anything that is not a function or a class.
|
||||||
# If this excludes anything important please add it here.
|
# If this excludes anything important please add it here.
|
||||||
|
|
||||||
output = "\n\n".join(output)
|
output = "\n\n".join(output)
|
||||||
|
|
||||||
swig_doc = file(swigdocfilename, 'w')
|
swig_doc = open(swigdocfilename, 'w')
|
||||||
swig_doc.write(output)
|
swig_doc.write(output)
|
||||||
swig_doc.close()
|
swig_doc.close()
|
||||||
|
|
||||||
|
@ -236,7 +313,7 @@ if __name__ == "__main__":
|
||||||
# Parse command line options and set up doxyxml.
|
# Parse command line options and set up doxyxml.
|
||||||
err_msg = "Execute using: python swig_doc.py xml_path outputfilename"
|
err_msg = "Execute using: python swig_doc.py xml_path outputfilename"
|
||||||
if len(sys.argv) != 3:
|
if len(sys.argv) != 3:
|
||||||
raise StandardError(err_msg)
|
raise Exception(err_msg)
|
||||||
xml_path = sys.argv[1]
|
xml_path = sys.argv[1]
|
||||||
swigdocfilename = sys.argv[2]
|
swigdocfilename = sys.argv[2]
|
||||||
di = DoxyIndex(xml_path)
|
di = DoxyIndex(xml_path)
|
||||||
|
|
Loading…
Reference in New Issue