Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

Paste Description for horizon

expiry=1 day

horizon
Saturday, April 28th, 2012 at 3:47:18pm MDT 

  1. diff --git a/docs/doxygen/doxyxml/__init__.py b/docs/doxygen/doxyxml/__init__.py
  2. new file mode 100644
  3. index 0000000..5cd0b3c
  4. --- /dev/null
  5. +++ b/docs/doxygen/doxyxml/__init__.py
  6. @@ -0,0 +1,82 @@
  7. +#
  8. +# Copyright 2010 Free Software Foundation, Inc.
  9. +#
  10. +# This file is part of GNU Radio
  11. +#
  12. +# GNU Radio is free software; you can redistribute it and/or modify
  13. +# it under the terms of the GNU General Public License as published by
  14. +# the Free Software Foundation; either version 3, or (at your option)
  15. +# any later version.
  16. +#
  17. +# GNU Radio is distributed in the hope that it will be useful,
  18. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  20. +# GNU General Public License for more details.
  21. +#
  22. +# You should have received a copy of the GNU General Public License
  23. +# along with GNU Radio; see the file COPYING.  If not, write to
  24. +# the Free Software Foundation, Inc., 51 Franklin Street,
  25. +# Boston, MA 02110-1301, USA.
  26. +#
  27. +"""
  28. +Python interface to contents of doxygen xml documentation.
  29. +
  30. +Example use:
  31. +See the contents of the example folder for the C++ and
  32. +doxygen-generated xml used in this example.
  33. +
  34. +>>> # Parse the doxygen docs.
  35. +>>> import os
  36. +>>> this_dir = os.path.dirname(globals()['__file__'])
  37. +>>> xml_path = this_dir + "/example/xml/"
  38. +>>> di = DoxyIndex(xml_path)
  39. +
  40. +Get a list of all top-level objects.
  41. +
  42. +>>> print([mem.name() for mem in di.members()])
  43. +[u'Aadvark', u'aadvarky_enough', u'main']
  44. +
  45. +Get all functions.
  46. +
  47. +>>> print([mem.name() for mem in di.in_category(DoxyFunction)])
  48. +[u'aadvarky_enough', u'main']
  49. +
  50. +Check if an object is present.
  51. +
  52. +>>> di.has_member(u'Aadvark')
  53. +True
  54. +>>> di.has_member(u'Fish')
  55. +False
  56. +
  57. +Get an item by name and check its properties.
  58. +
  59. +>>> aad = di.get_member(u'Aadvark')
  60. +>>> print(aad.brief_description)
  61. +Models the mammal Aadvark.
  62. +>>> print(aad.detailed_description)
  63. +Sadly the model is incomplete and cannot capture all aspects of an aadvark yet.
  64. +<BLANKLINE>
  65. +This line is uninformative and is only to test line breaks in the comments.
  66. +>>> [mem.name() for mem in aad.members()]
  67. +[u'aadvarkness', u'print', u'Aadvark', u'get_aadvarkness']
  68. +>>> aad.get_member(u'print').brief_description
  69. +u'Outputs the vital aadvark statistics.'
  70. +
  71. +"""
  72. +
  73. +from doxyindex import DoxyIndex, DoxyFunction, DoxyParam, DoxyClass, DoxyFile, DoxyNamespace, DoxyGroup, DoxyFriend, DoxyOther
  74. +
  75. +def _test():
  76. +    import os
  77. +    this_dir = os.path.dirname(globals()['__file__'])
  78. +    xml_path = this_dir + "/example/xml/"
  79. +    di = DoxyIndex(xml_path)
  80. +    # Get the Aadvark class
  81. +    aad = di.get_member('Aadvark')
  82. +    aad.brief_description
  83. +    import doctest
  84. +    return doctest.testmod()
  85. +
  86. +if __name__ == "__main__":
  87. +    _test()
  88. +
  89. diff --git a/docs/doxygen/doxyxml/base.py b/docs/doxygen/doxyxml/base.py
  90. new file mode 100644
  91. index 0000000..e8f026a
  92. --- /dev/null
  93. +++ b/docs/doxygen/doxyxml/base.py
  94. @@ -0,0 +1,219 @@
  95. +#
  96. +# Copyright 2010 Free Software Foundation, Inc.
  97. +#
  98. +# This file is part of GNU Radio
  99. +#
  100. +# GNU Radio is free software; you can redistribute it and/or modify
  101. +# it under the terms of the GNU General Public License as published by
  102. +# the Free Software Foundation; either version 3, or (at your option)
  103. +# any later version.
  104. +#
  105. +# GNU Radio is distributed in the hope that it will be useful,
  106. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  107. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  108. +# GNU General Public License for more details.
  109. +#
  110. +# You should have received a copy of the GNU General Public License
  111. +# along with GNU Radio; see the file COPYING.  If not, write to
  112. +# the Free Software Foundation, Inc., 51 Franklin Street,
  113. +# Boston, MA 02110-1301, USA.
  114. +#
  115. +"""
  116. +A base class is created.
  117. +
  118. +Classes based upon this are used to make more user-friendly interfaces
  119. +to the doxygen xml docs than the generated classes provide.
  120. +"""
  121. +
  122. +import os
  123. +import pdb
  124. +
  125. +from xml.parsers.expat import ExpatError
  126. +
  127. +from generated import compound
  128. +
  129. +
  130. +class Base(object):
  131. +
  132. +    class Duplicate(StandardError):
  133. +        pass
  134. +
  135. +    class NoSuchMember(StandardError):
  136. +        pass
  137. +
  138. +    class ParsingError(StandardError):
  139. +        pass
  140. +
  141. +    def __init__(self, parse_data, top=None):
  142. +        self._parsed = False
  143. +        self._error = False
  144. +        self._parse_data = parse_data
  145. +        self._members = []
  146. +        self._dict_members = {}
  147. +        self._in_category = {}
  148. +        self._data = {}
  149. +        if top is not None:
  150. +            self._xml_path = top._xml_path
  151. +            # Set up holder of references
  152. +        else:
  153. +            top = self
  154. +            self._refs = {}
  155. +            self._xml_path = parse_data
  156. +        self.top = top
  157. +
  158. +    @classmethod
  159. +    def from_refid(cls, refid, top=None):
  160. +        """ Instantiate class from a refid rather than parsing object. """
  161. +        # First check to see if its already been instantiated.
  162. +        if top is not None and refid in top._refs:
  163. +            return top._refs[refid]
  164. +        # Otherwise create a new instance and set refid.
  165. +        inst = cls(None, top=top)
  166. +        inst.refid = refid
  167. +        inst.add_ref(inst)
  168. +        return inst
  169. +
  170. +    @classmethod
  171. +    def from_parse_data(cls, parse_data, top=None):
  172. +        refid = getattr(parse_data, 'refid', None)
  173. +        if refid is not None and top is not None and refid in top._refs:
  174. +            return top._refs[refid]
  175. +        inst = cls(parse_data, top=top)
  176. +        if refid is not None:
  177. +            inst.refid = refid
  178. +            inst.add_ref(inst)
  179. +        return inst
  180. +
  181. +    def add_ref(self, obj):
  182. +        if hasattr(obj, 'refid'):
  183. +            self.top._refs[obj.refid] = obj
  184. +
  185. +    mem_classes = []
  186. +
  187. +    def get_cls(self, mem):
  188. +        for cls in self.mem_classes:
  189. +            if cls.can_parse(mem):
  190. +                return cls
  191. +        raise StandardError(("Did not find a class for object '%s'." \
  192. +                                 % (mem.get_name())))
  193. +
  194. +    def convert_mem(self, mem):
  195. +        try:
  196. +            cls = self.get_cls(mem)
  197. +            converted = cls.from_parse_data(mem, self.top)
  198. +            if converted is None:
  199. +                raise StandardError('No class matched this object.')
  200. +            self.add_ref(converted)
  201. +            return converted
  202. +        except StandardError, e:
  203. +            print e
  204. +
  205. +    @classmethod
  206. +    def includes(cls, inst):
  207. +        return isinstance(inst, cls)
  208. +
  209. +    @classmethod
  210. +    def can_parse(cls, obj):
  211. +        return False
  212. +
  213. +    def _parse(self):
  214. +        self._parsed = True
  215. +
  216. +    def _get_dict_members(self, cat=None):
  217. +        """
  218. +        For given category a dictionary is returned mapping member names to
  219. +        members of that category.  For names that are duplicated the name is
  220. +        mapped to None.
  221. +        """
  222. +        self.confirm_no_error()
  223. +        if cat not in self._dict_members:
  224. +            new_dict = {}
  225. +            for mem in self.in_category(cat):
  226. +                if mem.name() not in new_dict:
  227. +                    new_dict[mem.name()] = mem
  228. +                else:
  229. +                    new_dict[mem.name()] = self.Duplicate
  230. +            self._dict_members[cat] = new_dict
  231. +        return self._dict_members[cat]
  232. +
  233. +    def in_category(self, cat):
  234. +        self.confirm_no_error()
  235. +        if cat is None:
  236. +            return self._members
  237. +        if cat not in self._in_category:
  238. +            self._in_category[cat] = [mem for mem in self._members
  239. +                                      if cat.includes(mem)]
  240. +        return self._in_category[cat]
  241. +
  242. +    def get_member(self, name, cat=None):
  243. +        self.confirm_no_error()
  244. +        # Check if it's in a namespace or class.
  245. +        bits = name.split('::')
  246. +        first = bits[0]
  247. +        rest = '::'.join(bits[1:])
  248. +        member = self._get_dict_members(cat).get(first, self.NoSuchMember)
  249. +        # Raise any errors that are returned.
  250. +        if member in set([self.NoSuchMember, self.Duplicate]):
  251. +            raise member()
  252. +        if rest:
  253. +            return member.get_member(rest, cat=cat)
  254. +        return member
  255. +
  256. +    def has_member(self, name, cat=None):
  257. +        try:
  258. +            mem = self.get_member(name, cat=cat)
  259. +            return True
  260. +        except self.NoSuchMember:
  261. +            return False
  262. +
  263. +    def data(self):
  264. +        self.confirm_no_error()
  265. +        return self._data
  266. +
  267. +    def members(self):
  268. +        self.confirm_no_error()
  269. +        return self._members
  270. +
  271. +    def process_memberdefs(self):
  272. +        mdtss = []
  273. +        for sec in self._retrieved_data.compounddef.sectiondef:
  274. +            mdtss += sec.memberdef
  275. +        # At the moment we lose all information associated with sections.
  276. +        # Sometimes a memberdef is in several sectiondef.
  277. +        # We make sure we don't get duplicates here.
  278. +        uniques = set([])
  279. +        for mem in mdtss:
  280. +            converted = self.convert_mem(mem)
  281. +            pair = (mem.name, mem.__class__)
  282. +            if pair not in uniques:
  283. +                uniques.add(pair)
  284. +                self._members.append(converted)
  285. +
  286. +    def retrieve_data(self):
  287. +        filename = os.path.join(self._xml_path, self.refid + '.xml')
  288. +        try:
  289. +            self._retrieved_data = compound.parse(filename)
  290. +        except ExpatError:
  291. +            print('Error in xml in file %s' % filename)
  292. +            self._error = True
  293. +            self._retrieved_data = None
  294. +
  295. +    def check_parsed(self):
  296. +        if not self._parsed:
  297. +            self._parse()
  298. +
  299. +    def confirm_no_error(self):
  300. +        self.check_parsed()
  301. +        if self._error:
  302. +            raise self.ParsingError()
  303. +
  304. +    def error(self):
  305. +        self.check_parsed()
  306. +        return self._error
  307. +
  308. +    def name(self):
  309. +        # first see if we can do it without processing.
  310. +        if self._parse_data is not None:
  311. +            return self._parse_data.name
  312. +        self.check_parsed()
  313. +        return self._retrieved_data.compounddef.name
  314. diff --git a/docs/doxygen/doxyxml/doxyindex.py b/docs/doxygen/doxyxml/doxyindex.py
  315. new file mode 100644
  316. index 0000000..0132ab8
  317. --- /dev/null
  318. +++ b/docs/doxygen/doxyxml/doxyindex.py
  319. @@ -0,0 +1,237 @@
  320. +#
  321. +# Copyright 2010 Free Software Foundation, Inc.
  322. +#
  323. +# This file is part of GNU Radio
  324. +#
  325. +# GNU Radio is free software; you can redistribute it and/or modify
  326. +# it under the terms of the GNU General Public License as published by
  327. +# the Free Software Foundation; either version 3, or (at your option)
  328. +# any later version.
  329. +#
  330. +# GNU Radio is distributed in the hope that it will be useful,
  331. +# but WITHOUT ANY WARRANTY; without even the implied warranty of
  332. +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  333. +# GNU General Public License for more details.
  334. +#
  335. +# You should have received a copy of the GNU General Public License
  336. +# along with GNU Radio; see the file COPYING.  If not, write to
  337. +# the Free Software Foundation, Inc., 51 Franklin Street,
  338. +# Boston, MA 02110-1301, USA.
  339. +#
  340. +"""
  341. +Classes providing more user-friendly interfaces to the doxygen xml
  342. +docs than the generated classes provide.
  343. +"""
  344. +
  345. +import os
  346. +
  347. +from generated import index
  348. +from base import Base
  349. +from text import description
  350. +
  351. +class DoxyIndex(Base):
  352. +    """
  353. +    Parses a doxygen xml directory.
  354. +    """
  355. +
  356. +    __module__ = "gnuradio.utils.doxyxml"
  357. +
  358. +    def _parse(self):
  359. +        if self._parsed:
  360. +            return
  361. +        super(DoxyIndex, self)._parse()
  362. +        self._root = index.parse(os.path.join(self._xml_path, 'index.xml'))
  363. +        for mem in self._root.compound:
  364. +            converted = self.convert_mem(mem)
  365. +            # For files we want the contents to be accessible directly
  366. +            # from the parent rather than having to go through the file
  367. +            # object.
  368. +            if self.get_cls(mem) == DoxyFile:
  369. +                if mem.name.endswith('.h'):
  370. +                    self._members += converted.members()
  371. +                    self._members.append(converted)
  372. +            else:
  373. +                self._members.append(converted)
  374. +
  375. +
  376. +def generate_swig_doc_i(self):
  377. +    """
  378. +    %feature("docstring") gr_make_align_on_samplenumbers_ss::align_state "
  379. +    Wraps the C++: gr_align_on_samplenumbers_ss::align_state";
  380. +    """
  381. +    pass
  382. +
  383. +
  384. +class DoxyCompMem(Base):
  385. +
  386. +
  387. +    kind = None
  388. +
  389. +    def __init__(self, *args, **kwargs):
  390. +        super(DoxyCompMem, self).__init__(*args, **kwargs)
  391. +
  392. +    @classmethod
  393. +    def can_parse(cls, obj):
  394. +        return obj.kind == cls.kind
  395. +
  396. +    def set_descriptions(self, parse_data):
  397. +        bd = description(getattr(parse_data, 'briefdescription', None))
  398. +        dd = description(getattr(parse_data, 'detaileddescription', None))
  399. +        self._data['brief_description'] = bd
  400. +        self._data['detailed_description'] = dd
  401. +
  402. +class DoxyCompound(DoxyCompMem):
  403. +    pass
  404. +
  405. +class DoxyMember(DoxyCompMem):
  406. +    pass
  407. +
  408. +
  409. +class DoxyFunction(DoxyMember):
  410. +
  411. +    __module__ = "gnuradio.utils.doxyxml"
  412. +
  413. +    kind = 'function'
  414. +
  415. +    def _parse(self):
  416. +        if self._parsed:
  417. +            return
  418. +        super(DoxyFunction, self)._parse()
  419. +        self.set_descriptions(self._parse_data)
  420. +        self._data['params'] = []
  421. +        prms = self._parse_data.param
  422. +        for prm in prms:
  423. +            self._data['params'].append(DoxyParam(prm))
  424. +
  425. +    brief_description = property(lambda self: self.data()['brief_description'])
  426. +    detailed_description = property(lambda self: self.data()['detailed_description'])
  427. +    params = property(lambda self: self.data()['params'])
  428. +
  429. +Base.mem_classes.append(DoxyFunction)
  430. +
  431. +
  432. +class DoxyParam(DoxyMember):
  433. +
  434. +    __module__ = "gnuradio.utils.doxyxml"
  435. +
  436. +    def _parse(self):
  437. +        if self._parsed:
  438. +            return
  439. +        super(DoxyParam, self)._parse()
  440. +        self.set_descriptions(self._parse_data)
  441. +        self._data['declname'] = self._parse_data.declname
  442. +
  443. +    brief_description = property(lambda self: self.data()['brief_description'])
  444. +    detailed_description = property(lambda self: self.data()['detailed_description'])
  445. +    declname = property(lambda self: self.data()['declname'])
  446. +
  447. +class DoxyClass(DoxyCompound):
  448. +
  449. +    __module__ = "gnuradio.utils.doxyxml"
  450. +
  451. +    kind = 'class'
  452. +
  453. +    def _parse(self):
  454. +        if self._parsed:
  455. +            return
  456. +        super(DoxyClass, self)._parse()
  457. +        self.retrieve_data()
  458. +        if self._error:
  459. +            return
  460. +        self.set_descriptions(self._retrieved_data.compounddef)
  461. +        # Sectiondef.kind tells about whether private or public.
  462. +        # We just ignore this for now.
  463. +        self.process_memberdefs()
  464. +
  465. +    brief_description = property(lambda self: self.data()['brief_description'])
  466. +    detailed_description = property(lambda self: self.data()['detailed_description'])
  467. +
  468. +Base.mem_classes.append(DoxyClass)
  469. +
  470. +
  471. +class DoxyFile(DoxyCompound):
  472. +
  473. +    __module__ = "gnuradio.utils.doxyxml"
  474. +
  475. +    kind = 'file'
  476. +
  477. +    def _parse(self):
  478. +        if self._parsed:
  479. +            return
  480. +        super(DoxyFile, self)._parse()
  481. +        self.retrieve_data()
  482. +        self.set_descriptions(self._retrieved_data.compounddef)
  483. +        if self._error:
  484. +            return
  485. +        self.process_memberdefs()
  486. +
  487. +    brief_description = property(lambda self: self.data()['brief_description'])
  488. +    detailed_description = property(lambda self: self.data()['detailed_description'])
  489. +
  490. +Base.mem_classes.append(DoxyFile)
  491. +
  492. +
  493. +class DoxyNamespace(DoxyCompound):
  494. +
  495. +    __module__ = "gnuradio.utils.doxyxml"
  496. +
  497. +    kind = 'namespace'
  498. +
  499. +Base.mem_classes.append(DoxyNamespace)
  500. +
  501. +
  502. +class DoxyGroup(DoxyCompound):
  503. +
  504. +    __module__ = "gnuradio.utils.doxyxml"
  505. +
  506. +    kind = 'group'
  507. +
  508. +    def _parse(self):
  509. +        if self._parsed:
  510. +            return
  511. +        super(DoxyGroup, self)._parse()
  512. +        self.retrieve_data()
  513. +        if self._error:
  514. +            return
  515. +        cdef = self._retrieved_data.compounddef
  516. +        self._data['title'] = description(cdef.title)
  517. +        # Process inner groups
  518. +        grps = cdef.innergroup
  519. +        for grp in grps:
  520. +            converted = DoxyGroup.from_refid(grp.refid, top=self.top)
  521. +            self._members.append(converted)
  522. +        # Process inner classes
  523. +        klasses = cdef.innerclass
  524. +        for kls in klasses:
  525. +            converted = DoxyClass.from_refid(kls.refid, top=self.top)
  526. +            self._members.append(converted)
  527. +        # Process normal members
  528. +        self.process_memberdefs()
  529. +
  530. +    title = property(lambda self: self.data()['title'])
  531. +
  532. +
  533. +Base.mem_classes.append(DoxyGroup)
  534. +
  535. +
  536. +class DoxyFriend(DoxyMember):
  537. +
  538. +    __module__ = "gnuradio.utils.doxyxml"
  539. +
  540. +    kind = 'friend'
  541. +
  542. +Base.mem_classes.append(DoxyFriend)
  543. +
  544. +
  545. +class DoxyOther(Base):
  546. +
  547. +    __module__ = "gnuradio.utils.doxyxml"
  548. +
  549. +    kinds = set(['variable', 'struct', 'union', 'define', 'typedef', 'enum', 'dir', 'page'])
  550. +
  551. +    @classmethod
  552. +    def can_parse(cls, obj):
  553. +        return obj.kind in cls.kinds
  554. +
  555. +Base.mem_classes.append(DoxyOther)
  556. +
  557. diff --git a/docs/doxygen/doxyxml/example/Doxyfile b/docs/doxygen/doxyxml/example/Doxyfile
  558. new file mode 100644
  559. index 0000000..9780043
  560. --- /dev/null
  561. +++ b/docs/doxygen/doxyxml/example/Doxyfile
  562. @@ -0,0 +1,1551 @@
  563. +# Doxyfile 1.6.3
  564. +
  565. +# This file describes the settings to be used by the documentation system
  566. +# doxygen (www.doxygen.org) for a project
  567. +#
  568. +# All text after a hash (#) is considered a comment and will be ignored
  569. +# The format is:
  570. +#       TAG = value [value, ...]
  571. +# For lists items can also be appended using:
  572. +#       TAG += value [value, ...]
  573. +# Values that contain spaces should be placed between quotes (" ")
  574. +
  575. +#---------------------------------------------------------------------------
  576. +# Project related configuration options
  577. +#---------------------------------------------------------------------------
  578. +
  579. +# This tag specifies the encoding used for all characters in the config file
  580. +# that follow. The default is UTF-8 which is also the encoding used for all
  581. +# text before the first occurrence of this tag. Doxygen uses libiconv (or the
  582. +# iconv built into libc) for the transcoding. See
  583. +# http://www.gnu.org/software/libiconv for the list of possible encodings.
  584. +
  585. +DOXYFILE_ENCODING      = UTF-8
  586. +
  587. +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
  588. +# by quotes) that should identify the project.
  589. +
  590. +PROJECT_NAME           =
  591. +
  592. +# The PROJECT_NUMBER tag can be used to enter a project or revision number.
  593. +# This could be handy for archiving the generated documentation or
  594. +# if some version control system is used.
  595. +
  596. +PROJECT_NUMBER         =
  597. +
  598. +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
  599. +# base path where the generated documentation will be put.
  600. +# If a relative path is entered, it will be relative to the location
  601. +# where doxygen was started. If left blank the current directory will be used.
  602. +
  603. +OUTPUT_DIRECTORY       =
  604. +
  605. +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
  606. +# 4096 sub-directories (in 2 levels) under the output directory of each output
  607. +# format and will distribute the generated files over these directories.
  608. +# Enabling this option can be useful when feeding doxygen a huge amount of
  609. +# source files, where putting all generated files in the same directory would
  610. +# otherwise cause performance problems for the file system.
  611. +
  612. +CREATE_SUBDIRS         = NO
  613. +
  614. +# The OUTPUT_LANGUAGE tag is used to specify the language in which all
  615. +# documentation generated by doxygen is written. Doxygen will use this
  616. +# information to generate all constant output in the proper language.
  617. +# The default language is English, other supported languages are:
  618. +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional,
  619. +# Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German,
  620. +# Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English
  621. +# messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian,
  622. +# Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak,
  623. +# Slovene, Spanish, Swedish, Ukrainian, and Vietnamese.
  624. +
  625. +OUTPUT_LANGUAGE        = English
  626. +
  627. +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
  628. +# include brief member descriptions after the members that are listed in
  629. +# the file and class documentation (similar to JavaDoc).
  630. +# Set to NO to disable this.
  631. +
  632. +BRIEF_MEMBER_DESC      = YES
  633. +
  634. +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
  635. +# the brief description of a member or function before the detailed description.
  636. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
  637. +# brief descriptions will be completely suppressed.
  638. +
  639. +REPEAT_BRIEF           = YES
  640. +
  641. +# This tag implements a quasi-intelligent brief description abbreviator
  642. +# that is used to form the text in various listings. Each string
  643. +# in this list, if found as the leading text of the brief description, will be
  644. +# stripped from the text and the result after processing the whole list, is
  645. +# used as the annotated text. Otherwise, the brief description is used as-is.
  646. +# If left blank, the following values are used ("$name" is automatically
  647. +# replaced with the name of the entity): "The $name class" "The $name widget"
  648. +# "The $name file" "is" "provides" "specifies" "contains"
  649. +# "represents" "a" "an" "the"
  650. +
  651. +ABBREVIATE_BRIEF       =
  652. +
  653. +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
  654. +# Doxygen will generate a detailed section even if there is only a brief
  655. +# description.
  656. +
  657. +ALWAYS_DETAILED_SEC    = NO
  658. +
  659. +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
  660. +# inherited members of a class in the documentation of that class as if those
  661. +# members were ordinary class members. Constructors, destructors and assignment
  662. +# operators of the base classes will not be shown.
  663. +
  664. +INLINE_INHERITED_MEMB  = NO
  665. +
  666. +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
  667. +# path before files name in the file list and in the header files. If set
  668. +# to NO the shortest path that makes the file name unique will be used.
  669. +
  670. +FULL_PATH_NAMES        = YES
  671. +
  672. +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
  673. +# can be used to strip a user-defined part of the path. Stripping is
  674. +# only done if one of the specified strings matches the left-hand part of
  675. +# the path. The tag can be used to show relative paths in the file list.
  676. +# If left blank the directory from which doxygen is run is used as the
  677. +# path to strip.
  678. +
  679. +STRIP_FROM_PATH        =
  680. +
  681. +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
  682. +# the path mentioned in the documentation of a class, which tells
  683. +# the reader which header file to include in order to use a class.
  684. +# If left blank only the name of the header file containing the class
  685. +# definition is used. Otherwise one should specify the include paths that
  686. +# are normally passed to the compiler using the -I flag.
  687. +
  688. +STRIP_FROM_INC_PATH    =
  689. +
  690. +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
  691. +# (but less readable) file names. This can be useful is your file systems
  692. +# doesn't support long names like on DOS, Mac, or CD-ROM.
  693. +
  694. +SHORT_NAMES            = NO
  695. +
  696. +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
  697. +# will interpret the first line (until the first dot) of a JavaDoc-style
  698. +# comment as the brief description. If set to NO, the JavaDoc
  699. +# comments will behave just like regular Qt-style comments
  700. +# (thus requiring an explicit @brief command for a brief description.)
  701. +
  702. +JAVADOC_AUTOBRIEF      = NO
  703. +
  704. +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will
  705. +# interpret the first line (until the first dot) of a Qt-style
  706. +# comment as the brief description. If set to NO, the comments
  707. +# will behave just like regular Qt-style comments (thus requiring
  708. +# an explicit \brief command for a brief description.)
  709. +
  710. +QT_AUTOBRIEF           = NO
  711. +
  712. +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
  713. +# treat a multi-line C++ special comment block (i.e. a block of //! or ///
  714. +# comments) as a brief description. This used to be the default behaviour.
  715. +# The new default is to treat a multi-line C++ comment block as a detailed
  716. +# description. Set this tag to YES if you prefer the old behaviour instead.
  717. +
  718. +MULTILINE_CPP_IS_BRIEF = NO
  719. +
  720. +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
  721. +# member inherits the documentation from any documented member that it
  722. +# re-implements.
  723. +
  724. +INHERIT_DOCS           = YES
  725. +
  726. +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce
  727. +# a new page for each member. If set to NO, the documentation of a member will
  728. +# be part of the file/class/namespace that contains it.
  729. +
  730. +SEPARATE_MEMBER_PAGES  = NO
  731. +
  732. +# The TAB_SIZE tag can be used to set the number of spaces in a tab.
  733. +# Doxygen uses this value to replace tabs by spaces in code fragments.
  734. +
  735. +TAB_SIZE               = 8
  736. +
  737. +# This tag can be used to specify a number of aliases that acts
  738. +# as commands in the documentation. An alias has the form "name=value".
  739. +# For example adding "sideeffect=\par Side Effects:\n" will allow you to
  740. +# put the command \sideeffect (or @sideeffect) in the documentation, which
  741. +# will result in a user-defined paragraph with heading "Side Effects:".
  742. +# You can put \n's in the value part of an alias to insert newlines.
  743. +
  744. +ALIASES                =
  745. +
  746. +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C
  747. +# sources only. Doxygen will then generate output that is more tailored for C.
  748. +# For instance, some of the names that are used will be different. The list
  749. +# of all members will be omitted, etc.
  750. +
  751. +OPTIMIZE_OUTPUT_FOR_C  = NO
  752. +
  753. +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java
  754. +# sources only. Doxygen will then generate output that is more tailored for
  755. +# Java. For instance, namespaces will be presented as packages, qualified
  756. +# scopes will look different, etc.
  757. +
  758. +OPTIMIZE_OUTPUT_JAVA   = NO
  759. +
  760. +# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
  761. +# sources only. Doxygen will then generate output that is more tailored for
  762. +# Fortran.
  763. +
  764. +OPTIMIZE_FOR_FORTRAN   = NO
  765. +
  766. +# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
  767. +# sources. Doxygen will then generate output that is tailored for
  768. +# VHDL.
  769. +
  770. +OPTIMIZE_OUTPUT_VHDL   = NO
  771. +
  772. +# Doxygen selects the parser to use depending on the extension of the files it parses.
  773. +# With this tag you can assign which parser to use for a given extension.
  774. +# Doxygen has a built-in mapping, but you can override or extend it using this tag.
  775. +# The format is ext=language, where ext is a file extension, and language is one of
  776. +# the parsers supported by doxygen: IDL, Java, Javascript, C#, C, C++, D, PHP,
  777. +# Objective-C, Python, Fortran, VHDL, C, C++. For instance to make doxygen treat
  778. +# .inc files as Fortran files (default is PHP), and .f files as C (default is Fortran),
  779. +# use: inc=Fortran f=C. Note that for custom extensions you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
  780. +
  781. +EXTENSION_MAPPING      =
  782. +
  783. +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
  784. +# to include (a tag file for) the STL sources as input, then you should
  785. +# set this tag to YES in order to let doxygen match functions declarations and
  786. +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s.
  787. +# func(std::string) {}). This also make the inheritance and collaboration
  788. +# diagrams that involve STL classes more complete and accurate.
  789. +
  790. +BUILTIN_STL_SUPPORT    = NO
  791. +
  792. +# If you use Microsoft's C++/CLI language, you should set this option to YES to
  793. +# enable parsing support.
  794. +
  795. +CPP_CLI_SUPPORT        = NO
  796. +
  797. +# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only.
  798. +# Doxygen will parse them like normal C++ but will assume all classes use public
  799. +# instead of private inheritance when no explicit protection keyword is present.
  800. +
  801. +SIP_SUPPORT            = NO
  802. +
  803. +# For Microsoft's IDL there are propget and propput attributes to indicate getter
  804. +# and setter methods for a property. Setting this option to YES (the default)
  805. +# will make doxygen to replace the get and set methods by a property in the
  806. +# documentation. This will only work if the methods are indeed getting or
  807. +# setting a simple type. If this is not the case, or you want to show the
  808. +# methods anyway, you should set this option to NO.
  809. +
  810. +IDL_PROPERTY_SUPPORT   = YES
  811. +
  812. +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
  813. +# tag is set to YES, then doxygen will reuse the documentation of the first
  814. +# member in the group (if any) for the other members of the group. By default
  815. +# all members of a group must be documented explicitly.
  816. +
  817. +DISTRIBUTE_GROUP_DOC   = NO
  818. +
  819. +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of
  820. +# the same type (for instance a group of public functions) to be put as a
  821. +# subgroup of that type (e.g. under the Public Functions section). Set it to
  822. +# NO to prevent subgrouping. Alternatively, this can be done per class using
  823. +# the \nosubgrouping command.
  824. +
  825. +SUBGROUPING            = YES
  826. +
  827. +# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum
  828. +# is documented as struct, union, or enum with the name of the typedef. So
  829. +# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
  830. +# with name TypeT. When disabled the typedef will appear as a member of a file,
  831. +# namespace, or class. And the struct will be named TypeS. This can typically
  832. +# be useful for C code in case the coding convention dictates that all compound
  833. +# types are typedef'ed and only the typedef is referenced, never the tag name.
  834. +
  835. +TYPEDEF_HIDES_STRUCT   = NO
  836. +
  837. +# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to
  838. +# determine which symbols to keep in memory and which to flush to disk.
  839. +# When the cache is full, less often used symbols will be written to disk.
  840. +# For small to medium size projects (<1000 input files) the default value is
  841. +# probably good enough. For larger projects a too small cache size can cause
  842. +# doxygen to be busy swapping symbols to and from disk most of the time
  843. +# causing a significant performance penality.
  844. +# If the system has enough physical memory increasing the cache will improve the
  845. +# performance by keeping more symbols in memory. Note that the value works on
  846. +# a logarithmic scale so increasing the size by one will rougly double the
  847. +# memory usage. The cache size is given by this formula:
  848. +# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
  849. +# corresponding to a cache size of 2^16 = 65536 symbols
  850. +
  851. +SYMBOL_CACHE_SIZE      = 0
  852. +
  853. +#---------------------------------------------------------------------------
  854. +# Build related configuration options
  855. +#---------------------------------------------------------------------------
  856. +
  857. +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
  858. +# documentation are documented, even if no documentation was available.
  859. +# Private class members and static file members will be hidden unless
  860. +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
  861. +
  862. +EXTRACT_ALL            = NO
  863. +
  864. +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
  865. +# will be included in the documentation.
  866. +
  867. +EXTRACT_PRIVATE        = NO
  868. +
  869. +# If the EXTRACT_STATIC tag is set to YES all static members of a file
  870. +# will be included in the documentation.
  871. +
  872. +EXTRACT_STATIC         = NO
  873. +
  874. +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
  875. +# defined locally in source files will be included in the documentation.
  876. +# If set to NO only classes defined in header files are included.
  877. +
  878. +EXTRACT_LOCAL_CLASSES  = YES
  879. +
  880. +# This flag is only useful for Objective-C code. When set to YES local
  881. +# methods, which are defined in the implementation section but not in
  882. +# the interface are included in the documentation.
  883. +# If set to NO (the default) only methods in the interface are included.
  884. +
  885. +EXTRACT_LOCAL_METHODS  = NO
  886. +
  887. +# If this flag is set to YES, the members of anonymous namespaces will be
  888. +# extracted and appear in the documentation as a namespace called
  889. +# 'anonymous_namespace{file}', where file will be replaced with the base
  890. +# name of the file that contains the anonymous namespace. By default
  891. +# anonymous namespace are hidden.
  892. +
  893. +EXTRACT_ANON_NSPACES   = NO
  894. +
  895. +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
  896. +# undocumented members of documented classes, files or namespaces.
  897. +# If set to NO (the default) these members will be included in the
  898. +# various overviews, but no documentation section is generated.
  899. +# This option has no effect if EXTRACT_ALL is enabled.
  900. +
  901. +HIDE_UNDOC_MEMBERS     = NO
  902. +
  903. +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
  904. +# undocumented classes that are normally visible in the class hierarchy.
  905. +# If set to NO (the default) these classes will be included in the various
  906. +# overviews. This option has no effect if EXTRACT_ALL is enabled.
  907. +
  908. +HIDE_UNDOC_CLASSES     = NO
  909. +
  910. +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all
  911. +# friend (class|struct|union) declarations.
  912. +# If set to NO (the default) these declarations will be included in the
  913. +# documentation.
  914. +
  915. +HIDE_FRIEND_COMPOUNDS  = NO
  916. +
  917. +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any
  918. +# documentation blocks found inside the body of a function.
  919. +# If set to NO (the default) these blocks will be appended to the
  920. +# function's detailed documentation block.
  921. +
  922. +HIDE_IN_BODY_DOCS      = NO
  923. +
  924. +# The INTERNAL_DOCS tag determines if documentation
  925. +# that is typed after a \internal command is included. If the tag is set
  926. +# to NO (the default) then the documentation will be excluded.
  927. +# Set it to YES to include the internal documentation.
  928. +
  929. +INTERNAL_DOCS          = NO
  930. +
  931. +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
  932. +# file names in lower-case letters. If set to YES upper-case letters are also
  933. +# allowed. This is useful if you have classes or files whose names only differ
  934. +# in case and if your file system supports case sensitive file names. Windows
  935. +# and Mac users are advised to set this option to NO.
  936. +
  937. +CASE_SENSE_NAMES       = YES
  938. +
  939. +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
  940. +# will show members with their full class and namespace scopes in the
  941. +# documentation. If set to YES the scope will be hidden.
  942. +
  943. +HIDE_SCOPE_NAMES       = NO
  944. +
  945. +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
  946. +# will put a list of the files that are included by a file in the documentation
  947. +# of that file.
  948. +
  949. +SHOW_INCLUDE_FILES     = YES
  950. +
  951. +# If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen
  952. +# will list include files with double quotes in the documentation
  953. +# rather than with sharp brackets.
  954. +
  955. +FORCE_LOCAL_INCLUDES   = NO
  956. +
  957. +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
  958. +# is inserted in the documentation for inline members.
  959. +
  960. +INLINE_INFO            = YES
  961. +
  962. +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
  963. +# will sort the (detailed) documentation of file and class members
  964. +# alphabetically by member name. If set to NO the members will appear in
  965. +# declaration order.
  966. +
  967. +SORT_MEMBER_DOCS       = YES
  968. +
  969. +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the
  970. +# brief documentation of file, namespace and class members alphabetically
  971. +# by member name. If set to NO (the default) the members will appear in
  972. +# declaration order.
  973. +
  974. +SORT_BRIEF_DOCS        = NO
  975. +
  976. +# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the (brief and detailed) documentation of class members so that constructors and destructors are listed first. If set to NO (the default) the constructors will appear in the respective orders defined by SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO.
  977. +
  978. +SORT_MEMBERS_CTORS_1ST = NO
  979. +
  980. +# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the
  981. +# hierarchy of group names into alphabetical order. If set to NO (the default)
  982. +# the group names will appear in their defined order.
  983. +
  984. +SORT_GROUP_NAMES       = NO
  985. +
  986. +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be
  987. +# sorted by fully-qualified names, including namespaces. If set to
  988. +# NO (the default), the class list will be sorted only by class name,
  989. +# not including the namespace part.
  990. +# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
  991. +# Note: This option applies only to the class list, not to the
  992. +# alphabetical list.
  993. +
  994. +SORT_BY_SCOPE_NAME     = NO
  995. +
  996. +# The GENERATE_TODOLIST tag can be used to enable (YES) or
  997. +# disable (NO) the todo list. This list is created by putting \todo
  998. +# commands in the documentation.
  999. +
  1000. +GENERATE_TODOLIST      = YES
  1001. +
  1002. +# The GENERATE_TESTLIST tag can be used to enable (YES) or
  1003. +# disable (NO) the test list. This list is created by putting \test
  1004. +# commands in the documentation.
  1005. +
  1006. +GENERATE_TESTLIST      = YES
  1007. +
  1008. +# The GENERATE_BUGLIST tag can be used to enable (YES) or
  1009. +# disable (NO) the bug list. This list is created by putting \bug
  1010. +# commands in the documentation.
  1011. +
  1012. +GENERATE_BUGLIST       = YES
  1013. +
  1014. +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or
  1015. +# disable (NO) the deprecated list. This list is created by putting
  1016. +# \deprecated commands in the documentation.
  1017. +
  1018. +GENERATE_DEPRECATEDLIST= YES
  1019. +
  1020. +# The ENABLED_SECTIONS tag can be used to enable conditional
  1021. +# documentation sections, marked by \if sectionname ... \endif.
  1022. +
  1023. +ENABLED_SECTIONS       =
  1024. +
  1025. +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
  1026. +# the initial value of a variable or define consists of for it to appear in
  1027. +# the documentation. If the initializer consists of more lines than specified
  1028. +# here it will be hidden. Use a value of 0 to hide initializers completely.
  1029. +# The appearance of the initializer of individual variables and defines in the
  1030. +# documentation can be controlled using \showinitializer or \hideinitializer
  1031. +# command in the documentation regardless of this setting.
  1032. +
  1033. +MAX_INITIALIZER_LINES  = 30
  1034. +
  1035. +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
  1036. +# at the bottom of the documentation of classes and structs. If set to YES the
  1037. +# list will mention the files that were used to generate the documentation.
  1038. +
  1039. +SHOW_USED_FILES        = YES
  1040. +
  1041. +# If the sources in your project are distributed over multiple directories
  1042. +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy
  1043. +# in the documentation. The default is NO.
  1044. +
  1045. +SHOW_DIRECTORIES       = NO
  1046. +
  1047. +# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
  1048. +# This will remove the Files entry from the Quick Index and from the
  1049. +# Folder Tree View (if specified). The default is YES.
  1050. +
  1051. +SHOW_FILES             = YES
  1052. +
  1053. +# Set the SHOW_NAMESPACES tag to NO to disable the generation of the
  1054. +# Namespaces page.
  1055. +# This will remove the Namespaces entry from the Quick Index
  1056. +# and from the Folder Tree View (if specified). The default is YES.
  1057. +
  1058. +SHOW_NAMESPACES        = YES
  1059. +
  1060. +# The FILE_VERSION_FILTER tag can be used to specify a program or script that
  1061. +# doxygen should invoke to get the current version for each file (typically from
  1062. +# the version control system). Doxygen will invoke the program by executing (via
  1063. +# popen()) the command <command> <input-file>, where <command> is the value of
  1064. +# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file
  1065. +# provided by doxygen. Whatever the program writes to standard output
  1066. +# is used as the file version. See the manual for examples.
  1067. +
  1068. +FILE_VERSION_FILTER    =
  1069. +
  1070. +# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by
  1071. +# doxygen. The layout file controls the global structure of the generated output files
  1072. +# in an output format independent way. The create the layout file that represents
  1073. +# doxygen's defaults, run doxygen with the -l option. You can optionally specify a
  1074. +# file name after the option, if omitted DoxygenLayout.xml will be used as the name
  1075. +# of the layout file.
  1076. +
  1077. +LAYOUT_FILE            =
  1078. +
  1079. +#---------------------------------------------------------------------------
  1080. +# configuration options related to warning and progress messages
  1081. +#---------------------------------------------------------------------------
  1082. +
  1083. +# The QUIET tag can be used to turn on/off the messages that are generated
  1084. +# by doxygen. Possible values are YES and NO. If left blank NO is used.
  1085. +
  1086. +QUIET                  = NO
  1087. +
  1088. +# The WARNINGS tag can be used to turn on/off the warning messages that are
  1089. +# generated by doxygen. Possible values are YES and NO. If left blank
  1090. +# NO is used.
  1091. +
  1092. +WARNINGS               = YES
  1093. +
  1094. +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
  1095. +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
  1096. +# automatically be disabled.
  1097. +
  1098. +WARN_IF_UNDOCUMENTED   = YES
  1099. +
  1100. +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for
  1101. +# potential errors in the documentation, such as not documenting some
  1102. +# parameters in a documented function, or documenting parameters that
  1103. +# don't exist or using markup commands wrongly.
  1104. +
  1105. +WARN_IF_DOC_ERROR      = YES
  1106. +
  1107. +# This WARN_NO_PARAMDOC option can be abled to get warnings for
  1108. +# functions that are documented, but have no documentation for their parameters
  1109. +# or return value. If set to NO (the default) doxygen will only warn about
  1110. +# wrong or incomplete parameter documentation, but not about the absence of
  1111. +# documentation.
  1112. +
  1113. +WARN_NO_PARAMDOC       = NO
  1114. +
  1115. +# The WARN_FORMAT tag determines the format of the warning messages that
  1116. +# doxygen can produce. The string should contain the $file, $line, and $text
  1117. +# tags, which will be replaced by the file and line number from which the
  1118. +# warning originated and the warning text. Optionally the format may contain
  1119. +# $version, which will be replaced by the version of the file (if it could
  1120. +# be obtained via FILE_VERSION_FILTER)
  1121. +
  1122. +WARN_FORMAT            = "$file:$line: $text"
  1123. +
  1124. +# The WARN_LOGFILE tag can be used to specify a file to which warning
  1125. +# and error messages should be written. If left blank the output is written
  1126. +# to stderr.
  1127. +
  1128. +WARN_LOGFILE           =
  1129. +
  1130. +#---------------------------------------------------------------------------
  1131. +# configuration options related to the input files
  1132. +#---------------------------------------------------------------------------
  1133. +
  1134. +# The INPUT tag can be used to specify the files and/or directories that contain
  1135. +# documented source files. You may enter file names like "myfile.cpp" or
  1136. +# directories like "/usr/src/myproject". Separate the files or directories
  1137. +# with spaces.
  1138. +
  1139. +INPUT                  =
  1140. +
  1141. +# This tag can be used to specify the character encoding of the source files
  1142. +# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
  1143. +# also the default input encoding. Doxygen uses libiconv (or the iconv built
  1144. +# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for
  1145. +# the list of possible encodings.
  1146. +
  1147. +INPUT_ENCODING         = UTF-8
  1148. +
  1149. +# If the value of the INPUT tag contains directories, you can use the
  1150. +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
  1151. +# and *.h) to filter out the source-files in the directories. If left
  1152. +# blank the following patterns are tested:
  1153. +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
  1154. +# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
  1155. +
  1156. +FILE_PATTERNS          =
  1157. +
  1158. +# The RECURSIVE tag can be used to turn specify whether or not subdirectories
  1159. +# should be searched for input files as well. Possible values are YES and NO.
  1160. +# If left blank NO is used.
  1161. +
  1162. +RECURSIVE              = NO
  1163. +
  1164. +# The EXCLUDE tag can be used to specify files and/or directories that should
  1165. +# excluded from the INPUT source files. This way you can easily exclude a
  1166. +# subdirectory from a directory tree whose root is specified with the INPUT tag.
  1167. +
  1168. +EXCLUDE                =
  1169. +
  1170. +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or
  1171. +# directories that are symbolic links (a Unix filesystem feature) are excluded
  1172. +# from the input.
  1173. +
  1174. +EXCLUDE_SYMLINKS       = NO
  1175. +
  1176. +# If the value of the INPUT tag contains directories, you can use the
  1177. +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
  1178. +# certain files from those directories. Note that the wildcards are matched
  1179. +# against the file with absolute path, so to exclude all test directories
  1180. +# for example use the pattern */test/*
  1181. +
  1182. +EXCLUDE_PATTERNS       =
  1183. +
  1184. +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
  1185. +# (namespaces, classes, functions, etc.) that should be excluded from the
  1186. +# output. The symbol name can be a fully qualified name, a word, or if the
  1187. +# wildcard * is used, a substring. Examples: ANamespace, AClass,
  1188. +# AClass::ANamespace, ANamespace::*Test
  1189. +
  1190. +EXCLUDE_SYMBOLS        =
  1191. +
  1192. +# The EXAMPLE_PATH tag can be used to specify one or more files or
  1193. +# directories that contain example code fragments that are included (see
  1194. +# the \include command).
  1195. +
  1196. +EXAMPLE_PATH           =
  1197. +
  1198. +# If the value of the EXAMPLE_PATH tag contains directories, you can use the
  1199. +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
  1200. +# and *.h) to filter out the source-files in the directories. If left
  1201. +# blank all files are included.
  1202. +
  1203. +EXAMPLE_PATTERNS       =
  1204. +
  1205. +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
  1206. +# searched for input files to be used with the \include or \dontinclude
  1207. +# commands irrespective of the value of the RECURSIVE tag.
  1208. +# Possible values are YES and NO. If left blank NO is used.
  1209. +
  1210. +EXAMPLE_RECURSIVE      = NO
  1211. +
  1212. +# The IMAGE_PATH tag can be used to specify one or more files or
  1213. +# directories that contain image that are included in the documentation (see
  1214. +# the \image command).
  1215. +
  1216. +IMAGE_PATH             =
  1217. +
  1218. +# The INPUT_FILTER tag can be used to specify a program that doxygen should
  1219. +# invoke to filter for each input file. Doxygen will invoke the filter program
  1220. +# by executing (via popen()) the command <filter> <input-file>, where <filter>
  1221. +# is the value of the INPUT_FILTER tag, and <input-file> is the name of an
  1222. +# input file. Doxygen will then use the output that the filter program writes
  1223. +# to standard output.
  1224. +# If FILTER_PATTERNS is specified, this tag will be
  1225. +# ignored.
  1226. +
  1227. +INPUT_FILTER           =
  1228. +
  1229. +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
  1230. +# basis.
  1231. +# Doxygen will compare the file name with each pattern and apply the
  1232. +# filter if there is a match.
  1233. +# The filters are a list of the form:
  1234. +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further
  1235. +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER
  1236. +# is applied to all files.
  1237. +
  1238. +FILTER_PATTERNS        =
  1239. +
  1240. +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
  1241. +# INPUT_FILTER) will be used to filter the input files when producing source
  1242. +# files to browse (i.e. when SOURCE_BROWSER is set to YES).
  1243. +
  1244. +FILTER_SOURCE_FILES    = NO
  1245. +
  1246. +#---------------------------------------------------------------------------
  1247. +# configuration options related to source browsing
  1248. +#---------------------------------------------------------------------------
  1249. +
  1250. +# If the SOURCE_BROWSER tag is set to YES then a list of source files will
  1251. +# be generated. Documented entities will be cross-referenced with these sources.
  1252. +# Note: To get rid of all source code in the generated output, make sure also
  1253. +# VERBATIM_HEADERS is set to NO.
  1254. +
  1255. +SOURCE_BROWSER         = NO
  1256. +
  1257. +# Setting the INLINE_SOURCES tag to YES will include the body
  1258. +# of functions and classes directly in the documentation.
  1259. +
  1260. +INLINE_SOURCES         = NO
  1261. +
  1262. +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
  1263. +# doxygen to hide any special comment blocks from generated source code
  1264. +# fragments. Normal C and C++ comments will always remain visible.
  1265. +
  1266. +STRIP_CODE_COMMENTS    = YES
  1267. +
  1268. +# If the REFERENCED_BY_RELATION tag is set to YES
  1269. +# then for each documented function all documented
  1270. +# functions referencing it will be listed.
  1271. +
  1272. +REFERENCED_BY_RELATION = NO
  1273. +
  1274. +# If the REFERENCES_RELATION tag is set to YES
  1275. +# then for each documented function all documented entities
  1276. +# called/used by that function will be listed.
  1277. +
  1278. +REFERENCES_RELATION    = NO
  1279. +
  1280. +# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
  1281. +# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
  1282. +# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
  1283. +# link to the source code.
  1284. +# Otherwise they will link to the documentation.
  1285. +
  1286. +REFERENCES_LINK_SOURCE = YES
  1287. +
  1288. +# If the USE_HTAGS tag is set to YES then the references to source code
  1289. +# will point to the HTML generated by the htags(1) tool instead of doxygen
  1290. +# built-in source browser. The htags tool is part of GNU's global source
  1291. +# tagging system (see http://www.gnu.org/software/global/global.html). You
  1292. +# will need version 4.8.6 or higher.
  1293. +
  1294. +USE_HTAGS              = NO
  1295. +
  1296. +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
  1297. +# will generate a verbatim copy of the header file for each class for
  1298. +# which an include is specified. Set to NO to disable this.
  1299. +
  1300. +VERBATIM_HEADERS       = YES
  1301. +
  1302. +#---------------------------------------------------------------------------
  1303. +# configuration options related to the alphabetical class index
  1304. +#---------------------------------------------------------------------------
  1305. +
  1306. +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
  1307. +# of all compounds will be generated. Enable this if the project
  1308. +# contains a lot of classes, structs, unions or interfaces.
  1309. +
  1310. +ALPHABETICAL_INDEX     = NO
  1311. +
  1312. +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
  1313. +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
  1314. +# in which this list will be split (can be a number in the range [1..20])
  1315. +
  1316. +COLS_IN_ALPHA_INDEX    = 5
  1317. +
  1318. +# In case all classes in a project start with a common prefix, all
  1319. +# classes will be put under the same header in the alphabetical index.
  1320. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
  1321. +# should be ignored while generating the index headers.
  1322. +
  1323. +IGNORE_PREFIX          =
  1324. +
  1325. +#---------------------------------------------------------------------------
  1326. +# configuration options related to the HTML output
  1327. +#---------------------------------------------------------------------------
  1328. +
  1329. +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
  1330. +# generate HTML output.
  1331. +
  1332. +GENERATE_HTML          = YES
  1333. +
  1334. +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
  1335. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be
  1336. +# put in front of it. If left blank `html' will be used as the default path.
  1337. +
  1338. +HTML_OUTPUT            = html
  1339. +
  1340. +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
  1341. +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
  1342. +# doxygen will generate files with .html extension.
  1343. +
  1344. +HTML_FILE_EXTENSION    = .html
  1345. +
  1346. +# The HTML_HEADER tag can be used to specify a personal HTML header for
  1347. +# each generated HTML page. If it is left blank doxygen will generate a
  1348. +# standard header.
  1349. +
  1350. +HTML_HEADER            =
  1351. +
  1352. +# The HTML_FOOTER tag can be used to specify a personal HTML footer for
  1353. +# each generated HTML page. If it is left blank doxygen will generate a
  1354. +# standard footer.
  1355. +
  1356. +HTML_FOOTER            =
  1357. +
  1358. +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading
  1359. +# style sheet that is used by each HTML page. It can be used to
  1360. +# fine-tune the look of the HTML output. If the tag is left blank doxygen
  1361. +# will generate a default style sheet. Note that doxygen will try to copy
  1362. +# the style sheet file to the HTML output directory, so don't put your own
  1363. +# stylesheet in the HTML output directory as well, or it will be erased!
  1364. +
  1365. +HTML_STYLESHEET        =
  1366. +
  1367. +# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
  1368. +# page will contain the date and time when the page was generated. Setting
  1369. +# this to NO can help when comparing the output of multiple runs.
  1370. +
  1371. +HTML_TIMESTAMP         = YES
  1372. +
  1373. +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
  1374. +# files or namespaces will be aligned in HTML using tables. If set to
  1375. +# NO a bullet list will be used.
  1376. +
  1377. +HTML_ALIGN_MEMBERS     = YES
  1378. +
  1379. +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
  1380. +# documentation will contain sections that can be hidden and shown after the
  1381. +# page has loaded. For this to work a browser that supports
  1382. +# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox
  1383. +# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
  1384. +
  1385. +HTML_DYNAMIC_SECTIONS  = NO
  1386. +
  1387. +# If the GENERATE_DOCSET tag is set to YES, additional index files
  1388. +# will be generated that can be used as input for Apple's Xcode 3
  1389. +# integrated development environment, introduced with OSX 10.5 (Leopard).
  1390. +# To create a documentation set, doxygen will generate a Makefile in the
  1391. +# HTML output directory. Running make will produce the docset in that
  1392. +# directory and running "make install" will install the docset in
  1393. +# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find
  1394. +# it at startup.
  1395. +# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
  1396. +
  1397. +GENERATE_DOCSET        = NO
  1398. +
  1399. +# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the
  1400. +# feed. A documentation feed provides an umbrella under which multiple
  1401. +# documentation sets from a single provider (such as a company or product suite)
  1402. +# can be grouped.
  1403. +
  1404. +DOCSET_FEEDNAME        = "Doxygen generated docs"
  1405. +
  1406. +# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that
  1407. +# should uniquely identify the documentation set bundle. This should be a
  1408. +# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen
  1409. +# will append .docset to the name.
  1410. +
  1411. +DOCSET_BUNDLE_ID       = org.doxygen.Project
  1412. +
  1413. +# If the GENERATE_HTMLHELP tag is set to YES, additional index files
  1414. +# will be generated that can be used as input for tools like the
  1415. +# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
  1416. +# of the generated HTML documentation.
  1417. +
  1418. +GENERATE_HTMLHELP      = NO
  1419. +
  1420. +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
  1421. +# be used to specify the file name of the resulting .chm file. You
  1422. +# can add a path in front of the file if the result should not be
  1423. +# written to the html output directory.
  1424. +
  1425. +CHM_FILE               =
  1426. +
  1427. +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can
  1428. +# be used to specify the location (absolute path including file name) of
  1429. +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run
  1430. +# the HTML help compiler on the generated index.hhp.
  1431. +
  1432. +HHC_LOCATION           =
  1433. +
  1434. +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
  1435. +# controls if a separate .chi index file is generated (YES) or that
  1436. +# it should be included in the master .chm file (NO).
  1437. +
  1438. +GENERATE_CHI           = NO
  1439. +
  1440. +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
  1441. +# is used to encode HtmlHelp index (hhk), content (hhc) and project file
  1442. +# content.
  1443. +
  1444. +CHM_INDEX_ENCODING     =
  1445. +
  1446. +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
  1447. +# controls whether a binary table of contents is generated (YES) or a
  1448. +# normal table of contents (NO) in the .chm file.
  1449. +
  1450. +BINARY_TOC             = NO
  1451. +
  1452. +# The TOC_EXPAND flag can be set to YES to add extra items for group members
  1453. +# to the contents of the HTML help documentation and to the tree view.
  1454. +
  1455. +TOC_EXPAND             = NO
  1456. +
  1457. +# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER
  1458. +# are set, an additional index file will be generated that can be used as input for
  1459. +# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
  1460. +# HTML documentation.
  1461. +
  1462. +GENERATE_QHP           = NO
  1463. +
  1464. +# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
  1465. +# be used to specify the file name of the resulting .qch file.
  1466. +# The path specified is relative to the HTML output folder.
  1467. +
  1468. +QCH_FILE               =
  1469. +
  1470. +# The QHP_NAMESPACE tag specifies the namespace to use when generating
  1471. +# Qt Help Project output. For more information please see
  1472. +# http://doc.trolltech.com/qthelpproject.html#namespace
  1473. +
  1474. +QHP_NAMESPACE          = org.doxygen.Project
  1475. +
  1476. +# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
  1477. +# Qt Help Project output. For more information please see
  1478. +# http://doc.trolltech.com/qthelpproject.html#virtual-folders
  1479. +
  1480. +QHP_VIRTUAL_FOLDER     = doc
  1481. +
  1482. +# If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to add.
  1483. +# For more information please see
  1484. +# http://doc.trolltech.com/qthelpproject.html#custom-filters
  1485. +
  1486. +QHP_CUST_FILTER_NAME   =
  1487. +
  1488. +# The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the custom filter to add.For more information please see
  1489. +# <a href="http://doc.trolltech.com/qthelpproject.html#custom-filters">Qt Help Project / Custom Filters</a>.
  1490. +
  1491. +QHP_CUST_FILTER_ATTRS  =
  1492. +
  1493. +# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this project's
  1494. +# filter section matches.
  1495. +# <a href="http://doc.trolltech.com/qthelpproject.html#filter-attributes">Qt Help Project / Filter Attributes</a>.
  1496. +
  1497. +QHP_SECT_FILTER_ATTRS  =
  1498. +
  1499. +# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can
  1500. +# be used to specify the location of Qt's qhelpgenerator.
  1501. +# If non-empty doxygen will try to run qhelpgenerator on the generated
  1502. +# .qhp file.
  1503. +
  1504. +QHG_LOCATION           =
  1505. +
  1506. +# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
  1507. +#  will be generated, which together with the HTML files, form an Eclipse help
  1508. +#  plugin. To install this plugin and make it available under the help contents
  1509. +# menu in Eclipse, the contents of the directory containing the HTML and XML
  1510. +# files needs to be copied into the plugins directory of eclipse. The name of
  1511. +# the directory within the plugins directory should be the same as
  1512. +# the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before the help appears.
  1513. +
  1514. +GENERATE_ECLIPSEHELP   = NO
  1515. +
  1516. +# A unique identifier for the eclipse help plugin. When installing the plugin
  1517. +# the directory name containing the HTML and XML files should also have
  1518. +# this name.
  1519. +
  1520. +ECLIPSE_DOC_ID         = org.doxygen.Project
  1521. +
  1522. +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
  1523. +# top of each HTML page. The value NO (the default) enables the index and
  1524. +# the value YES disables it.
  1525. +
  1526. +DISABLE_INDEX          = NO
  1527. +
  1528. +# This tag can be used to set the number of enum values (range [1..20])
  1529. +# that doxygen will group on one line in the generated HTML documentation.
  1530. +
  1531. +ENUM_VALUES_PER_LINE   = 4
  1532. +
  1533. +# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
  1534. +# structure should be generated to display hierarchical information.
  1535. +# If the tag value is set to YES, a side panel will be generated
  1536. +# containing a tree-like index structure (just like the one that
  1537. +# is generated for HTML Help). For this to work a browser that supports
  1538. +# JavaScript, DHTML, CSS and frames is required (i.e. any modern browser).
  1539. +# Windows users are probably better off using the HTML help feature.
  1540. +
  1541. +GENERATE_TREEVIEW      = NO
  1542. +
  1543. +# By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories,
  1544. +# and Class Hierarchy pages using a tree view instead of an ordered list.
  1545. +
  1546. +USE_INLINE_TREES       = NO
  1547. +
  1548. +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
  1549. +# used to set the initial width (in pixels) of the frame in which the tree
  1550. +# is shown.
  1551. +
  1552. +TREEVIEW_WIDTH         = 250
  1553. +
  1554. +# Use this tag to change the font size of Latex formulas included
  1555. +# as images in the HTML documentation. The default is 10. Note that
  1556. +# when you change the font size after a successful doxygen run you need
  1557. +# to manually remove any form_*.png images from the HTML output directory
  1558. +# to force them to be regenerated.
  1559. +
  1560. +FORMULA_FONTSIZE       = 10
  1561. +
  1562. +# When the SEARCHENGINE tag is enabled doxygen will generate a search box for the HTML output. The underlying search engine uses javascript
  1563. +# and DHTML and should work on any modern browser. Note that when using HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) there is already a search function so this one should
  1564. +# typically be disabled. For large projects the javascript based search engine
  1565. +# can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
  1566. +
  1567. +SEARCHENGINE           = YES
  1568. +
  1569. +# When the SERVER_BASED_SEARCH tag is enabled the search engine will be implemented using a PHP enabled web server instead of at the web client using Javascript. Doxygen will generate the search PHP script and index
  1570. +# file to put on the web server. The advantage of the server based approach is that it scales better to large projects and allows full text search. The disadvances is that it is more difficult to setup
  1571. +# and does not have live searching capabilities.
  1572. +
  1573. +SERVER_BASED_SEARCH    = NO
  1574. +
  1575. +#---------------------------------------------------------------------------
  1576. +# configuration options related to the LaTeX output
  1577. +#---------------------------------------------------------------------------
  1578. +
  1579. +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
  1580. +# generate Latex output.
  1581. +
  1582. +GENERATE_LATEX         = YES
  1583. +
  1584. +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
  1585. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be
  1586. +# put in front of it. If left blank `latex' will be used as the default path.
  1587. +
  1588. +LATEX_OUTPUT           = latex
  1589. +
  1590. +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
  1591. +# invoked. If left blank `latex' will be used as the default command name.
  1592. +# Note that when enabling USE_PDFLATEX this option is only used for
  1593. +# generating bitmaps for formulas in the HTML output, but not in the
  1594. +# Makefile that is written to the output directory.
  1595. +
  1596. +LATEX_CMD_NAME         = latex
  1597. +
  1598. +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to
  1599. +# generate index for LaTeX. If left blank `makeindex' will be used as the
  1600. +# default command name.
  1601. +
  1602. +MAKEINDEX_CMD_NAME     = makeindex
  1603. +
  1604. +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
  1605. +# LaTeX documents. This may be useful for small projects and may help to
  1606. +# save some trees in general.
  1607. +
  1608. +COMPACT_LATEX          = NO
  1609. +
  1610. +# The PAPER_TYPE tag can be used to set the paper type that is used
  1611. +# by the printer. Possible values are: a4, a4wide, letter, legal and
  1612. +# executive. If left blank a4wide will be used.
  1613. +
  1614. +PAPER_TYPE             = a4wide
  1615. +
  1616. +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
  1617. +# packages that should be included in the LaTeX output.
  1618. +
  1619. +EXTRA_PACKAGES         =
  1620. +
  1621. +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
  1622. +# the generated latex document. The header should contain everything until
  1623. +# the first chapter. If it is left blank doxygen will generate a
  1624. +# standard header. Notice: only use this tag if you know what you are doing!
  1625. +
  1626. +LATEX_HEADER           =
  1627. +
  1628. +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
  1629. +# is prepared for conversion to pdf (using ps2pdf). The pdf file will
  1630. +# contain links (just like the HTML output) instead of page references
  1631. +# This makes the output suitable for online browsing using a pdf viewer.
  1632. +
  1633. +PDF_HYPERLINKS         = YES
  1634. +
  1635. +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
  1636. +# plain latex in the generated Makefile. Set this option to YES to get a
  1637. +# higher quality PDF documentation.
  1638. +
  1639. +USE_PDFLATEX           = YES
  1640. +
  1641. +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
  1642. +# command to the generated LaTeX files. This will instruct LaTeX to keep
  1643. +# running if errors occur, instead of asking the user for help.
  1644. +# This option is also used when generating formulas in HTML.
  1645. +
  1646. +LATEX_BATCHMODE        = NO
  1647. +
  1648. +# If LATEX_HIDE_INDICES is set to YES then doxygen will not
  1649. +# include the index chapters (such as File Index, Compound Index, etc.)
  1650. +# in the output.
  1651. +
  1652. +LATEX_HIDE_INDICES     = NO
  1653. +
  1654. +# If LATEX_SOURCE_CODE is set to YES then doxygen will include source code with syntax highlighting in the LaTeX output. Note that which sources are shown also depends on other settings such as SOURCE_BROWSER.
  1655. +
  1656. +LATEX_SOURCE_CODE      = NO
  1657. +
  1658. +#---------------------------------------------------------------------------
  1659. +# configuration options related to the RTF output
  1660. +#---------------------------------------------------------------------------
  1661. +
  1662. +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
  1663. +# The RTF output is optimized for Word 97 and may not look very pretty with
  1664. +# other RTF readers or editors.
  1665. +
  1666. +GENERATE_RTF           = NO
  1667. +
  1668. +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
  1669. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be
  1670. +# put in front of it. If left blank `rtf' will be used as the default path.
  1671. +
  1672. +RTF_OUTPUT             = rtf
  1673. +
  1674. +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
  1675. +# RTF documents. This may be useful for small projects and may help to
  1676. +# save some trees in general.
  1677. +
  1678. +COMPACT_RTF            = NO
  1679. +
  1680. +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
  1681. +# will contain hyperlink fields. The RTF file will
  1682. +# contain links (just like the HTML output) instead of page references.
  1683. +# This makes the output suitable for online browsing using WORD or other
  1684. +# programs which support those fields.
  1685. +# Note: wordpad (write) and others do not support links.
  1686. +
  1687. +RTF_HYPERLINKS         = NO
  1688. +
  1689. +# Load stylesheet definitions from file. Syntax is similar to doxygen's
  1690. +# config file, i.e. a series of assignments. You only have to provide
  1691. +# replacements, missing definitions are set to their default value.
  1692. +
  1693. +RTF_STYLESHEET_FILE    =
  1694. +
  1695. +# Set optional variables used in the generation of an rtf document.
  1696. +# Syntax is similar to doxygen's config file.
  1697. +
  1698. +RTF_EXTENSIONS_FILE    =
  1699. +
  1700. +#---------------------------------------------------------------------------
  1701. +# configuration options related to the man page output
  1702. +#---------------------------------------------------------------------------
  1703. +
  1704. +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
  1705. +# generate man pages
  1706. +
  1707. +GENERATE_MAN           = NO
  1708. +
  1709. +# The MAN_OUTPUT tag is used to specify where the man pages will be put.
  1710. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be
  1711. +# put in front of it. If left blank `man' will be used as the default path.
  1712. +
  1713. +MAN_OUTPUT             = man
  1714. +
  1715. +# The MAN_EXTENSION tag determines the extension that is added to
  1716. +# the generated man pages (default is the subroutine's section .3)
  1717. +
  1718. +MAN_EXTENSION          = .3
  1719. +
  1720. +# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
  1721. +# then it will generate one additional man file for each entity
  1722. +# documented in the real man page(s). These additional files
  1723. +# only source the real man page, but without them the man command
  1724. +# would be unable to find the correct page. The default is NO.
  1725. +
  1726. +MAN_LINKS              = NO
  1727. +
  1728. +#---------------------------------------------------------------------------
  1729. +# configuration options related to the XML output
  1730. +#---------------------------------------------------------------------------
  1731. +
  1732. +# If the GENERATE_XML tag is set to YES Doxygen will
  1733. +# generate an XML file that captures the structure of
  1734. +# the code including all documentation.
  1735. +
  1736. +GENERATE_XML           = YES
  1737. +
  1738. +# The XML_OUTPUT tag is used to specify where the XML pages will be put.
  1739. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be
  1740. +# put in front of it. If left blank `xml' will be used as the default path.
  1741. +
  1742. +XML_OUTPUT             = xml
  1743. +
  1744. +# The XML_SCHEMA tag can be used to specify an XML schema,
  1745. +# which can be used by a validating XML parser to check the
  1746. +# syntax of the XML files.
  1747. +
  1748. +XML_SCHEMA             =
  1749. +
  1750. +# The XML_DTD tag can be used to specify an XML DTD,
  1751. +# which can be used by a validating XML parser to check the
  1752. +# syntax of the XML files.
  1753. +
  1754. +XML_DTD                =
  1755. +
  1756. +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will
  1757. +# dump the program listings (including syntax highlighting
  1758. +# and cross-referencing information) to the XML output. Note that
  1759. +# enabling this will significantly increase the size of the XML output.
  1760. +
  1761. +XML_PROGRAMLISTING     = YES
  1762. +
  1763. +#---------------------------------------------------------------------------
  1764. +# configuration options for the AutoGen Definitions output
  1765. +#---------------------------------------------------------------------------
  1766. +
  1767. +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
  1768. +# generate an AutoGen Definitions (see autogen.sf.net) file
  1769. +# that captures the structure of the code including all
  1770. +# documentation. Note that this feature is still experimental
  1771. +# and incomplete at the moment.
  1772. +
  1773. +GENERATE_AUTOGEN_DEF   = NO
  1774. +
  1775. +#---------------------------------------------------------------------------
  1776. +# configuration options related to the Perl module output
  1777. +#---------------------------------------------------------------------------
  1778. +
  1779. +# If the GENERATE_PERLMOD tag is set to YES Doxygen will
  1780. +# generate a Perl module file that captures the structure of
  1781. +# the code including all documentation. Note that this
  1782. +# feature is still experimental and incomplete at the
  1783. +# moment.
  1784. +
  1785. +GENERATE_PERLMOD       = NO
  1786. +
  1787. +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate
  1788. +# the necessary Makefile rules, Perl scripts and LaTeX code to be able
  1789. +# to generate PDF and DVI output from the Perl module output.
  1790. +
  1791. +PERLMOD_LATEX          = NO
  1792. +
  1793. +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be
  1794. +# nicely formatted so it can be parsed by a human reader.
  1795. +# This is useful
  1796. +# if you want to understand what is going on.
  1797. +# On the other hand, if this
  1798. +# tag is set to NO the size of the Perl module output will be much smaller
  1799. +# and Perl will parse it just the same.
  1800. +
  1801. +PERLMOD_PRETTY         = YES
  1802. +
  1803. +# The names of the make variables in the generated doxyrules.make file
  1804. +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX.
  1805. +# This is useful so different doxyrules.make files included by the same
  1806. +# Makefile don't overwrite each other's variables.
  1807. +
  1808. +PERLMOD_MAKEVAR_PREFIX =
  1809. +
  1810. +#---------------------------------------------------------------------------
  1811. +# Configuration options related to the preprocessor
  1812. +#---------------------------------------------------------------------------
  1813. +
  1814. +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
  1815. +# evaluate all C-preprocessor directives found in the sources and include
  1816. +# files.
  1817. +
  1818. +ENABLE_PREPROCESSING   = YES
  1819. +
  1820. +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
  1821. +# names in the source code. If set to NO (the default) only conditional
  1822. +# compilation will be performed. Macro expansion can be done in a controlled
  1823. +# way by setting EXPAND_ONLY_PREDEF to YES.
  1824. +
  1825. +MACRO_EXPANSION        = NO
  1826. +
  1827. +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
  1828. +# then the macro expansion is limited to the macros specified with the
  1829. +# PREDEFINED and EXPAND_AS_DEFINED tags.
  1830. +
  1831. +EXPAND_ONLY_PREDEF     = NO
  1832. +
  1833. +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
  1834. +# in the INCLUDE_PATH (see below) will be search if a #include is found.
  1835. +
  1836. +SEARCH_INCLUDES        = YES
  1837. +
  1838. +# The INCLUDE_PATH tag can be used to specify one or more directories that
  1839. +# contain include files that are not input files but should be processed by
  1840. +# the preprocessor.
  1841. +
  1842. +INCLUDE_PATH           =
  1843. +
  1844. +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
  1845. +# patterns (like *.h and *.hpp) to filter out the header-files in the
  1846. +# directories. If left blank, the patterns specified with FILE_PATTERNS will
  1847. +# be used.
  1848. +
  1849. +INCLUDE_FILE_PATTERNS  =
  1850. +
  1851. +# The PREDEFINED tag can be used to specify one or more macro names that
  1852. +# are defined before the preprocessor is started (similar to the -D option of
  1853. +# gcc). The argument of the tag is a list of macros of the form: name
  1854. +# or name=definition (no spaces). If the definition and the = are
  1855. +# omitted =1 is assumed. To prevent a macro definition from being
  1856. +# undefined via #undef or recursively expanded use the := operator
  1857. +# instead of the = operator.
  1858. +
  1859. +PREDEFINED             =
  1860. +
  1861. +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
  1862. +# this tag can be used to specify a list of macro names that should be expanded.
  1863. +# The macro definition that is found in the sources will be used.
  1864. +# Use the PREDEFINED tag if you want to use a different macro definition.
  1865. +
  1866. +EXPAND_AS_DEFINED      =
  1867. +
  1868. +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
  1869. +# doxygen's preprocessor will remove all function-like macros that are alone
  1870. +# on a line, have an all uppercase name, and do not end with a semicolon. Such
  1871. +# function macros are typically used for boiler-plate code, and will confuse
  1872. +# the parser if not removed.
  1873. +
  1874. +SKIP_FUNCTION_MACROS   = YES
  1875. +
  1876. +#---------------------------------------------------------------------------
  1877. +# Configuration::additions related to external references
  1878. +#---------------------------------------------------------------------------
  1879. +
  1880. +# The TAGFILES option can be used to specify one or more tagfiles.
  1881. +# Optionally an initial location of the external documentation
  1882. +# can be added for each tagfile. The format of a tag file without
  1883. +# this location is as follows:
  1884. +#
  1885. +# TAGFILES = file1 file2 ...
  1886. +# Adding location for the tag files is done as follows:
  1887. +#
  1888. +# TAGFILES = file1=loc1 "file2 = loc2" ...
  1889. +# where "loc1" and "loc2" can be relative or absolute paths or
  1890. +# URLs. If a location is present for each tag, the installdox tool
  1891. +# does not have to be run to correct the links.
  1892. +# Note that each tag file must have a unique name
  1893. +# (where the name does NOT include the path)
  1894. +# If a tag file is not located in the directory in which doxygen
  1895. +# is run, you must also specify the path to the tagfile here.
  1896. +
  1897. +TAGFILES               =
  1898. +
  1899. +# When a file name is specified after GENERATE_TAGFILE, doxygen will create
  1900. +# a tag file that is based on the input files it reads.
  1901. +
  1902. +GENERATE_TAGFILE       =
  1903. +
  1904. +# If the ALLEXTERNALS tag is set to YES all external classes will be listed
  1905. +# in the class index. If set to NO only the inherited external classes
  1906. +# will be listed.
  1907. +
  1908. +ALLEXTERNALS           = NO
  1909. +
  1910. +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed
  1911. +# in the modules index. If set to NO, only the current project's groups will
  1912. +# be listed.
  1913. +
  1914. +EXTERNAL_GROUPS        = YES
  1915. +
  1916. +# The PERL_PATH should be the absolute path and name of the perl script
  1917. +# interpreter (i.e. the result of `which perl').
  1918. +
  1919. +PERL_PATH              = /usr/bin/perl
  1920. +
  1921. +#---------------------------------------------------------------------------
  1922. +# Configuration options related to the dot tool
  1923. +#---------------------------------------------------------------------------
  1924. +
  1925. +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
  1926. +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base
  1927. +# or super classes. Setting the tag to NO turns the diagrams off. Note that
  1928. +# this option is superseded by the HAVE_DOT option below. This is only a
  1929. +# fallback. It is recommended to install and use dot, since it yields more
  1930. +# powerful graphs.
  1931. +
  1932. +CLASS_DIAGRAMS         = YES
  1933. +
  1934. +# You can define message sequence charts within doxygen comments using the \msc
  1935. +# command. Doxygen will then run the mscgen tool (see
  1936. +# http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the
  1937. +# documentation. The MSCGEN_PATH tag allows you to specify the directory where
  1938. +# the mscgen tool resides. If left empty the tool is assumed to be found in the
  1939. +# default search path.
  1940. +
  1941. +MSCGEN_PATH            =
  1942. +
  1943. +# If set to YES, the inheritance and collaboration graphs will hide
  1944. +# inheritance and usage relations if the target is undocumented
  1945. +# or is not a class.
  1946. +
  1947. +HIDE_UNDOC_RELATIONS   = YES
  1948. +
  1949. +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
  1950. +# available from the path. This tool is part of Graphviz, a graph visualization
  1951. +# toolkit from AT&T and Lucent Bell Labs. The other options in this section
  1952. +# have no effect if this option is set to NO (the default)
  1953. +
  1954. +HAVE_DOT               = NO
  1955. +
  1956. +# By default doxygen will write a font called FreeSans.ttf to the output
  1957. +# directory and reference it in all dot files that doxygen generates. This
  1958. +# font does not include all possible unicode characters however, so when you need
  1959. +# these (or just want a differently looking font) you can specify the font name
  1960. +# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
  1961. +# which can be done by putting it in a standard location or by setting the
  1962. +# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
  1963. +# containing the font.
  1964. +
  1965. +DOT_FONTNAME           = FreeSans
  1966. +
  1967. +# The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs.
  1968. +# The default size is 10pt.
  1969. +
  1970. +DOT_FONTSIZE           = 10
  1971. +
  1972. +# By default doxygen will tell dot to use the output directory to look for the
  1973. +# FreeSans.ttf font (which doxygen will put there itself). If you specify a
  1974. +# different font using DOT_FONTNAME you can set the path where dot
  1975. +# can find it using this tag.
  1976. +
  1977. +DOT_FONTPATH           =
  1978. +
  1979. +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
  1980. +# will generate a graph for each documented class showing the direct and
  1981. +# indirect inheritance relations. Setting this tag to YES will force the
  1982. +# the CLASS_DIAGRAMS tag to NO.
  1983. +
  1984. +CLASS_GRAPH            = YES
  1985. +
  1986. +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
  1987. +# will generate a graph for each documented class showing the direct and
  1988. +# indirect implementation dependencies (inheritance, containment, and
  1989. +# class references variables) of the class with other documented classes.
  1990. +
  1991. +COLLABORATION_GRAPH    = YES
  1992. +
  1993. +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen
  1994. +# will generate a graph for groups, showing the direct groups dependencies
  1995. +
  1996. +GROUP_GRAPHS           = YES
  1997. +
  1998. +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
  1999. +# collaboration diagrams in a style similar to the OMG's Unified Modeling
  2000. +# Language.
  2001. +
  2002. +UML_LOOK               = NO
  2003. +
  2004. +# If set to YES, the inheritance and collaboration graphs will show the
  2005. +# relations between templates and their instances.
  2006. +
  2007. +TEMPLATE_RELATIONS     = NO
  2008. +
  2009. +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
  2010. +# tags are set to YES then doxygen will generate a graph for each documented
  2011. +# file showing the direct and indirect include dependencies of the file with
  2012. +# other documented files.
  2013. +
  2014. +INCLUDE_GRAPH          = YES
  2015. +
  2016. +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
  2017. +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
  2018. +# documented header file showing the documented files that directly or
  2019. +# indirectly include this file.
  2020. +
  2021. +INCLUDED_BY_GRAPH      = YES
  2022. +
  2023. +# If the CALL_GRAPH and HAVE_DOT options are set to YES then
  2024. +# doxygen will generate a call dependency graph for every global function
  2025. +# or class method. Note that enabling this option will significantly increase
  2026. +# the time of a run. So in most cases it will be better to enable call graphs
  2027. +# for selected functions only using the \callgraph command.
  2028. +
  2029. +CALL_GRAPH             = NO
  2030. +
  2031. +# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
  2032. +# doxygen will generate a caller dependency graph for every global function
  2033. +# or class method. Note that enabling this option will significantly increase
  2034. +# the time of a run. So in most cases it will be better to enable caller
  2035. +# graphs for selected functions only using the \callergraph command.
  2036. +
  2037. +CALLER_GRAPH           = NO
  2038. +
  2039. +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
  2040. +# will graphical hierarchy of all classes instead of a textual one.
  2041. +
  2042. +GRAPHICAL_HIERARCHY    = YES
  2043. +
  2044. +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES
  2045. +# then doxygen will show the dependencies a directory has on other directories
  2046. +# in a graphical way. The dependency relations are determined by the #include
  2047. +# relations between the files in the directories.
  2048. +
  2049. +DIRECTORY_GRAPH        = YES
  2050. +
  2051. +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
  2052. +# generated by dot. Possible values are png, jpg, or gif
  2053. +# If left blank png will be used.
  2054. +
  2055. +DOT_IMAGE_FORMAT       = png
  2056. +
  2057. +# The tag DOT_PATH can be used to specify the path where the dot tool can be
  2058. +# found. If left blank, it is assumed the dot tool can be found in the path.
  2059. +
  2060. +DOT_PATH               =
  2061. +
  2062. +# The DOTFILE_DIRS tag can be used to specify one or more directories that
  2063. +# contain dot files that are included in the documentation (see the
  2064. +# \dotfile command).
  2065. +
  2066. +DOTFILE_DIRS           =
  2067. +
  2068. +# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of
  2069. +# nodes that will be shown in the graph. If the number of nodes in a graph
  2070. +# becomes larger than this value, doxygen will truncate the graph, which is
  2071. +# visualized by representing a node as a red box. Note that doxygen if the
  2072. +# number of direct children of the root node in a graph is already larger than
  2073. +# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note
  2074. +# that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
  2075. +
  2076. +DOT_GRAPH_MAX_NODES    = 50
  2077. +
  2078. +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the
  2079. +# graphs generated by dot. A depth value of 3 means that only nodes reachable
  2080. +# from the root by following a path via at most 3 edges will be shown. Nodes
  2081. +# that lay further from the root node will be omitted. Note that setting this
  2082. +# option to 1 or 2 may greatly reduce the computation time needed for large
  2083. +# code bases. Also note that the size of a graph can be further restricted by
  2084. +# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
  2085. +
  2086. +MAX_DOT_GRAPH_DEPTH    = 0
  2087. +
  2088. +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
  2089. +# background. This is disabled by default, because dot on Windows does not
  2090. +# seem to support this out of the box. Warning: Depending on the platform used,
  2091. +# enabling this option may lead to badly anti-aliased labels on the edges of
  2092. +# a graph (i.e. they become hard to read).
  2093. +
  2094. +DOT_TRANSPARENT        = NO
  2095. +
  2096. +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
  2097. +# files in one run (i.e. multiple -o and -T options on the command line). This
  2098. +# makes dot run faster, but since only newer versions of dot (>1.8.10)
  2099. +# support this, this feature is disabled by default.
  2100. +
  2101. +DOT_MULTI_TARGETS      = YES
  2102. +
  2103. +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
  2104. +# generate a legend page explaining the meaning of the various boxes and
  2105. +# arrows in the dot generated graphs.
  2106. +
  2107. +GENERATE_LEGEND        = YES
  2108. +
  2109. +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
  2110. +# remove the intermediate dot files that are used to generate
  2111. +# the various graphs.
  2112. +
  2113. +DOT_CLEANUP            = YES
  2114. diff --git a/docs/doxygen/doxyxml/example/aadvark.cc b/docs/doxygen/doxyxml/example/aadvark.cc
  2115. new file mode 100644
  2116. index 0000000..f91c1ba
  2117. --- /dev/null
  2118. +++ b/docs/doxygen/doxyxml/example/aadvark.cc
  2119. @@ -0,0 +1,50 @@
  2120. +/* -*- c++ -*- */
  2121. +/*
  2122. + * Copyright 2010 Free Software Foundation, Inc.
  2123. + *
  2124. + * This file is part of GNU Radio
  2125. + *
  2126. + * GNU Radio is free software; you can redistribute it and/or modify
  2127. + * it under the terms of the GNU General Public License as published by
  2128. + * the Free Software Foundation; either version 3, or (at your option)
  2129. + * any later version.
  2130. + *
  2131. + * GNU Radio is distributed in the hope that it will be useful,
  2132. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2133. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  2134. + * GNU General Public License for more details.
  2135. + *
  2136. + * You should have received a copy of the GNU General Public License
  2137. + * along with GNU Radio; see the file COPYING.  If not, write to
  2138. + * the Free Software Foundation, Inc., 51 Franklin Street,
  2139. + * Boston, MA 02110-1301, USA.
  2140. + */
  2141. +#include <iostream>
  2142. +#include "aadvark.h"
  2143. +
  2144. +void Aadvark::print() {
  2145. +  std::cout << "aadvark is " << aadvarkness << "/10 aadvarky" << std::endl;
  2146. +}
  2147. +
  2148. +Aadvark::Aadvark(int aaness): aadvarkness(aaness) {}
  2149. +
  2150. +bool aadvarky_enough(Aadvark aad) {
  2151. +  if (aad.get_aadvarkness() > 6)
  2152. +    return true;
  2153. +  else
  2154. +    return false;
  2155. +}
  2156. +
  2157. +int Aadvark::get_aadvarkness() {
  2158. +  return aadvarkness;
  2159. +}
  2160. +
  2161. +int main() {
  2162. +  Aadvark arold = Aadvark(6);
  2163. +  arold.print();
  2164. +  if (aadvarky_enough(arold))
  2165. +    std::cout << "He is aadvarky enough" << std::endl;
  2166. +  else
  2167. +    std::cout << "He is not aadvarky enough" << std::endl;
  2168. +}
  2169. +
  2170. diff --git a/docs/doxygen/doxyxml/example/aadvark.h b/docs/doxygen/doxyxml/example/aadvark.h
  2171. new file mode 100644
  2172. index 0000000..d3c1744
  2173. --- /dev/null
  2174. +++ b/docs/doxygen/doxyxml/example/aadvark.h
  2175. @@ -0,0 +1,44 @@
  2176. +/* -*- c++ -*- */
  2177. +/*
  2178. + * Copyright 2010 Free Software Foundation, Inc.
  2179. + *
  2180. + * This file is part of GNU Radio
  2181. + *
  2182. + * GNU Radio is free software; you can redistribute it and/or modify
  2183. + * it under the terms of the GNU General Public License as published by
  2184. + * the Free Software Foundation; either version 3, or (at your option)
  2185. + * any later version.
  2186. + *
  2187. + * GNU Radio is distributed in the hope that it will be useful,
  2188. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  2189. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  2190. + * GNU General Public License for more details.
  2191. + *
  2192. + * You should have received a copy of the GNU General Public License
  2193. + * along with GNU Radio; see the file COPYING.  If not, write to
  2194. + * the Free Software Foundation, Inc., 51 Franklin Street,
  2195. + * Boston, MA 02110-1301, USA.
  2196. + */
  2197. +#include <iostream>
  2198. +
  2199. +/*!
  2200. + * \brief Models the mammal Aadvark.
  2201. + *
  2202. + * Sadly the model is incomplete and cannot capture all aspects of an aadvark yet.
  2203. + *
  2204. + * This line is uninformative and is only to test line breaks in the comments.
  2205. + */
  2206. +class Aadvark {
  2207. +public:
  2208. +  //! \brief Outputs the vital aadvark statistics.
  2209. +  void print();
  2210. +  //! \param aaness The aadvarkness of an aadvark is a measure of how aadvarky it is.
  2211. +  Aadvark(int aaness);
  2212. +  int get_aadvarkness();
  2213. +private:
  2214. +  int aadvarkness;
  2215. +};
  2216. +
  2217. +bool aadvarky_enough(Aadvark aad);
  2218. +
  2219. +int main();
  2220. diff --git a/docs/doxygen/doxyxml/example/xml/aadvark_8cc.xml b/docs/doxygen/doxyxml/example/xml/aadvark_8cc.xml
  2221. new file mode 100644
  2222. index 0000000..f031e01
  2223. --- /dev/null
  2224. +++ b/docs/doxygen/doxyxml/example/xml/aadvark_8cc.xml
  2225. @@ -0,0 +1,88 @@
  2226. +<?xml version='1.0' encoding='UTF-8' standalone='no'?>
  2227. +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3">
  2228. +  <compounddef id="aadvark_8cc" kind="file">
  2229. +    <compoundname>aadvark.cc</compoundname>
  2230. +    <includes local="no">iostream</includes>
  2231. +    <includes refid="aadvark_8cc" local="yes">aadvark.h</includes>
  2232. +    <includedby refid="aadvark_8cc" local="yes">aadvark.cc</includedby>
  2233. +    <incdepgraph>
  2234. +      <node id="0">
  2235. +        <label>aadvark.cc</label>
  2236. +        <link refid="aadvark.cc"/>
  2237. +        <childnode refid="1" relation="include">
  2238. +        </childnode>
  2239. +      </node>
  2240. +      <node id="1">
  2241. +        <label>iostream</label>
  2242. +      </node>
  2243. +    </incdepgraph>
  2244. +      <sectiondef kind="func">
  2245. +      <memberdef kind="function" id="aadvark_8cc_1acb52858524210ec6dddc3e16d1e52946" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2246. +        <type>bool</type>
  2247. +        <definition>bool aadvarky_enough</definition>
  2248. +        <argsstring>(Aadvark aad)</argsstring>
  2249. +        <name>aadvarky_enough</name>
  2250. +        <param>
  2251. +          <type><ref refid="classAadvark" kindref="compound">Aadvark</ref></type>
  2252. +          <declname>aad</declname>
  2253. +        </param>
  2254. +        <briefdescription>
  2255. +        </briefdescription>
  2256. +        <detaileddescription>
  2257. +        </detaileddescription>
  2258. +        <inbodydescription>
  2259. +        </inbodydescription>
  2260. +        <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"/>
  2261. +      </memberdef>
  2262. +      <memberdef kind="function" id="aadvark_8cc_1ae66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2263. +        <type>int</type>
  2264. +        <definition>int main</definition>
  2265. +        <argsstring>()</argsstring>
  2266. +        <name>main</name>
  2267. +        <briefdescription>
  2268. +        </briefdescription>
  2269. +        <detaileddescription>
  2270. +        </detaileddescription>
  2271. +        <inbodydescription>
  2272. +        </inbodydescription>
  2273. +        <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"/>
  2274. +      </memberdef>
  2275. +      </sectiondef>
  2276. +    <briefdescription>
  2277. +    </briefdescription>
  2278. +    <detaileddescription>
  2279. +    </detaileddescription>
  2280. +    <programlisting>
  2281. +<codeline lineno="1"><highlight class="preprocessor">#include<sp/>&lt;iostream&gt;</highlight><highlight class="normal"></highlight></codeline>
  2282. +<codeline lineno="2"><highlight class="normal"></highlight><highlight class="preprocessor">#include<sp/>&quot;aadvark.h&quot;</highlight><highlight class="normal"></highlight></codeline>
  2283. +<codeline lineno="3"><highlight class="normal"></highlight></codeline>
  2284. +<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>
  2285. +<codeline lineno="5"><highlight class="normal"><sp/><sp/>std::cout<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;aadvark<sp/>is<sp/>&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>aadvarkness<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;/10<sp/>aadvarky&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>std::endl;</highlight></codeline>
  2286. +<codeline lineno="6"><highlight class="normal">}</highlight></codeline>
  2287. +<codeline lineno="7"><highlight class="normal"></highlight></codeline>
  2288. +<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>
  2289. +<codeline lineno="9"><highlight class="normal"></highlight></codeline>
  2290. +<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>
  2291. +<codeline lineno="11"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(aad.get_aadvarkness()<sp/>&gt;<sp/>6)</highlight></codeline>
  2292. +<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>
  2293. +<codeline lineno="13"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
  2294. +<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>
  2295. +<codeline lineno="15"><highlight class="normal">}</highlight></codeline>
  2296. +<codeline lineno="16"><highlight class="normal"></highlight></codeline>
  2297. +<codeline lineno="17"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>Aadvark::get_aadvarkness()<sp/>{</highlight></codeline>
  2298. +<codeline lineno="18"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>aadvarkness;</highlight></codeline>
  2299. +<codeline lineno="19"><highlight class="normal">}</highlight></codeline>
  2300. +<codeline lineno="20"><highlight class="normal"></highlight></codeline>
  2301. +<codeline lineno="21"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>main()<sp/>{</highlight></codeline>
  2302. +<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>
  2303. +<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>
  2304. +<codeline lineno="24"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(aadvarky_enough(arold))</highlight></codeline>
  2305. +<codeline lineno="25"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;He<sp/>is<sp/>aadvarky<sp/>enough&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>std::endl;</highlight></codeline>
  2306. +<codeline lineno="26"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal"></highlight></codeline>
  2307. +<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/>std::cout<sp/>&lt;&lt;<sp/></highlight><highlight class="stringliteral">&quot;He<sp/>is<sp/>not<sp/>aadvarky<sp/>enough&quot;</highlight><highlight class="normal"><sp/>&lt;&lt;<sp/>std::endl;</highlight></codeline>
  2308. +<codeline lineno="28"><highlight class="normal">}</highlight></codeline>
  2309. +<codeline lineno="29"><highlight class="normal"></highlight></codeline>
  2310. +    </programlisting>
  2311. +    <location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.cc"/>
  2312. +  </compounddef>
  2313. +</doxygen>
  2314. diff --git a/docs/doxygen/doxyxml/example/xml/aadvark_8h.xml b/docs/doxygen/doxyxml/example/xml/aadvark_8h.xml
  2315. new file mode 100644
  2316. index 0000000..a1854b6
  2317. --- /dev/null
  2318. +++ b/docs/doxygen/doxyxml/example/xml/aadvark_8h.xml
  2319. @@ -0,0 +1,72 @@
  2320. +<?xml version='1.0' encoding='UTF-8' standalone='no'?>
  2321. +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3">
  2322. +  <compounddef id="aadvark_8h" kind="file">
  2323. +    <compoundname>aadvark.h</compoundname>
  2324. +    <includes local="no">iostream</includes>
  2325. +    <incdepgraph>
  2326. +      <node id="3">
  2327. +        <label>aadvark.h</label>
  2328. +        <link refid="aadvark.h"/>
  2329. +        <childnode refid="4" relation="include">
  2330. +        </childnode>
  2331. +      </node>
  2332. +      <node id="4">
  2333. +        <label>iostream</label>
  2334. +      </node>
  2335. +    </incdepgraph>
  2336. +    <innerclass refid="classAadvark" prot="public">Aadvark</innerclass>
  2337. +      <sectiondef kind="func">
  2338. +      <memberdef kind="function" id="aadvark_8h_1acb52858524210ec6dddc3e16d1e52946" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2339. +        <type>bool</type>
  2340. +        <definition>bool aadvarky_enough</definition>
  2341. +        <argsstring>(Aadvark aad)</argsstring>
  2342. +        <name>aadvarky_enough</name>
  2343. +        <param>
  2344. +          <type><ref refid="classAadvark" kindref="compound">Aadvark</ref></type>
  2345. +          <declname>aad</declname>
  2346. +        </param>
  2347. +        <briefdescription>
  2348. +        </briefdescription>
  2349. +        <detaileddescription>
  2350. +        </detaileddescription>
  2351. +        <inbodydescription>
  2352. +        </inbodydescription>
  2353. +        <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"/>
  2354. +      </memberdef>
  2355. +      <memberdef kind="function" id="aadvark_8h_1ae66f6b31b5ad750f1fe042a706a4e3d4" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2356. +        <type>int</type>
  2357. +        <definition>int main</definition>
  2358. +        <argsstring>()</argsstring>
  2359. +        <name>main</name>
  2360. +        <briefdescription>
  2361. +        </briefdescription>
  2362. +        <detaileddescription>
  2363. +        </detaileddescription>
  2364. +        <inbodydescription>
  2365. +        </inbodydescription>
  2366. +        <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"/>
  2367. +      </memberdef>
  2368. +      </sectiondef>
  2369. +    <briefdescription>
  2370. +    </briefdescription>
  2371. +    <detaileddescription>
  2372. +    </detaileddescription>
  2373. +    <programlisting>
  2374. +<codeline lineno="1"><highlight class="preprocessor">#include<sp/>&lt;iostream&gt;</highlight><highlight class="normal"></highlight></codeline>
  2375. +<codeline lineno="2"><highlight class="normal"></highlight></codeline>
  2376. +<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>
  2377. +<codeline lineno="11"><highlight class="normal"></highlight><highlight class="keyword">public</highlight><highlight class="normal">:</highlight></codeline>
  2378. +<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>
  2379. +<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>
  2380. +<codeline lineno="16"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>get_aadvarkness();</highlight></codeline>
  2381. +<codeline lineno="17"><highlight class="normal"></highlight><highlight class="keyword">private</highlight><highlight class="normal">:</highlight></codeline>
  2382. +<codeline lineno="18"><highlight class="normal"><sp/><sp/></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>aadvarkness;</highlight></codeline>
  2383. +<codeline lineno="19"><highlight class="normal">};</highlight></codeline>
  2384. +<codeline lineno="20"><highlight class="normal"></highlight></codeline>
  2385. +<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>
  2386. +<codeline lineno="22"><highlight class="normal"></highlight></codeline>
  2387. +<codeline lineno="23"><highlight class="normal"></highlight><highlight class="keywordtype">int</highlight><highlight class="normal"><sp/>main();</highlight></codeline>
  2388. +    </programlisting>
  2389. +    <location file="/home/ben/gnuradio/gnuradio-core/src/python/gnuradio/utils/doxyxml/example/aadvark.h"/>
  2390. +  </compounddef>
  2391. +</doxygen>
  2392. diff --git a/docs/doxygen/doxyxml/example/xml/classAadvark.xml b/docs/doxygen/doxyxml/example/xml/classAadvark.xml
  2393. new file mode 100644
  2394. index 0000000..54fe8b3
  2395. --- /dev/null
  2396. +++ b/docs/doxygen/doxyxml/example/xml/classAadvark.xml
  2397. @@ -0,0 +1,86 @@
  2398. +<?xml version='1.0' encoding='UTF-8' standalone='no'?>
  2399. +<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.6.3">
  2400. +  <compounddef id="classAadvark" kind="class" prot="public">
  2401. +    <compoundname>Aadvark</compoundname>
  2402. +    <includes refid="aadvark_8h" local="no">aadvark.h</includes>
  2403. +      <sectiondef kind="private-attrib">
  2404. +      <memberdef kind="variable" id="classAadvark_1ab79eb58d7bb9d5ddfa5d6f783836cab9" prot="private" static="no" mutable="no">
  2405. +        <type>int</type>
  2406. +        <definition>int Aadvark::aadvarkness</definition>
  2407. +        <argsstring></argsstring>
  2408. +        <name>aadvarkness</name>
  2409. +        <briefdescription>
  2410. +        </briefdescription>
  2411. +        <detaileddescription>
  2412. +        </detaileddescription>
  2413. +        <inbodydescription>
  2414. +        </inbodydescription>
  2415. +        <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"/>
  2416. +      </memberdef>
  2417. +      </sectiondef>
  2418. +      <sectiondef kind="public-func">
  2419. +      <memberdef kind="function" id="classAadvark_1abd061aa5f998002e72080a34f512a059" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2420. +        <type>void</type>
  2421. +        <definition>void Aadvark::print</definition>
  2422. +        <argsstring>()</argsstring>
  2423. +        <name>print</name>
  2424. +        <briefdescription>
  2425. +<para>Outputs the vital aadvark statistics. </para>        </briefdescription>
  2426. +        <detaileddescription>
  2427. +        </detaileddescription>
  2428. +        <inbodydescription>
  2429. +        </inbodydescription>
  2430. +        <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"/>
  2431. +      </memberdef>
  2432. +      <memberdef kind="function" id="classAadvark_1adf1a4b97a641411a74a04ab312484462" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2433. +        <type></type>
  2434. +        <definition>Aadvark::Aadvark</definition>
  2435. +        <argsstring>(int aaness)</argsstring>
  2436. +        <name>Aadvark</name>
  2437. +        <param>
  2438. +          <type>int</type>
  2439. +          <declname>aaness</declname>
  2440. +        </param>
  2441. +        <briefdescription>
  2442. +        </briefdescription>
  2443. +        <detaileddescription>
  2444. +<para><parameterlist kind="param"><parameteritem>
  2445. +<parameternamelist>
  2446. +<parametername>aaness</parametername>
  2447. +</parameternamelist>
  2448. +<parameterdescription>
  2449. +<para>The aadvarkness of an aadvark is a measure of how aadvarky it is. </para></parameterdescription>
  2450. +</parameteritem>
  2451. +</parameterlist>
  2452. +</para>        </detaileddescription>
  2453. +        <inbodydescription>
  2454. +        </inbodydescription>
  2455. +        <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"/>
  2456. +      </memberdef>
  2457. +      <memberdef kind="function" id="classAadvark_1affd2ada0a85807efcbe26615a848f53e" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
  2458. +        <type>int</type>
  2459. +        <definition>int Aadvark::get_aadvarkness</definition>
  2460. +        <argsstring>()</argsstring>
  2461. +        <name>get_aadvarkness</name>
  2462. +        <briefdescription>
  2463. +        </briefdescription>
  2464. +        <detaileddescription>
  2465. +        </detaileddescription>
  2466. +        <inbodydescription>
  2467. +        </inbodydescription>
  2468. +        <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"/>
  2469. +      </memberdef>
  2470. +      </sectiondef>
  2471. +    <briefdescription>
  2472. +<para>Models the mammal <ref refid="classAadvark" kindref="compound">Aadvark</ref>. </para>    </briefdescription>
  2473. +    <detaileddescription>
  2474. +<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>
  2475. +    <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"/>
  2476. +    <listofallmembers>
  2477. +      <member refid="classAadvark_1adf1a4b97a641411a74a04ab312484462" prot="public" virt="non-virtual"><scope>Aadvark</scope><name>Aadvark</name></member>
  2478. +      <member refid="classAadvark_1ab79eb58d7bb9d5ddfa5d6f783836cab9" prot="private" virt="non-virtual"><scope>Aadvark</scope><name>aadvarkness</name></member>
  2479. +      <member refid="classAadvark_1affd2ada0a85807efcbe26615a848f53e" prot="public" virt="non-virtual"><scope>Aadvark</scope><name>get_aadvarkness</name></member>
  2480. +      <member refid="classAadvark_1abd061aa5f998002e72080a34f512a059" prot="public" virt="non-virtual"><scope>Aadvark</scope><name>print</name></member>
  2481. +    </listofallmembers>
  2482. +  </compounddef>
  2483. +</doxygen>
  2484. diff --git a/docs/doxygen/doxyxml/example/xml/combine.xslt b/docs/doxygen/doxyxml/example/xml/combine.xslt
  2485. new file mode 100644
  2486. index 0000000..6de203a
  2487. --- /dev/null
  2488. +++ b/docs/doxygen/doxyxml/example/xml/combine.xslt
  2489. @@ -0,0 +1,15 @@
  2490. +<!-- XSLT script to combine the generated output into a single file.
  2491. +     If you have xsltproc you could use:
  2492. +     xsltproc combine.xslt index.xml >all.xml
  2493. +-->
  2494. +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  2495. +  <xsl:output method="xml" version="1.0" indent="yes" standalone="yes" />
  2496. +  <xsl:template match="/">
  2497. +    <doxygen version="{doxygenindex/@version}">
  2498. +      <!-- Load all doxgen generated xml files -->
  2499. +      <xsl:for-each select="doxygenindex/compound">
  2500. +        <xsl:copy-of select="document( concat( @refid, '.xml' ) )/doxygen/*" />
  2501. +      </xsl:for-each>
  2502. +    </doxygen>
  2503. +  </xsl:template>
  2504. +</xsl:stylesheet>
  2505. diff --git a/docs/doxygen/doxyxml/example/xml/compound.xsd b/docs/doxygen/doxyxml/example/xml/compound.xsd
  2506. new file mode 100644
  2507. index 0000000..5bb5670
  2508. --- /dev/null
  2509. +++ b/docs/doxygen/doxyxml/example/xml/compound.xsd
  2510. @@ -0,0 +1,814 @@
  2511. +<?xml version='1.0' encoding='utf-8' ?>
  2512. +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  2513. +  <xsd:element name="doxygen" type="DoxygenType"/>
  2514. +
  2515. +  <!-- Complex types -->
  2516. +
  2517. +  <xsd:complexType name="DoxygenType">
  2518. +    <xsd:sequence maxOccurs="unbounded">
  2519. +      <xsd:element name="compounddef" type="compounddefType" minOccurs="0" />
  2520. +    </xsd:sequence>
  2521. +    <xsd:attribute name="version" type="DoxVersionNumber" use="required" />
  2522. +  </xsd:complexType>
  2523. +
  2524. +  <xsd:complexType name="compounddefType">
  2525. +    <xsd:sequence>
  2526. +      <xsd:element name="compoundname" type="xsd:string"/>
  2527. +      <xsd:element name="title" type="xsd:string" minOccurs="0" />
  2528. +      <xsd:element name="basecompoundref" type="compoundRefType" minOccurs="0" maxOccurs="unbounded" />
  2529. +      <xsd:element name="derivedcompoundref" type="compoundRefType" minOccurs="0" maxOccurs="unbounded" />
  2530. +      <xsd:element name="includes" type="incType" minOccurs="0" maxOccurs="unbounded" />
  2531. +      <xsd:element name="includedby" type="incType" minOccurs="0" maxOccurs="unbounded" />
  2532. +      <xsd:element name="incdepgraph" type="graphType" minOccurs="0" />
  2533. +      <xsd:element name="invincdepgraph" type="graphType" minOccurs="0" />
  2534. +      <xsd:element name="innerdir" type="refType" minOccurs="0" maxOccurs="unbounded" />
  2535. +      <xsd:element name="innerfile" type="refType" minOccurs="0" maxOccurs="unbounded" />
  2536. +      <xsd:element name="innerclass" type="refType" minOccurs="0" maxOccurs="unbounded" />
  2537. +      <xsd:element name="innernamespace" type="refType" minOccurs="0" maxOccurs="unbounded" />
  2538. +      <xsd:element name="innerpage" type="refType" minOccurs="0" maxOccurs="unbounded" />
  2539. +      <xsd:element name="innergroup" type="refType" minOccurs="0" maxOccurs="unbounded" />
  2540. +      <xsd:element name="templateparamlist" type="templateparamlistType" minOccurs="0" />
  2541. +      <xsd:element name="sectiondef" type="sectiondefType" minOccurs="0" maxOccurs="unbounded" />
  2542. +      <xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
  2543. +      <xsd:element name="detaileddescription" type="descriptionType" minOccurs="0" />
  2544. +      <xsd:element name="inheritancegraph" type="graphType" minOccurs="0" />
  2545. +      <xsd:element name="collaborationgraph" type="graphType" minOccurs="0" />
  2546. +      <xsd:element name="programlisting" type="listingType" minOccurs="0" />
  2547. +      <xsd:element name="location" type="locationType" minOccurs="0" />
  2548. +      <xsd:element name="listofallmembers" type="listofallmembersType" minOccurs="0" />
  2549. +    </xsd:sequence>
  2550. +    <xsd:attribute name="id" type="xsd:string" />
  2551. +    <xsd:attribute name="kind" type="DoxCompoundKind" />
  2552. +    <xsd:attribute name="prot" type="DoxProtectionKind" />
  2553. +  </xsd:complexType>
  2554. +
  2555. +  <xsd:complexType name="listofallmembersType">
  2556. +    <xsd:sequence>
  2557. +      <xsd:element name="member" type="memberRefType" minOccurs="0" maxOccurs="unbounded" />
  2558. +    </xsd:sequence>
  2559. +  </xsd:complexType>
  2560. +
  2561. +  <xsd:complexType name="memberRefType">
  2562. +    <xsd:sequence>
  2563. +      <xsd:element name="scope" />
  2564. +      <xsd:element name="name" />
  2565. +    </xsd:sequence>
  2566. +    <xsd:attribute name="refid" type="xsd:string" />
  2567. +    <xsd:attribute name="prot" type="DoxProtectionKind" />
  2568. +    <xsd:attribute name="virt" type="DoxVirtualKind" />
  2569. +    <xsd:attribute name="ambiguityscope" type="xsd:string" />
  2570. +  </xsd:complexType>
  2571. +
  2572. +  <xsd:complexType name="compoundRefType" mixed="true">
  2573. +    <xsd:simpleContent>
  2574. +      <xsd:extension base="xsd:string">
  2575. +        <xsd:attribute name="refid" type="xsd:string" use="optional" />
  2576. +        <xsd:attribute name="prot" type="DoxProtectionKind" />
  2577. +        <xsd:attribute name="virt" type="DoxVirtualKind" />
  2578. +      </xsd:extension>
  2579. +    </xsd:simpleContent>
  2580. +  </xsd:complexType>
  2581. +
  2582. +  <xsd:complexType name="reimplementType" mixed="true">
  2583. +    <xsd:simpleContent>
  2584. +      <xsd:extension base="xsd:string">
  2585. +        <xsd:attribute name="refid" type="xsd:string" />
  2586. +      </xsd:extension>
  2587. +    </xsd:simpleContent>
  2588. +  </xsd:complexType>
  2589. +
  2590. +  <xsd:complexType name="incType" mixed="true">
  2591. +    <xsd:simpleContent>
  2592. +      <xsd:extension base="xsd:string">
  2593. +        <xsd:attribute name="refid" type="xsd:string" />
  2594. +        <xsd:attribute name="local" type="DoxBool" />
  2595. +      </xsd:extension>
  2596. +    </xsd:simpleContent>
  2597. +  </xsd:complexType>
  2598. +
  2599. +  <xsd:complexType name="refType" mixed="true">
  2600. +    <xsd:simpleContent>
  2601. +      <xsd:extension base="xsd:string">
  2602. +        <xsd:attribute name="refid" type="xsd:string" />
  2603. +        <xsd:attribute name="prot" type="DoxProtectionKind" use="optional"/>
  2604. +      </xsd:extension>
  2605. +    </xsd:simpleContent>
  2606. +  </xsd:complexType>
  2607. +
  2608. +  <xsd:complexType name="refTextType" mixed="true">
  2609. +    <xsd:simpleContent>
  2610. +      <xsd:extension base="xsd:string">
  2611. +       <xsd:attribute name="refid" type="xsd:string" />
  2612. +       <xsd:attribute name="kindref" type="DoxRefKind" />
  2613. +       <xsd:attribute name="external" type="xsd:string" use="optional"/>
  2614. +       <xsd:attribute name="tooltip" type="xsd:string" use="optional"/>
  2615. +      </xsd:extension>
  2616. +    </xsd:simpleContent>
  2617. +  </xsd:complexType>
  2618. +
  2619. +  <xsd:complexType name="sectiondefType">
  2620. +    <xsd:sequence>
  2621. +      <xsd:element name="header" type="xsd:string" minOccurs="0" />
  2622. +      <xsd:element name="description" type="descriptionType" minOccurs="0" />
  2623. +      <xsd:element name="memberdef" type="memberdefType" maxOccurs="unbounded" />
  2624. +    </xsd:sequence>
  2625. +    <xsd:attribute name="kind" type="DoxSectionKind" />
  2626. +  </xsd:complexType>
  2627. +
  2628. +  <xsd:complexType name="memberdefType">
  2629. +    <xsd:sequence>
  2630. +      <xsd:element name="templateparamlist" type="templateparamlistType" minOccurs="0" />
  2631. +      <xsd:element name="type" type="linkedTextType" minOccurs="0" />
  2632. +      <xsd:element name="definition" minOccurs="0" />
  2633. +      <xsd:element name="argsstring" minOccurs="0" />
  2634. +      <xsd:element name="name" />
  2635. +      <xsd:element name="read" minOccurs="0" />
  2636. +      <xsd:element name="write" minOccurs="0" />
  2637. +      <xsd:element name="bitfield" minOccurs="0" />
  2638. +      <xsd:element name="reimplements" type="reimplementType" minOccurs="0" maxOccurs="unbounded" />
  2639. +      <xsd:element name="reimplementedby" type="reimplementType" minOccurs="0" maxOccurs="unbounded" />
  2640. +      <xsd:element name="param" type="paramType" minOccurs="0" maxOccurs="unbounded" />
  2641. +      <xsd:element name="enumvalue" type="enumvalueType" minOccurs="0" maxOccurs="unbounded" />
  2642. +      <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
  2643. +      <xsd:element name="exceptions" type="linkedTextType" minOccurs="0" />
  2644. +      <xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
  2645. +      <xsd:element name="detaileddescription" type="descriptionType" minOccurs="0" />
  2646. +      <xsd:element name="inbodydescription" type="descriptionType" minOccurs="0" />
  2647. +      <xsd:element name="location" type="locationType" />
  2648. +      <xsd:element name="references" type="referenceType" minOccurs="0" maxOccurs="unbounded" />
  2649. +      <xsd:element name="referencedby" type="referenceType" minOccurs="0" maxOccurs="unbounded" />
  2650. +    </xsd:sequence>
  2651. +    <xsd:attribute name="kind" type="DoxMemberKind" />
  2652. +    <xsd:attribute name="id" type="xsd:string" />
  2653. +    <xsd:attribute name="prot" type="DoxProtectionKind" />
  2654. +    <xsd:attribute name="static" type="DoxBool" />
  2655. +    <xsd:attribute name="const" type="DoxBool" />
  2656. +    <xsd:attribute name="explicit" type="DoxBool" />
  2657. +    <xsd:attribute name="inline" type="DoxBool" />
  2658. +    <xsd:attribute name="virt" type="DoxVirtualKind" />
  2659. +    <xsd:attribute name="volatile" type="DoxBool" />
  2660. +    <xsd:attribute name="mutable" type="DoxBool" />
  2661. +    <!-- Qt property -->
  2662. +    <xsd:attribute name="readable" type="DoxBool" use="optional"/>
  2663. +    <xsd:attribute name="writable" type="DoxBool" use="optional"/>
  2664. +    <!-- C++/CLI variable -->
  2665. +    <xsd:attribute name="initonly" type="DoxBool" use="optional"/>
  2666. +    <!-- C++/CLI and C# property -->
  2667. +    <xsd:attribute name="settable" type="DoxBool" use="optional"/>
  2668. +    <xsd:attribute name="gettable" type="DoxBool" use="optional"/>
  2669. +    <!-- C++/CLI function -->
  2670. +    <xsd:attribute name="final" type="DoxBool" use="optional"/>
  2671. +    <xsd:attribute name="sealed" type="DoxBool" use="optional"/>
  2672. +    <xsd:attribute name="new" type="DoxBool" use="optional"/>
  2673. +    <!-- C++/CLI event -->
  2674. +    <xsd:attribute name="add" type="DoxBool" use="optional"/>
  2675. +    <xsd:attribute name="remove" type="DoxBool" use="optional"/>
  2676. +    <xsd:attribute name="raise" type="DoxBool" use="optional"/>
  2677. +    <!-- Objective-C 2.0 protocol method -->
  2678. +    <xsd:attribute name="optional" type="DoxBool" use="optional"/>
  2679. +    <xsd:attribute name="required" type="DoxBool" use="optional"/>
  2680. +    <!-- Objective-C 2.0 property accessor -->
  2681. +    <xsd:attribute name="accessor" type="DoxAccessor" use="optional"/>
  2682. +  </xsd:complexType>
  2683. +
  2684. +  <xsd:complexType name="descriptionType" mixed="true">
  2685. +    <xsd:sequence>
  2686. +      <xsd:element name="title" type="xsd:string" minOccurs="0"/>
  2687. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  2688. +      <xsd:element name="sect1" type="docSect1Type" minOccurs="0" maxOccurs="unbounded" />
  2689. +      <xsd:element name="internal" type="docInternalType" minOccurs="0" />
  2690. +    </xsd:sequence>
  2691. +  </xsd:complexType>
  2692. +
  2693. +  <xsd:complexType name="enumvalueType" mixed="true">
  2694. +    <xsd:sequence>
  2695. +      <xsd:element name="name" />
  2696. +      <xsd:element name="initializer" type="linkedTextType" minOccurs="0" />
  2697. +      <xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
  2698. +      <xsd:element name="detaileddescription" type="descriptionType" minOccurs="0" />
  2699. +    </xsd:sequence>
  2700. +    <xsd:attribute name="id" type="xsd:string" />
  2701. +    <xsd:attribute name="prot" type="DoxProtectionKind" />
  2702. +  </xsd:complexType>
  2703. +
  2704. +  <xsd:complexType name="templateparamlistType">
  2705. +    <xsd:sequence>
  2706. +      <xsd:element name="param" type="paramType" minOccurs="0" maxOccurs="unbounded" />
  2707. +    </xsd:sequence>
  2708. +  </xsd:complexType>
  2709. +
  2710. +  <xsd:complexType name="paramType">
  2711. +    <xsd:sequence>
  2712. +      <xsd:element name="type" type="linkedTextType" minOccurs="0" />
  2713. +      <xsd:element name="declname" minOccurs="0" />
  2714. +      <xsd:element name="defname" minOccurs="0" />
  2715. +      <xsd:element name="array" minOccurs="0" />
  2716. +      <xsd:element name="defval" type="linkedTextType" minOccurs="0" />
  2717. +      <xsd:element name="briefdescription" type="descriptionType" minOccurs="0" />
  2718. +    </xsd:sequence>
  2719. +  </xsd:complexType>
  2720. +
  2721. +  <xsd:complexType name="linkedTextType" mixed="true">
  2722. +    <xsd:sequence>
  2723. +    <xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="unbounded" />
  2724. +    </xsd:sequence>
  2725. +  </xsd:complexType>
  2726. +
  2727. +  <xsd:complexType name="graphType">
  2728. +    <xsd:sequence>
  2729. +      <xsd:element name="node" type="nodeType" maxOccurs="unbounded" />
  2730. +    </xsd:sequence>
  2731. +  </xsd:complexType>
  2732. +
  2733. +  <xsd:complexType name="nodeType">
  2734. +    <xsd:sequence>
  2735. +      <xsd:element name="label" />
  2736. +      <xsd:element name="link" type="linkType" minOccurs="0" />
  2737. +      <xsd:element name="childnode" type="childnodeType" minOccurs="0" maxOccurs="unbounded" />
  2738. +    </xsd:sequence>
  2739. +    <xsd:attribute name="id" type="xsd:string" />
  2740. +  </xsd:complexType>
  2741. +
  2742. +  <xsd:complexType name="childnodeType">
  2743. +    <xsd:sequence>
  2744. +      <xsd:element name="edgelabel" minOccurs="0" maxOccurs="unbounded"/>
  2745. +    </xsd:sequence>
  2746. +    <xsd:attribute name="refid" type="xsd:string" />
  2747. +    <xsd:attribute name="relation" type="DoxGraphRelation" />
  2748. +  </xsd:complexType>
  2749. +
  2750. +  <xsd:complexType name="linkType">
  2751. +    <xsd:attribute name="refid" type="xsd:string" />
  2752. +    <xsd:attribute name="external" type="xsd:string" use="optional"/>
  2753. +  </xsd:complexType>
  2754. +
  2755. +  <xsd:complexType name="listingType">
  2756. +    <xsd:sequence>
  2757. +      <xsd:element name="codeline" type="codelineType" minOccurs="0" maxOccurs="unbounded" />
  2758. +    </xsd:sequence>
  2759. +  </xsd:complexType>
  2760. +
  2761. +  <xsd:complexType name="codelineType">
  2762. +    <xsd:sequence>
  2763. +      <xsd:element name="highlight" type="highlightType" minOccurs="0" maxOccurs="unbounded" />
  2764. +    </xsd:sequence>
  2765. +    <xsd:attribute name="lineno" type="xsd:integer" />
  2766. +    <xsd:attribute name="refid" type="xsd:string" />
  2767. +    <xsd:attribute name="refkind" type="DoxRefKind" />
  2768. +    <xsd:attribute name="external" type="DoxBool" />
  2769. +  </xsd:complexType>
  2770. +
  2771. +  <xsd:complexType name="highlightType" mixed="true">
  2772. +    <xsd:choice minOccurs="0" maxOccurs="unbounded">
  2773. +      <xsd:element name="sp" />
  2774. +      <xsd:element name="ref" type="refTextType" />
  2775. +    </xsd:choice>
  2776. +    <xsd:attribute name="class" type="DoxHighlightClass" />
  2777. +  </xsd:complexType>
  2778. +
  2779. +  <xsd:complexType name="referenceType" mixed="true">
  2780. +    <xsd:attribute name="refid" type="xsd:string" />
  2781. +    <xsd:attribute name="compoundref" type="xsd:string" use="optional" />
  2782. +    <xsd:attribute name="startline" type="xsd:integer" />
  2783. +    <xsd:attribute name="endline" type="xsd:integer" />
  2784. +  </xsd:complexType>
  2785. +
  2786. +  <xsd:complexType name="locationType">
  2787. +    <xsd:attribute name="file" type="xsd:string" />
  2788. +    <xsd:attribute name="line" type="xsd:integer" />
  2789. +    <xsd:attribute name="bodyfile" type="xsd:string" />
  2790. +    <xsd:attribute name="bodystart" type="xsd:integer" />
  2791. +    <xsd:attribute name="bodyend" type="xsd:integer" />
  2792. +  </xsd:complexType>
  2793. +
  2794. +  <xsd:complexType name="docSect1Type" mixed="true">
  2795. +    <xsd:sequence>
  2796. +      <xsd:element name="title" type="xsd:string" />
  2797. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  2798. +      <xsd:element name="sect2" type="docSect2Type" minOccurs="0" maxOccurs="unbounded" />
  2799. +      <xsd:element name="internal" type="docInternalS1Type" minOccurs="0" />
  2800. +    </xsd:sequence>
  2801. +    <xsd:attribute name="id" type="xsd:string" />
  2802. +  </xsd:complexType>
  2803. +
  2804. +  <xsd:complexType name="docSect2Type" mixed="true">
  2805. +    <xsd:sequence>
  2806. +      <xsd:element name="title" type="xsd:string" />
  2807. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  2808. +      <xsd:element name="sect3" type="docSect3Type" minOccurs="0" maxOccurs="unbounded" />
  2809. +      <xsd:element name="internal" type="docInternalS2Type" minOccurs="0" />
  2810. +    </xsd:sequence>
  2811. +    <xsd:attribute name="id" type="xsd:string" />
  2812. +  </xsd:complexType>
  2813. +
  2814. +  <xsd:complexType name="docSect3Type" mixed="true">
  2815. +    <xsd:sequence>
  2816. +      <xsd:element name="title" type="xsd:string" />
  2817. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  2818. +      <xsd:element name="sect4" type="docSect4Type" minOccurs="0" maxOccurs="unbounded" />
  2819. +      <xsd:element name="internal" type="docInternalS3Type" minOccurs="0" />
  2820. +    </xsd:sequence>
  2821. +    <xsd:attribute name="id" type="xsd:string" />
  2822. +  </xsd:complexType>
  2823. +
  2824. +  <xsd:complexType name="docSect4Type" mixed="true">
  2825. +    <xsd:sequence>
  2826. +      <xsd:element name="title" type="xsd:string" />
  2827. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  2828. +      <xsd:element name="internal" type="docInternalS4Type" minOccurs="0" />
  2829. +    </xsd:sequence>
  2830. +    <xsd:attribute name="id" type="xsd:string" />
  2831. +  </xsd:complexType>
  2832. +
  2833. +  <xsd:complexType name="docInternalType" mixed="true">
  2834. +    <xsd:sequence>
  2835. +      <xsd:element name="para"  type="docParaType"  minOccurs="0" maxOccurs="unbounded" />
  2836. +      <xsd:element name="sect1" type="docSect1Type" minOccurs="0" maxOccurs="unbounded" />
  2837. +    </xsd:sequence>
  2838. +  </xsd:complexType>
  2839. +
  2840. +  <xsd:complexType name="docInternalS1Type" mixed="true">
  2841. +    <xsd:sequence>
  2842. +      <xsd:element name="para"  type="docParaType"  minOccurs="0" maxOccurs="unbounded" />
  2843. +      <xsd:element name="sect2" type="docSect2Type" minOccurs="0" maxOccurs="unbounded" />
  2844. +    </xsd:sequence>
  2845. +  </xsd:complexType>
  2846. +
  2847. +  <xsd:complexType name="docInternalS2Type" mixed="true">
  2848. +    <xsd:sequence>
  2849. +      <xsd:element name="para"  type="docParaType"  minOccurs="0" maxOccurs="unbounded" />
  2850. +      <xsd:element name="sect3" type="docSect3Type" minOccurs="0" maxOccurs="unbounded" />
  2851. +    </xsd:sequence>
  2852. +  </xsd:complexType>
  2853. +
  2854. +  <xsd:complexType name="docInternalS3Type" mixed="true">
  2855. +    <xsd:sequence>
  2856. +      <xsd:element name="para"  type="docParaType"  minOccurs="0" maxOccurs="unbounded" />
  2857. +      <xsd:element name="sect3" type="docSect4Type" minOccurs="0" maxOccurs="unbounded" />
  2858. +    </xsd:sequence>
  2859. +  </xsd:complexType>
  2860. +
  2861. +  <xsd:complexType name="docInternalS4Type" mixed="true">
  2862. +    <xsd:sequence>
  2863. +      <xsd:element name="para"  type="docParaType"  minOccurs="0" maxOccurs="unbounded" />
  2864. +    </xsd:sequence>
  2865. +  </xsd:complexType>
  2866. +
  2867. +  <xsd:group name="docTitleCmdGroup">
  2868. +    <xsd:choice>
  2869. +      <xsd:element name="ulink" type="docURLLink" />
  2870. +      <xsd:element name="bold" type="docMarkupType" />
  2871. +      <xsd:element name="emphasis" type="docMarkupType" />
  2872. +      <xsd:element name="computeroutput" type="docMarkupType" />
  2873. +      <xsd:element name="subscript" type="docMarkupType" />
  2874. +      <xsd:element name="superscript" type="docMarkupType" />
  2875. +      <xsd:element name="center" type="docMarkupType" />
  2876. +      <xsd:element name="small" type="docMarkupType" />
  2877. +      <xsd:element name="htmlonly" type="xsd:string" />
  2878. +      <xsd:element name="latexonly" type="xsd:string" />
  2879. +      <xsd:element name="dot" type="xsd:string" />
  2880. +      <xsd:element name="anchor" type="docAnchorType" />
  2881. +      <xsd:element name="formula" type="docFormulaType" />
  2882. +      <xsd:element name="ref" type="docRefTextType" />
  2883. +      <xsd:element name="copy" type="docEmptyType" />
  2884. +      <xsd:element name="trademark" type="docEmptyType" />
  2885. +      <xsd:element name="registered" type="docEmptyType" />
  2886. +      <xsd:element name="lsquo" type="docEmptyType" />
  2887. +      <xsd:element name="rsquo" type="docEmptyType" />
  2888. +      <xsd:element name="ldquo" type="docEmptyType" />
  2889. +      <xsd:element name="rdquo" type="docEmptyType" />
  2890. +      <xsd:element name="ndash" type="docEmptyType" />
  2891. +      <xsd:element name="mdash" type="docEmptyType" />
  2892. +      <xsd:element name="umlaut" type="docCharType" />
  2893. +      <xsd:element name="acute" type="docCharType" />
  2894. +      <xsd:element name="grave" type="docCharType" />
  2895. +      <xsd:element name="circ" type="docCharType" />
  2896. +      <xsd:element name="slash" type="docCharType" />
  2897. +      <xsd:element name="tilde" type="docCharType" />
  2898. +      <xsd:element name="cedil" type="docCharType" />
  2899. +      <xsd:element name="ring" type="docCharType" />
  2900. +      <xsd:element name="szlig" type="docEmptyType" />
  2901. +      <xsd:element name="nonbreakablespace" type="docEmptyType" />
  2902. +    </xsd:choice>
  2903. +  </xsd:group>
  2904. +
  2905. +  <xsd:complexType name="docTitleType" mixed="true">
  2906. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  2907. +  </xsd:complexType>
  2908. +
  2909. +  <xsd:group name="docCmdGroup">
  2910. +    <xsd:choice>
  2911. +      <xsd:group ref="docTitleCmdGroup"/>
  2912. +      <xsd:element name="linebreak" type="docEmptyType" />
  2913. +      <xsd:element name="hruler" type="docEmptyType" />
  2914. +      <xsd:element name="preformatted" type="docMarkupType" />
  2915. +      <xsd:element name="programlisting" type="listingType" />
  2916. +      <xsd:element name="verbatim" type="xsd:string" />
  2917. +      <xsd:element name="indexentry" type="docIndexEntryType" />
  2918. +      <xsd:element name="orderedlist" type="docListType" />
  2919. +      <xsd:element name="itemizedlist" type="docListType" />
  2920. +      <xsd:element name="simplesect" type="docSimpleSectType" />
  2921. +      <xsd:element name="title" type="docTitleType" />
  2922. +      <xsd:element name="variablelist" type="docVariableListType" />
  2923. +      <xsd:element name="table" type="docTableType" />
  2924. +      <xsd:element name="heading" type="docHeadingType" />
  2925. +      <xsd:element name="image" type="docImageType" />
  2926. +      <xsd:element name="dotfile" type="docDotFileType" />
  2927. +      <xsd:element name="toclist" type="docTocListType" />
  2928. +      <xsd:element name="language" type="docLanguageType" />
  2929. +      <xsd:element name="parameterlist" type="docParamListType" />
  2930. +      <xsd:element name="xrefsect" type="docXRefSectType" />
  2931. +      <xsd:element name="copydoc" type="docCopyType" />
  2932. +    </xsd:choice>
  2933. +  </xsd:group>
  2934. +
  2935. +  <xsd:complexType name="docParaType" mixed="true">
  2936. +    <xsd:group ref="docCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  2937. +  </xsd:complexType>
  2938. +
  2939. +  <xsd:complexType name="docMarkupType" mixed="true">
  2940. +    <xsd:group ref="docCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  2941. +  </xsd:complexType>
  2942. +
  2943. +  <xsd:complexType name="docURLLink" mixed="true">
  2944. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  2945. +    <xsd:attribute name="url" type="xsd:string" />
  2946. +  </xsd:complexType>
  2947. +
  2948. +  <xsd:complexType name="docAnchorType" mixed="true">
  2949. +    <xsd:attribute name="id" type="xsd:string" />
  2950. +  </xsd:complexType>
  2951. +
  2952. +  <xsd:complexType name="docFormulaType" mixed="true">
  2953. +    <xsd:attribute name="id" type="xsd:string" />
  2954. +  </xsd:complexType>
  2955. +
  2956. +  <xsd:complexType name="docIndexEntryType">
  2957. +    <xsd:sequence>
  2958. +      <xsd:element name="primaryie" type="xsd:string" />
  2959. +      <xsd:element name="secondaryie" type="xsd:string" />
  2960. +    </xsd:sequence>
  2961. +  </xsd:complexType>
  2962. +
  2963. +  <xsd:complexType name="docListType">
  2964. +    <xsd:sequence>
  2965. +      <xsd:element name="listitem" type="docListItemType" maxOccurs="unbounded" />
  2966. +    </xsd:sequence>
  2967. +  </xsd:complexType>
  2968. +
  2969. +  <xsd:complexType name="docListItemType">
  2970. +    <xsd:sequence>
  2971. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  2972. +    </xsd:sequence>
  2973. +  </xsd:complexType>
  2974. +
  2975. +  <xsd:complexType name="docSimpleSectType">
  2976. +    <xsd:sequence>
  2977. +      <xsd:element name="title" type="docTitleType" minOccurs="0" />
  2978. +      <xsd:sequence minOccurs="0" maxOccurs="unbounded">
  2979. +        <xsd:element name="para" type="docParaType" minOccurs="1" maxOccurs="unbounded" />
  2980. +        <xsd:element name="simplesectsep" type="docEmptyType" minOccurs="0"/>
  2981. +      </xsd:sequence>
  2982. +    </xsd:sequence>
  2983. +    <xsd:attribute name="kind" type="DoxSimpleSectKind" />
  2984. +  </xsd:complexType>
  2985. +
  2986. +  <xsd:complexType name="docVarListEntryType">
  2987. +    <xsd:sequence>
  2988. +      <xsd:element name="term" type="docTitleType" />
  2989. +    </xsd:sequence>
  2990. +  </xsd:complexType>
  2991. +
  2992. +  <xsd:group name="docVariableListGroup">
  2993. +    <xsd:sequence>
  2994. +      <xsd:element name="varlistentry" type="docVarListEntryType" />
  2995. +      <xsd:element name="listitem" type="docListItemType" />
  2996. +    </xsd:sequence>
  2997. +  </xsd:group>
  2998. +
  2999. +  <xsd:complexType name="docVariableListType">
  3000. +    <xsd:sequence>
  3001. +      <xsd:group ref="docVariableListGroup" maxOccurs="unbounded" />
  3002. +    </xsd:sequence>
  3003. +  </xsd:complexType>
  3004. +
  3005. +  <xsd:complexType name="docRefTextType" mixed="true">
  3006. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  3007. +    <xsd:attribute name="refid" type="xsd:string" />
  3008. +    <xsd:attribute name="kindref" type="DoxRefKind" />
  3009. +    <xsd:attribute name="external" type="xsd:string" />
  3010. +  </xsd:complexType>
  3011. +
  3012. +  <xsd:complexType name="docTableType">
  3013. +    <xsd:sequence>
  3014. +      <xsd:element name="row" type="docRowType" minOccurs="0" maxOccurs="unbounded" />
  3015. +      <xsd:element name="caption" type="docCaptionType" minOccurs="0" />
  3016. +    </xsd:sequence>
  3017. +    <xsd:attribute name="rows" type="xsd:integer" />
  3018. +    <xsd:attribute name="cols" type="xsd:integer" />
  3019. +  </xsd:complexType>
  3020. +
  3021. +  <xsd:complexType name="docRowType">
  3022. +    <xsd:sequence>
  3023. +      <xsd:element name="entry" type="docEntryType" minOccurs="0" maxOccurs="unbounded" />
  3024. +    </xsd:sequence>
  3025. +  </xsd:complexType>
  3026. +
  3027. +  <xsd:complexType name="docEntryType">
  3028. +    <xsd:sequence>
  3029. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  3030. +    </xsd:sequence>
  3031. +    <xsd:attribute name="thead" type="DoxBool" />
  3032. +  </xsd:complexType>
  3033. +
  3034. +  <xsd:complexType name="docCaptionType" mixed="true">
  3035. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  3036. +  </xsd:complexType>
  3037. +
  3038. +  <xsd:complexType name="docHeadingType" mixed="true">
  3039. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  3040. +    <xsd:attribute name="level" type="xsd:integer" /> <!-- todo: range 1-6 -->
  3041. +  </xsd:complexType>
  3042. +
  3043. +  <xsd:complexType name="docImageType" mixed="true">
  3044. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  3045. +    <xsd:attribute name="type" type="DoxImageKind" />
  3046. +    <xsd:attribute name="name" type="xsd:string" />
  3047. +    <xsd:attribute name="width" type="xsd:string" />
  3048. +    <xsd:attribute name="height" type="xsd:string" />
  3049. +  </xsd:complexType>
  3050. +
  3051. +  <xsd:complexType name="docDotFileType" mixed="true">
  3052. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  3053. +    <xsd:attribute name="name" type="xsd:string" />
  3054. +  </xsd:complexType>
  3055. +
  3056. +  <xsd:complexType name="docTocItemType" mixed="true">
  3057. +    <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  3058. +    <xsd:attribute name="id" type="xsd:string" />
  3059. +  </xsd:complexType>
  3060. +
  3061. +  <xsd:complexType name="docTocListType">
  3062. +    <xsd:sequence>
  3063. +      <xsd:element name="tocitem" type="docTocItemType" minOccurs="0" maxOccurs="unbounded" />
  3064. +    </xsd:sequence>
  3065. +  </xsd:complexType>
  3066. +
  3067. +  <xsd:complexType name="docLanguageType">
  3068. +    <xsd:sequence>
  3069. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  3070. +    </xsd:sequence>
  3071. +    <xsd:attribute name="langid" type="xsd:string" />
  3072. +  </xsd:complexType>
  3073. +
  3074. +  <xsd:complexType name="docParamListType">
  3075. +    <xsd:sequence>
  3076. +      <xsd:element name="parameteritem" type="docParamListItem" minOccurs="0" maxOccurs="unbounded" />
  3077. +    </xsd:sequence>
  3078. +    <xsd:attribute name="kind" type="DoxParamListKind" />
  3079. +  </xsd:complexType>
  3080. +
  3081. +  <xsd:complexType name="docParamListItem">
  3082. +    <xsd:sequence>
  3083. +      <xsd:element name="parameternamelist" type="docParamNameList" minOccurs="0" maxOccurs="unbounded" />
  3084. +      <xsd:element name="parameterdescription" type="descriptionType" />
  3085. +    </xsd:sequence>
  3086. +  </xsd:complexType>
  3087. +
  3088. +  <xsd:complexType name="docParamNameList">
  3089. +    <xsd:sequence>
  3090. +      <xsd:element name="parametername" type="docParamName" minOccurs="0" maxOccurs="unbounded" />
  3091. +    </xsd:sequence>
  3092. +  </xsd:complexType>
  3093. +
  3094. +  <xsd:complexType name="docParamName" mixed="true">
  3095. +    <xsd:sequence>
  3096. +      <xsd:element name="ref" type="refTextType" minOccurs="0" maxOccurs="1" />
  3097. +    </xsd:sequence>
  3098. +    <xsd:attribute name="direction" type="DoxParamDir" use="optional" />
  3099. +  </xsd:complexType>
  3100. +
  3101. +  <xsd:complexType name="docXRefSectType">
  3102. +    <xsd:sequence>
  3103. +      <xsd:element name="xreftitle" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
  3104. +      <xsd:element name="xrefdescription" type="descriptionType" />
  3105. +    </xsd:sequence>
  3106. +    <xsd:attribute name="id" type="xsd:string" />
  3107. +  </xsd:complexType>
  3108. +
  3109. +  <xsd:complexType name="docCopyType">
  3110. +    <xsd:sequence>
  3111. +      <xsd:element name="para" type="docParaType" minOccurs="0" maxOccurs="unbounded" />
  3112. +      <xsd:element name="sect1" type="docSect1Type" minOccurs="0" maxOccurs="unbounded" />
  3113. +      <xsd:element name="internal" type="docInternalType" minOccurs="0" />
  3114. +    </xsd:sequence>
  3115. +    <xsd:attribute name="link" type="xsd:string" />
  3116. +  </xsd:complexType>
  3117. +
  3118. +  <xsd:complexType name="docCharType">
  3119. +    <xsd:attribute name="char" type="DoxCharRange"/>
  3120. +  </xsd:complexType>
  3121. +
  3122. +  <xsd:complexType name="docEmptyType"/>
  3123. +
  3124. +  <!-- Simple types -->
  3125. +
  3126. +  <xsd:simpleType name="DoxBool">
  3127. +    <xsd:restriction base="xsd:string">
  3128. +      <xsd:enumeration value="yes" />
  3129. +      <xsd:enumeration value="no" />
  3130. +    </xsd:restriction>
  3131. +  </xsd:simpleType>
  3132. +
  3133. +  <xsd:simpleType name="DoxGraphRelation">
  3134. +    <xsd:restriction base="xsd:string">
  3135. +      <xsd:enumeration value="include" />
  3136. +      <xsd:enumeration value="usage" />
  3137. +      <xsd:enumeration value="template-instance" />
  3138. +      <xsd:enumeration value="public-inheritance" />
  3139. +      <xsd:enumeration value="protected-inheritance" />
  3140. +      <xsd:enumeration value="private-inheritance" />
  3141. +    </xsd:restriction>
  3142. +  </xsd:simpleType>
  3143. +
  3144. +  <xsd:simpleType name="DoxRefKind">
  3145. +    <xsd:restriction base="xsd:string">
  3146. +      <xsd:enumeration value="compound" />
  3147. +      <xsd:enumeration value="member" />
  3148. +    </xsd:restriction>
  3149. +  </xsd:simpleType>
  3150. +
  3151. +  <xsd:simpleType name="DoxMemberKind">
  3152. +    <xsd:restriction base="xsd:string">
  3153. +      <xsd:enumeration value="define" />
  3154. +      <xsd:enumeration value="property" />
  3155. +      <xsd:enumeration value="event" />
  3156. +      <xsd:enumeration value="variable" />
  3157. +      <xsd:enumeration value="typedef" />
  3158. +      <xsd:enumeration value="enum" />
  3159. +      <xsd:enumeration value="function" />
  3160. +      <xsd:enumeration value="signal" />
  3161. +      <xsd:enumeration value="prototype" />
  3162. +      <xsd:enumeration value="friend" />
  3163. +      <xsd:enumeration value="dcop" />
  3164. +      <xsd:enumeration value="slot" />
  3165. +    </xsd:restriction>
  3166. +  </xsd:simpleType>
  3167. +
  3168. +  <xsd:simpleType name="DoxProtectionKind">
  3169. +    <xsd:restriction base="xsd:string">
  3170. +      <xsd:enumeration value="public" />
  3171. +      <xsd:enumeration value="protected" />
  3172. +      <xsd:enumeration value="private" />
  3173. +      <xsd:enumeration value="package" />
  3174. +    </xsd:restriction>
  3175. +  </xsd:simpleType>
  3176. +
  3177. +  <xsd:simpleType name="DoxVirtualKind">
  3178. +    <xsd:restriction base="xsd:string">
  3179. +      <xsd:enumeration value="non-virtual" />
  3180. +      <xsd:enumeration value="virtual" />
  3181. +      <xsd:enumeration value="pure-virtual" />
  3182. +    </xsd:restriction>
  3183. +  </xsd:simpleType>
  3184. +
  3185. +  <xsd:simpleType name="DoxCompoundKind">
  3186. +    <xsd:restriction base="xsd:string">
  3187. +      <xsd:enumeration value="class" />
  3188. +      <xsd:enumeration value="struct" />
  3189. +      <xsd:enumeration value="union" />
  3190. +      <xsd:enumeration value="interface" />
  3191. +      <xsd:enumeration value="protocol" />
  3192. +      <xsd:enumeration value="category" />
  3193. +      <xsd:enumeration value="exception" />
  3194. +      <xsd:enumeration value="file" />
  3195. +      <xsd:enumeration value="namespace" />
  3196. +      <xsd:enumeration value="group" />
  3197. +      <xsd:enumeration value="page" />
  3198. +      <xsd:enumeration value="example" />
  3199. +      <xsd:enumeration value="dir" />
  3200. +    </xsd:restriction>
  3201. +  </xsd:simpleType>
  3202. +
  3203. +  <xsd:simpleType name="DoxSectionKind">
  3204. +    <xsd:restriction base="xsd:string">
  3205. +      <xsd:enumeration value="user-defined" />
  3206. +      <xsd:enumeration value="public-type" />
  3207. +      <xsd:enumeration value="public-func" />
  3208. +      <xsd:enumeration value="public-attrib" />
  3209. +      <xsd:enumeration value="public-slot" />
  3210. +      <xsd:enumeration value="signal" />
  3211. +      <xsd:enumeration value="dcop-func" />
  3212. +      <xsd:enumeration value="property" />
  3213. +      <xsd:enumeration value="event" />
  3214. +      <xsd:enumeration value="public-static-func" />
  3215. +      <xsd:enumeration value="public-static-attrib" />
  3216. +      <xsd:enumeration value="protected-type" />
  3217. +      <xsd:enumeration value="protected-func" />
  3218. +      <xsd:enumeration value="protected-attrib" />
  3219. +      <xsd:enumeration value="protected-slot" />
  3220. +      <xsd:enumeration value="protected-static-func" />
  3221. +      <xsd:enumeration value="protected-static-attrib" />
  3222. +      <xsd:enumeration value="package-type" />
  3223. +      <xsd:enumeration value="package-func" />
  3224. +      <xsd:enumeration value="package-attrib" />
  3225. +      <xsd:enumeration value="package-static-func" />
  3226. +      <xsd:enumeration value="package-static-attrib" />
  3227. +      <xsd:enumeration value="private-type" />
  3228. +      <xsd:enumeration value="private-func" />
  3229. +      <xsd:enumeration value="private-attrib" />
  3230. +      <xsd:enumeration value="private-slot" />
  3231. +      <xsd:enumeration value="private-static-func" />
  3232. +      <xsd:enumeration value="private-static-attrib" />
  3233. +      <xsd:enumeration value="friend" />
  3234. +      <xsd:enumeration value="related" />
  3235. +      <xsd:enumeration value="define" />
  3236. +      <xsd:enumeration value="prototype" />
  3237. +      <xsd:enumeration value="typedef" />
  3238. +      <xsd:enumeration value="enum" />
  3239. +      <xsd:enumeration value="func" />
  3240. +      <xsd:enumeration value="var" />
  3241. +    </xsd:restriction>
  3242. +  </xsd:simpleType>
  3243. +
  3244. +  <xsd:simpleType name="DoxHighlightClass">
  3245. +    <xsd:restriction base="xsd:string">
  3246. +      <xsd:enumeration value="comment" />
  3247. +      <xsd:enumeration value="normal" />
  3248. +      <xsd:enumeration value="preprocessor" />
  3249. +      <xsd:enumeration value="keyword" />
  3250. +      <xsd:enumeration value="keywordtype" />
  3251. +      <xsd:enumeration value="keywordflow" />
  3252. +      <xsd:enumeration value="stringliteral" />
  3253. +      <xsd:enumeration value="charliteral" />
  3254. +    </xsd:restriction>
  3255. +  </xsd:simpleType>
  3256. +
  3257. +  <xsd:simpleType name="DoxSimpleSectKind">
  3258. +    <xsd:restriction base="xsd:string">
  3259. +      <xsd:enumeration value="see" />
  3260. +      <xsd:enumeration value="return" />
  3261. +      <xsd:enumeration value="author" />
  3262. +      <xsd:enumeration value="authors" />
  3263. +      <xsd:enumeration value="version" />
  3264. +      <xsd:enumeration value="since" />
  3265. +      <xsd:enumeration value="date" />
  3266. +      <xsd:enumeration value="note" />
  3267. +      <xsd:enumeration value="warning" />
  3268. +      <xsd:enumeration value="pre" />
  3269. +      <xsd:enumeration value="post" />
  3270. +      <xsd:enumeration value="invariant" />
  3271. +      <xsd:enumeration value="remark" />
  3272. +      <xsd:enumeration value="attention" />
  3273. +      <xsd:enumeration value="par" />
  3274. +      <xsd:enumeration value="rcs" />
  3275. +    </xsd:restriction>
  3276. +  </xsd:simpleType>
  3277. +
  3278. +  <xsd:simpleType name="DoxVersionNumber">
  3279. +    <xsd:restriction base="xsd:string">
  3280. +      <xsd:pattern value="\d+\.\d+.*" />
  3281. +    </xsd:restriction>
  3282. +  </xsd:simpleType>
  3283. +
  3284. +  <xsd:simpleType name="DoxImageKind">
  3285. +    <xsd:restriction base="xsd:string">
  3286. +      <xsd:enumeration value="html" />
  3287. +      <xsd:enumeration value="latex" />
  3288. +      <xsd:enumeration value="rtf" />
  3289. +    </xsd:restriction>
  3290. +  </xsd:simpleType>
  3291. +
  3292. +  <xsd:simpleType name="DoxParamListKind">
  3293. +    <xsd:restriction base="xsd:string">
  3294. +      <xsd:enumeration value="param" />
  3295. +      <xsd:enumeration value="retval" />
  3296. +      <xsd:enumeration value="exception" />
  3297. +      <xsd:enumeration value="templateparam" />
  3298. +    </xsd:restriction>
  3299. +  </xsd:simpleType>
  3300. +
  3301. +  <xsd:simpleType name="DoxCharRange">
  3302. +    <xsd:restriction base="xsd:string">
  3303. +      <xsd:pattern value="[aeiouncAEIOUNC]" />
  3304. +    </xsd:restriction>
  3305. +  </xsd:simpleType>
  3306. +
  3307. +  <xsd:simpleType name="DoxParamDir">
  3308. +    <xsd:restriction base="xsd:string">
  3309. +      <xsd:enumeration value="in"/>
  3310. +      <xsd:enumeration value="out"/>
  3311. +      <xsd:enumeration value="inout"/>
  3312. +    </xsd:restriction>
  3313. +  </xsd:simpleType>
  3314. +
  3315. +  <xsd:simpleType name="DoxAccessor">
  3316. +    <xsd:restriction base="xsd:string">
  3317. +      <xsd:enumeration value="retain"/>
  3318. +      <xsd:enumeration value="copy"/>
  3319. +      <xsd:enumeration value="assign"/>
  3320. +    </xsd:restriction>
  3321. +  </xsd:simpleType>
  3322. +
  3323. +</xsd:schema>
  3324. +
  3325. diff --git a/docs/doxygen/doxyxml/example/xml/index.xml b/docs/doxygen/doxyxml/example/xml/index.xml
  3326. new file mode 100644
  3327. index 0000000..13fd53f
  3328. --- /dev/null
  3329. +++ b/docs/doxygen/doxyxml/example/xml/index.xml
  3330. @@ -0,0 +1,17 @@
  3331. +<?xml version='1.0' encoding='UTF-8' standalone='no'?>
  3332. +<doxygenindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="index.xsd" version="1.6.3">
  3333. +  <compound refid="classAadvark" kind="class"><name>Aadvark</name>
  3334. +    <member refid="classAadvark_1ab79eb58d7bb9d5ddfa5d6f783836cab9" kind="variable"><name>aadvarkness</name></member>
  3335. +    <member refid="classAadvark_1abd061aa5f998002e72080a34f512a059" kind="function"><name>print</name></member>
  3336. +    <member refid="classAadvark_1adf1a4b97a641411a74a04ab312484462" kind="function"><name>Aadvark</name></member>
  3337. +    <member refid="classAadvark_1affd2ada0a85807efcbe26615a848f53e" kind="function"><name>get_aadvarkness</name></member>
  3338. +  </compound>
  3339. +  <compound refid="aadvark_8cc" kind="file"><name>aadvark.cc</name>
  3340. +    <member refid="aadvark_8cc_1acb52858524210ec6dddc3e16d1e52946" kind="function"><name>aadvarky_enough</name></member>
  3341. +    <member refid="aadvark_8cc_1ae66f6b31b5ad750f1fe042a706a4e3d4" kind="function"><name>main</name></member>
  3342. +  </compound>
  3343. +  <compound refid="aadvark_8h" kind="file"><name>aadvark.h</name>
  3344. +    <member refid="aadvark_8h_1acb52858524210ec6dddc3e16d1e52946" kind="function"><name>aadvarky_enough</name></member>
  3345. +    <member refid="aadvark_8h_1ae66f6b31b5ad750f1fe042a706a4e3d4" kind="function"><name>main</name></member>
  3346. +  </compound>
  3347. +</doxygenindex>
  3348. diff --git a/docs/doxygen/doxyxml/example/xml/index.xsd b/docs/doxygen/doxyxml/example/xml/index.xsd
  3349. new file mode 100644
  3350. index 0000000..bfe960c
  3351. --- /dev/null
  3352. +++ b/docs/doxygen/doxyxml/example/xml/index.xsd
  3353. @@ -0,0 +1,66 @@
  3354. +<?xml version='1.0' encoding='utf-8' ?>
  3355. +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  3356. +  <xsd:element name="doxygenindex" type="DoxygenType"/>
  3357. +
  3358. +  <xsd:complexType name="DoxygenType">
  3359. +    <xsd:sequence>
  3360. +      <xsd:element name="compound" type="CompoundType" minOccurs="0" maxOccurs="unbounded"/>
  3361. +    </xsd:sequence>
  3362. +    <xsd:attribute name="version" type="xsd:string" use="required"/>
  3363. +  </xsd:complexType>
  3364. +
  3365. +  <xsd:complexType name="CompoundType">
  3366. +    <xsd:sequence>
  3367. +      <xsd:element name="name" type="xsd:string"/>
  3368. +      <xsd:element name="member" type="MemberType" minOccurs="0" maxOccurs="unbounded"/>
  3369. +    </xsd:sequence>
  3370. +    <xsd:attribute name="refid" type="xsd:string" use="required"/>
  3371. +    <xsd:attribute name="kind" type="CompoundKind" use="required"/>
  3372. +  </xsd:complexType>
  3373. +
  3374. +  <xsd:complexType name="MemberType">
  3375. +    <xsd:sequence>
  3376. +      <xsd:element name="name" type="xsd:string"/>
  3377. +    </xsd:sequence>
  3378. +    <xsd:attribute name="refid" type="xsd:string" use="required"/>
  3379. +    <xsd:attribute name="kind" type="MemberKind" use="required"/>
  3380. +  </xsd:complexType>
  3381. +
  3382. +  <xsd:simpleType name="CompoundKind">
  3383. +    <xsd:restriction base="xsd:string">
  3384. +      <xsd:enumeration value="class"/>
  3385. +      <xsd:enumeration value="struct"/>
  3386. +      <xsd:enumeration value="union"/>
  3387. +      <xsd:enumeration value="interface"/>
  3388. +      <xsd:enumeration value="protocol"/>
  3389. +      <xsd:enumeration value="category"/>
  3390. +      <xsd:enumeration value="exception"/>
  3391. +      <xsd:enumeration value="file"/>
  3392. +      <xsd:enumeration value="namespace"/>
  3393. +      <xsd:enumeration value="group"/>
  3394. +      <xsd:enumeration value="page"/>
  3395. +      <xsd:enumeration value="example"/>
  3396. +      <xsd:enumeration value="dir"/>
  3397. +    </xsd:restriction>
  3398. +  </xsd:simpleType>
  3399. +
  3400. +  <xsd:simpleType name="MemberKind">
  3401. +    <xsd:restriction base="xsd:string">
  3402. +      <xsd:enumeration value="define"/>
  3403. +      <xsd:enumeration value="property"/>
  3404. +      <xsd:enumeration value="event"/>
  3405. +      <xsd:enumeration value="variable"/>
  3406. +      <xsd:enumeration value="typedef"/>
  3407. +      <xsd:enumeration value="enum"/>
  3408. +      <xsd:enumeration value="enumvalue"/>
  3409. +      <xsd:enumeration value="function"/>
  3410. +      <xsd:enumeration value="signal"/>
  3411. +      <xsd:enumeration value="prototype"/>
  3412. +      <xsd:enumeration value="friend"/>
  3413. +      <xsd:enumeration value="dcop"/>
  3414. +      <xsd:enumeration value="slot"/>
  3415. +    </xsd:restriction>
  3416. +  </xsd:simpleType>
  3417. +
  3418. +</xsd:schema>
  3419. +
  3420. diff --git a/docs/doxygen/doxyxml/generated/__init__.py b/docs/doxygen/doxyxml/generated/__init__.py
  3421. new file mode 100644
  3422. index 0000000..3982397
  3423. --- /dev/null
  3424. +++ b/docs/doxygen/doxyxml/generated/__init__.py
  3425. @@ -0,0 +1,7 @@
  3426. +"""
  3427. +Contains generated files produced by generateDS.py.
  3428. +
  3429. +These do the real work of parsing the doxygen xml files but the
  3430. +resultant classes are not very friendly to navigate so the rest of the
  3431. +doxyxml module processes them further.
  3432. +"""
  3433. diff --git a/docs/doxygen/doxyxml/generated/compound.py b/docs/doxygen/doxyxml/generated/compound.py
  3434. new file mode 100644
  3435. index 0000000..1522ac2
  3436. --- /dev/null
  3437. +++ b/docs/doxygen/doxyxml/generated/compound.py
  3438. @@ -0,0 +1,503 @@
  3439. +#!/usr/bin/env python
  3440. +
  3441. +"""
  3442. +Generated Mon Feb  9 19:08:05 2009 by generateDS.py.
  3443. +"""
  3444. +
  3445. +from string import lower as str_lower
  3446. +from xml.dom import minidom
  3447. +from xml.dom import Node
  3448. +
  3449. +import sys
  3450. +
  3451. +import compoundsuper as supermod
  3452. +from compoundsuper import MixedContainer
  3453. +
  3454. +
  3455. +class DoxygenTypeSub(supermod.DoxygenType):
  3456. +    def __init__(self, version=None, compounddef=None):
  3457. +        supermod.DoxygenType.__init__(self, version, compounddef)
  3458. +
  3459. +    def find(self, details):
  3460. +
  3461. +        return self.compounddef.find(details)
  3462. +
  3463. +supermod.DoxygenType.subclass = DoxygenTypeSub
  3464. +# end class DoxygenTypeSub
  3465. +
  3466. +
  3467. +class compounddefTypeSub(supermod.compounddefType):
  3468. +    def __init__(self, kind=None, prot=None, id=None, compoundname='', title='', basecompoundref=None, derivedcompoundref=None, includes=None, includedby=None, incdepgraph=None, invincdepgraph=None, innerdir=None, innerfile=None, innerclass=None, innernamespace=None, innerpage=None, innergroup=None, templateparamlist=None, sectiondef=None, briefdescription=None, detaileddescription=None, inheritancegraph=None, collaborationgraph=None, programlisting=None, location=None, listofallmembers=None):
  3469. +        supermod.compounddefType.__init__(self, kind, prot, id, compoundname, title, basecompoundref, derivedcompoundref, includes, includedby, incdepgraph, invincdepgraph, innerdir, innerfile, innerclass, innernamespace, innerpage, innergroup, templateparamlist, sectiondef, briefdescription, detaileddescription, inheritancegraph, collaborationgraph, programlisting, location, listofallmembers)
  3470. +
  3471. +    def find(self, details):
  3472. +
  3473. +        if self.id == details.refid:
  3474. +            return self
  3475. +
  3476. +        for sectiondef in self.sectiondef:
  3477. +            result = sectiondef.find(details)
  3478. +            if result:
  3479. +                return result
  3480. +
  3481. +
  3482. +supermod.compounddefType.subclass = compounddefTypeSub
  3483. +# end class compounddefTypeSub
  3484. +
  3485. +
  3486. +class listofallmembersTypeSub(supermod.listofallmembersType):
  3487. +    def __init__(self, member=None):
  3488. +        supermod.listofallmembersType.__init__(self, member)
  3489. +supermod.listofallmembersType.subclass = listofallmembersTypeSub
  3490. +# end class listofallmembersTypeSub
  3491. +
  3492. +
  3493. +class memberRefTypeSub(supermod.memberRefType):
  3494. +    def __init__(self, virt=None, prot=None, refid=None, ambiguityscope=None, scope='', name=''):
  3495. +        supermod.memberRefType.__init__(self, virt, prot, refid, ambiguityscope, scope, name)
  3496. +supermod.memberRefType.subclass = memberRefTypeSub
  3497. +# end class memberRefTypeSub
  3498. +
  3499. +
  3500. +class compoundRefTypeSub(supermod.compoundRefType):
  3501. +    def __init__(self, virt=None, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None):
  3502. +        supermod.compoundRefType.__init__(self, mixedclass_, content_)
  3503. +supermod.compoundRefType.subclass = compoundRefTypeSub
  3504. +# end class compoundRefTypeSub
  3505. +
  3506. +
  3507. +class reimplementTypeSub(supermod.reimplementType):
  3508. +    def __init__(self, refid=None, valueOf_='', mixedclass_=None, content_=None):
  3509. +        supermod.reimplementType.__init__(self, mixedclass_, content_)
  3510. +supermod.reimplementType.subclass = reimplementTypeSub
  3511. +# end class reimplementTypeSub
  3512. +
  3513. +
  3514. +class incTypeSub(supermod.incType):
  3515. +    def __init__(self, local=None, refid=None, valueOf_='', mixedclass_=None, content_=None):
  3516. +        supermod.incType.__init__(self, mixedclass_, content_)
  3517. +supermod.incType.subclass = incTypeSub
  3518. +# end class incTypeSub
  3519. +
  3520. +
  3521. +class refTypeSub(supermod.refType):
  3522. +    def __init__(self, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None):
  3523. +        supermod.refType.__init__(self, mixedclass_, content_)
  3524. +supermod.refType.subclass = refTypeSub
  3525. +# end class refTypeSub
  3526. +
  3527. +
  3528. +
  3529. +class refTextTypeSub(supermod.refTextType):
  3530. +    def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None):
  3531. +        supermod.refTextType.__init__(self, mixedclass_, content_)
  3532. +
  3533. +supermod.refTextType.subclass = refTextTypeSub
  3534. +# end class refTextTypeSub
  3535. +
  3536. +class sectiondefTypeSub(supermod.sectiondefType):
  3537. +
  3538. +
  3539. +    def __init__(self, kind=None, header='', description=None, memberdef=None):
  3540. +        supermod.sectiondefType.__init__(self, kind, header, description, memberdef)
  3541. +
  3542. +    def find(self, details):
  3543. +
  3544. +        for memberdef in self.memberdef:
  3545. +            if memberdef.id == details.refid:
  3546. +                return memberdef
  3547. +
  3548. +        return None
  3549. +
  3550. +
  3551. +supermod.sectiondefType.subclass = sectiondefTypeSub
  3552. +# end class sectiondefTypeSub
  3553. +
  3554. +
  3555. +class memberdefTypeSub(supermod.memberdefType):
  3556. +    def __init__(self, initonly=None, kind=None, volatile=None, const=None, raise_=None, virt=None, readable=None, prot=None, explicit=None, new=None, final=None, writable=None, add=None, static=None, remove=None, sealed=None, mutable=None, gettable=None, inline=None, settable=None, id=None, templateparamlist=None, type_=None, definition='', argsstring='', name='', read='', write='', bitfield='', reimplements=None, reimplementedby=None, param=None, enumvalue=None, initializer=None, exceptions=None, briefdescription=None, detaileddescription=None, inbodydescription=None, location=None, references=None, referencedby=None):
  3557. +        supermod.memberdefType.__init__(self, initonly, kind, volatile, const, raise_, virt, readable, prot, explicit, new, final, writable, add, static, remove, sealed, mutable, gettable, inline, settable, id, templateparamlist, type_, definition, argsstring, name, read, write, bitfield, reimplements, reimplementedby, param, enumvalue, initializer, exceptions, briefdescription, detaileddescription, inbodydescription, location, references, referencedby)
  3558. +supermod.memberdefType.subclass = memberdefTypeSub
  3559. +# end class memberdefTypeSub
  3560. +
  3561. +
  3562. +class descriptionTypeSub(supermod.descriptionType):
  3563. +    def __init__(self, title='', para=None, sect1=None, internal=None, mixedclass_=None, content_=None):
  3564. +        supermod.descriptionType.__init__(self, mixedclass_, content_)
  3565. +supermod.descriptionType.subclass = descriptionTypeSub
  3566. +# end class descriptionTypeSub
  3567. +
  3568. +
  3569. +class enumvalueTypeSub(supermod.enumvalueType):
  3570. +    def __init__(self, prot=None, id=None, name='', initializer=None, briefdescription=None, detaileddescription=None, mixedclass_=None, content_=None):
  3571. +        supermod.enumvalueType.__init__(self, mixedclass_, content_)
  3572. +supermod.enumvalueType.subclass = enumvalueTypeSub
  3573. +# end class enumvalueTypeSub
  3574. +
  3575. +
  3576. +class templateparamlistTypeSub(supermod.templateparamlistType):
  3577. +    def __init__(self, param=None):
  3578. +        supermod.templateparamlistType.__init__(self, param)
  3579. +supermod.templateparamlistType.subclass = templateparamlistTypeSub
  3580. +# end class templateparamlistTypeSub
  3581. +
  3582. +
  3583. +class paramTypeSub(supermod.paramType):
  3584. +    def __init__(self, type_=None, declname='', defname='', array='', defval=None, briefdescription=None):
  3585. +        supermod.paramType.__init__(self, type_, declname, defname, array, defval, briefdescription)
  3586. +supermod.paramType.subclass = paramTypeSub
  3587. +# end class paramTypeSub
  3588. +
  3589. +
  3590. +class linkedTextTypeSub(supermod.linkedTextType):
  3591. +    def __init__(self, ref=None, mixedclass_=None, content_=None):
  3592. +        supermod.linkedTextType.__init__(self, mixedclass_, content_)
  3593. +supermod.linkedTextType.subclass = linkedTextTypeSub
  3594. +# end class linkedTextTypeSub
  3595. +
  3596. +
  3597. +class graphTypeSub(supermod.graphType):
  3598. +    def __init__(self, node=None):
  3599. +        supermod.graphType.__init__(self, node)
  3600. +supermod.graphType.subclass = graphTypeSub
  3601. +# end class graphTypeSub
  3602. +
  3603. +
  3604. +class nodeTypeSub(supermod.nodeType):
  3605. +    def __init__(self, id=None, label='', link=None, childnode=None):
  3606. +        supermod.nodeType.__init__(self, id, label, link, childnode)
  3607. +supermod.nodeType.subclass = nodeTypeSub
  3608. +# end class nodeTypeSub
  3609. +
  3610. +
  3611. +class childnodeTypeSub(supermod.childnodeType):
  3612. +    def __init__(self, relation=None, refid=None, edgelabel=None):
  3613. +        supermod.childnodeType.__init__(self, relation, refid, edgelabel)
  3614. +supermod.childnodeType.subclass = childnodeTypeSub
  3615. +# end class childnodeTypeSub
  3616. +
  3617. +
  3618. +class linkTypeSub(supermod.linkType):
  3619. +    def __init__(self, refid=None, external=None, valueOf_=''):
  3620. +        supermod.linkType.__init__(self, refid, external)
  3621. +supermod.linkType.subclass = linkTypeSub
  3622. +# end class linkTypeSub
  3623. +
  3624. +
  3625. +class listingTypeSub(supermod.listingType):
  3626. +    def __init__(self, codeline=None):
  3627. +        supermod.listingType.__init__(self, codeline)
  3628. +supermod.listingType.subclass = listingTypeSub
  3629. +# end class listingTypeSub
  3630. +
  3631. +
  3632. +class codelineTypeSub(supermod.codelineType):
  3633. +    def __init__(self, external=None, lineno=None, refkind=None, refid=None, highlight=None):
  3634. +        supermod.codelineType.__init__(self, external, lineno, refkind, refid, highlight)
  3635. +supermod.codelineType.subclass = codelineTypeSub
  3636. +# end class codelineTypeSub
  3637. +
  3638. +
  3639. +class highlightTypeSub(supermod.highlightType):
  3640. +    def __init__(self, class_=None, sp=None, ref=None, mixedclass_=None, content_=None):
  3641. +        supermod.highlightType.__init__(self, mixedclass_, content_)
  3642. +supermod.highlightType.subclass = highlightTypeSub
  3643. +# end class highlightTypeSub
  3644. +
  3645. +
  3646. +class referenceTypeSub(supermod.referenceType):
  3647. +    def __init__(self, endline=None, startline=None, refid=None, compoundref=None, valueOf_='', mixedclass_=None, content_=None):
  3648. +        supermod.referenceType.__init__(self, mixedclass_, content_)
  3649. +supermod.referenceType.subclass = referenceTypeSub
  3650. +# end class referenceTypeSub
  3651. +
  3652. +
  3653. +class locationTypeSub(supermod.locationType):
  3654. +    def __init__(self, bodystart=None, line=None, bodyend=None, bodyfile=None, file=None, valueOf_=''):
  3655. +        supermod.locationType.__init__(self, bodystart, line, bodyend, bodyfile, file)
  3656. +supermod.locationType.subclass = locationTypeSub
  3657. +# end class locationTypeSub
  3658. +
  3659. +
  3660. +class docSect1TypeSub(supermod.docSect1Type):
  3661. +    def __init__(self, id=None, title='', para=None, sect2=None, internal=None, mixedclass_=None, content_=None):
  3662. +        supermod.docSect1Type.__init__(self, mixedclass_, content_)
  3663. +supermod.docSect1Type.subclass = docSect1TypeSub
  3664. +# end class docSect1TypeSub
  3665. +
  3666. +
  3667. +class docSect2TypeSub(supermod.docSect2Type):
  3668. +    def __init__(self, id=None, title='', para=None, sect3=None, internal=None, mixedclass_=None, content_=None):
  3669. +        supermod.docSect2Type.__init__(self, mixedclass_, content_)
  3670. +supermod.docSect2Type.subclass = docSect2TypeSub
  3671. +# end class docSect2TypeSub
  3672. +
  3673. +
  3674. +class docSect3TypeSub(supermod.docSect3Type):
  3675. +    def __init__(self, id=None, title='', para=None, sect4=None, internal=None, mixedclass_=None, content_=None):
  3676. +        supermod.docSect3Type.__init__(self, mixedclass_, content_)
  3677. +supermod.docSect3Type.subclass = docSect3TypeSub
  3678. +# end class docSect3TypeSub
  3679. +
  3680. +
  3681. +class docSect4TypeSub(supermod.docSect4Type):
  3682. +    def __init__(self, id=None, title='', para=None, internal=None, mixedclass_=None, content_=None):
  3683. +        supermod.docSect4Type.__init__(self, mixedclass_, content_)
  3684. +supermod.docSect4Type.subclass = docSect4TypeSub
  3685. +# end class docSect4TypeSub
  3686. +
  3687. +
  3688. +class docInternalTypeSub(supermod.docInternalType):
  3689. +    def __init__(self, para=None, sect1=None, mixedclass_=None, content_=None):
  3690. +        supermod.docInternalType.__init__(self, mixedclass_, content_)
  3691. +supermod.docInternalType.subclass = docInternalTypeSub
  3692. +# end class docInternalTypeSub
  3693. +
  3694. +
  3695. +class docInternalS1TypeSub(supermod.docInternalS1Type):
  3696. +    def __init__(self, para=None, sect2=None, mixedclass_=None, content_=None):
  3697. +        supermod.docInternalS1Type.__init__(self, mixedclass_, content_)
  3698. +supermod.docInternalS1Type.subclass = docInternalS1TypeSub
  3699. +# end class docInternalS1TypeSub
  3700. +
  3701. +
  3702. +class docInternalS2TypeSub(supermod.docInternalS2Type):
  3703. +    def __init__(self, para=None, sect3=None, mixedclass_=None, content_=None):
  3704. +        supermod.docInternalS2Type.__init__(self, mixedclass_, content_)
  3705. +supermod.docInternalS2Type.subclass = docInternalS2TypeSub
  3706. +# end class docInternalS2TypeSub
  3707. +
  3708. +
  3709. +class docInternalS3TypeSub(supermod.docInternalS3Type):
  3710. +    def __init__(self, para=None, sect3=None, mixedclass_=None, content_=None):
  3711. +        supermod.docInternalS3Type.__init__(self, mixedclass_, content_)
  3712. +supermod.docInternalS3Type.subclass = docInternalS3TypeSub
  3713. +# end class docInternalS3TypeSub
  3714. +
  3715. +
  3716. +class docInternalS4TypeSub(supermod.docInternalS4Type):
  3717. +    def __init__(self, para=None, mixedclass_=None, content_=None):
  3718. +        supermod.docInternalS4Type.__init__(self, mixedclass_, content_)
  3719. +supermod.docInternalS4Type.subclass = docInternalS4TypeSub
  3720. +# end class docInternalS4TypeSub
  3721. +
  3722. +
  3723. +class docURLLinkSub(supermod.docURLLink):
  3724. +    def __init__(self, url=None, valueOf_='', mixedclass_=None, content_=None):
  3725. +        supermod.docURLLink.__init__(self, mixedclass_, content_)
  3726. +supermod.docURLLink.subclass = docURLLinkSub
  3727. +# end class docURLLinkSub
  3728. +
  3729. +
  3730. +class docAnchorTypeSub(supermod.docAnchorType):
  3731. +    def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None):
  3732. +        supermod.docAnchorType.__init__(self, mixedclass_, content_)
  3733. +supermod.docAnchorType.subclass = docAnchorTypeSub
  3734. +# end class docAnchorTypeSub
  3735. +
  3736. +
  3737. +class docFormulaTypeSub(supermod.docFormulaType):
  3738. +    def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None):
  3739. +        supermod.docFormulaType.__init__(self, mixedclass_, content_)
  3740. +supermod.docFormulaType.subclass = docFormulaTypeSub
  3741. +# end class docFormulaTypeSub
  3742. +
  3743. +
  3744. +class docIndexEntryTypeSub(supermod.docIndexEntryType):
  3745. +    def __init__(self, primaryie='', secondaryie=''):
  3746. +        supermod.docIndexEntryType.__init__(self, primaryie, secondaryie)
  3747. +supermod.docIndexEntryType.subclass = docIndexEntryTypeSub
  3748. +# end class docIndexEntryTypeSub
  3749. +
  3750. +
  3751. +class docListTypeSub(supermod.docListType):
  3752. +    def __init__(self, listitem=None):
  3753. +        supermod.docListType.__init__(self, listitem)
  3754. +supermod.docListType.subclass = docListTypeSub
  3755. +# end class docListTypeSub
  3756. +
  3757. +
  3758. +class docListItemTypeSub(supermod.docListItemType):
  3759. +    def __init__(self, para=None):
  3760. +        supermod.docListItemType.__init__(self, para)
  3761. +supermod.docListItemType.subclass = docListItemTypeSub
  3762. +# end class docListItemTypeSub
  3763. +
  3764. +
  3765. +class docSimpleSectTypeSub(supermod.docSimpleSectType):
  3766. +    def __init__(self, kind=None, title=None, para=None):
  3767. +        supermod.docSimpleSectType.__init__(self, kind, title, para)
  3768. +supermod.docSimpleSectType.subclass = docSimpleSectTypeSub
  3769. +# end class docSimpleSectTypeSub
  3770. +
  3771. +
  3772. +class docVarListEntryTypeSub(supermod.docVarListEntryType):
  3773. +    def __init__(self, term=None):
  3774. +        supermod.docVarListEntryType.__init__(self, term)
  3775. +supermod.docVarListEntryType.subclass = docVarListEntryTypeSub
  3776. +# end class docVarListEntryTypeSub
  3777. +
  3778. +
  3779. +class docRefTextTypeSub(supermod.docRefTextType):
  3780. +    def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None):
  3781. +        supermod.docRefTextType.__init__(self, mixedclass_, content_)
  3782. +supermod.docRefTextType.subclass = docRefTextTypeSub
  3783. +# end class docRefTextTypeSub
  3784. +
  3785. +
  3786. +class docTableTypeSub(supermod.docTableType):
  3787. +    def __init__(self, rows=None, cols=None, row=None, caption=None):
  3788. +        supermod.docTableType.__init__(self, rows, cols, row, caption)
  3789. +supermod.docTableType.subclass = docTableTypeSub
  3790. +# end class docTableTypeSub
  3791. +
  3792. +
  3793. +class docRowTypeSub(supermod.docRowType):
  3794. +    def __init__(self, entry=None):
  3795. +        supermod.docRowType.__init__(self, entry)
  3796. +supermod.docRowType.subclass = docRowTypeSub
  3797. +# end class docRowTypeSub
  3798. +
  3799. +
  3800. +class docEntryTypeSub(supermod.docEntryType):
  3801. +    def __init__(self, thead=None, para=None):
  3802. +        supermod.docEntryType.__init__(self, thead, para)
  3803. +supermod.docEntryType.subclass = docEntryTypeSub
  3804. +# end class docEntryTypeSub
  3805. +
  3806. +
  3807. +class docHeadingTypeSub(supermod.docHeadingType):
  3808. +    def __init__(self, level=None, valueOf_='', mixedclass_=None, content_=None):
  3809. +        supermod.docHeadingType.__init__(self, mixedclass_, content_)
  3810. +supermod.docHeadingType.subclass = docHeadingTypeSub
  3811. +# end class docHeadingTypeSub
  3812. +
  3813. +
  3814. +class docImageTypeSub(supermod.docImageType):
  3815. +    def __init__(self, width=None, type_=None, name=None, height=None, valueOf_='', mixedclass_=None, content_=None):
  3816. +        supermod.docImageType.__init__(self, mixedclass_, content_)
  3817. +supermod.docImageType.subclass = docImageTypeSub
  3818. +# end class docImageTypeSub
  3819. +
  3820. +
  3821. +class docDotFileTypeSub(supermod.docDotFileType):
  3822. +    def __init__(self, name=None, valueOf_='', mixedclass_=None, content_=None):
  3823. +        supermod.docDotFileType.__init__(self, mixedclass_, content_)
  3824. +supermod.docDotFileType.subclass = docDotFileTypeSub
  3825. +# end class docDotFileTypeSub
  3826. +
  3827. +
  3828. +class docTocItemTypeSub(supermod.docTocItemType):
  3829. +    def __init__(self, id=None, valueOf_='', mixedclass_=None, content_=None):
  3830. +        supermod.docTocItemType.__init__(self, mixedclass_, content_)
  3831. +supermod.docTocItemType.subclass = docTocItemTypeSub
  3832. +# end class docTocItemTypeSub
  3833. +
  3834. +
  3835. +class docTocListTypeSub(supermod.docTocListType):
  3836. +    def __init__(self, tocitem=None):
  3837. +        supermod.docTocListType.__init__(self, tocitem)
  3838. +supermod.docTocListType.subclass = docTocListTypeSub
  3839. +# end class docTocListTypeSub
  3840. +
  3841. +
  3842. +class docLanguageTypeSub(supermod.docLanguageType):
  3843. +    def __init__(self, langid=None, para=None):
  3844. +        supermod.docLanguageType.__init__(self, langid, para)
  3845. +supermod.docLanguageType.subclass = docLanguageTypeSub
  3846. +# end class docLanguageTypeSub
  3847. +
  3848. +
  3849. +class docParamListTypeSub(supermod.docParamListType):
  3850. +    def __init__(self, kind=None, parameteritem=None):
  3851. +        supermod.docParamListType.__init__(self, kind, parameteritem)
  3852. +supermod.docParamListType.subclass = docParamListTypeSub
  3853. +# end class docParamListTypeSub
  3854. +
  3855. +
  3856. +class docParamListItemSub(supermod.docParamListItem):
  3857. +    def __init__(self, parameternamelist=None, parameterdescription=None):
  3858. +        supermod.docParamListItem.__init__(self, parameternamelist, parameterdescription)
  3859. +supermod.docParamListItem.subclass = docParamListItemSub
  3860. +# end class docParamListItemSub
  3861. +
  3862. +
  3863. +class docParamNameListSub(supermod.docParamNameList):
  3864. +    def __init__(self, parametername=None):
  3865. +        supermod.docParamNameList.__init__(self, parametername)
  3866. +supermod.docParamNameList.subclass = docParamNameListSub
  3867. +# end class docParamNameListSub
  3868. +
  3869. +
  3870. +class docParamNameSub(supermod.docParamName):
  3871. +    def __init__(self, direction=None, ref=None, mixedclass_=None, content_=None):
  3872. +        supermod.docParamName.__init__(self, mixedclass_, content_)
  3873. +supermod.docParamName.subclass = docParamNameSub
  3874. +# end class docParamNameSub
  3875. +
  3876. +
  3877. +class docXRefSectTypeSub(supermod.docXRefSectType):
  3878. +    def __init__(self, id=None, xreftitle=None, xrefdescription=None):
  3879. +        supermod.docXRefSectType.__init__(self, id, xreftitle, xrefdescription)
  3880. +supermod.docXRefSectType.subclass = docXRefSectTypeSub
  3881. +# end class docXRefSectTypeSub
  3882. +
  3883. +
  3884. +class docCopyTypeSub(supermod.docCopyType):
  3885. +    def __init__(self, link=None, para=None, sect1=None, internal=None):
  3886. +        supermod.docCopyType.__init__(self, link, para, sect1, internal)
  3887. +supermod.docCopyType.subclass = docCopyTypeSub
  3888. +# end class docCopyTypeSub
  3889. +
  3890. +
  3891. +class docCharTypeSub(supermod.docCharType):
  3892. +    def __init__(self, char=None, valueOf_=''):
  3893. +        supermod.docCharType.__init__(self, char)
  3894. +supermod.docCharType.subclass = docCharTypeSub
  3895. +# end class docCharTypeSub
  3896. +
  3897. +class docParaTypeSub(supermod.docParaType):
  3898. +    def __init__(self, char=None, valueOf_=''):
  3899. +        supermod.docParaType.__init__(self, char)
  3900. +
  3901. +        self.parameterlist = []
  3902. +        self.simplesects = []
  3903. +        self.content = []
  3904. +
  3905. +    def buildChildren(self, child_, nodeName_):
  3906. +        supermod.docParaType.buildChildren(self, child_, nodeName_)
  3907. +
  3908. +        if child_.nodeType == Node.TEXT_NODE:
  3909. +            obj_ = self.mixedclass_(MixedContainer.CategoryText,
  3910. +                MixedContainer.TypeNone, '', child_.nodeValue)
  3911. +            self.content.append(obj_)
  3912. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  3913. +                nodeName_ == "ref":
  3914. +            obj_ = supermod.docRefTextType.factory()
  3915. +            obj_.build(child_)
  3916. +            self.content.append(obj_)
  3917. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  3918. +                nodeName_ == 'parameterlist':
  3919. +            obj_ = supermod.docParamListType.factory()
  3920. +            obj_.build(child_)
  3921. +            self.parameterlist.append(obj_)
  3922. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  3923. +                nodeName_ == 'simplesect':
  3924. +            obj_ = supermod.docSimpleSectType.factory()
  3925. +            obj_.build(child_)
  3926. +            self.simplesects.append(obj_)
  3927. +
  3928. +
  3929. +supermod.docParaType.subclass = docParaTypeSub
  3930. +# end class docParaTypeSub
  3931. +
  3932. +
  3933. +
  3934. +def parse(inFilename):
  3935. +    doc = minidom.parse(inFilename)
  3936. +    rootNode = doc.documentElement
  3937. +    rootObj = supermod.DoxygenType.factory()
  3938. +    rootObj.build(rootNode)
  3939. +    return rootObj
  3940. +
  3941. +
  3942. diff --git a/docs/doxygen/doxyxml/generated/compoundsuper.py b/docs/doxygen/doxyxml/generated/compoundsuper.py
  3943. new file mode 100644
  3944. index 0000000..6255dda
  3945. --- /dev/null
  3946. +++ b/docs/doxygen/doxyxml/generated/compoundsuper.py
  3947. @@ -0,0 +1,8342 @@
  3948. +#!/usr/bin/env python
  3949. +
  3950. +#
  3951. +# Generated Thu Jun 11 18:44:25 2009 by generateDS.py.
  3952. +#
  3953. +
  3954. +import sys
  3955. +import getopt
  3956. +from string import lower as str_lower
  3957. +from xml.dom import minidom
  3958. +from xml.dom import Node
  3959. +
  3960. +#
  3961. +# User methods
  3962. +#
  3963. +# Calls to the methods in these classes are generated by generateDS.py.
  3964. +# You can replace these methods by re-implementing the following class
  3965. +#   in a module named generatedssuper.py.
  3966. +
  3967. +try:
  3968. +    from generatedssuper import GeneratedsSuper
  3969. +except ImportError, exp:
  3970. +
  3971. +    class GeneratedsSuper:
  3972. +        def format_string(self, input_data, input_name=''):
  3973. +            return input_data
  3974. +        def format_integer(self, input_data, input_name=''):
  3975. +            return '%d' % input_data
  3976. +        def format_float(self, input_data, input_name=''):
  3977. +            return '%f' % input_data
  3978. +        def format_double(self, input_data, input_name=''):
  3979. +            return '%e' % input_data
  3980. +        def format_boolean(self, input_data, input_name=''):
  3981. +            return '%s' % input_data
  3982. +
  3983. +
  3984. +#
  3985. +# If you have installed IPython you can uncomment and use the following.
  3986. +# IPython is available from http://ipython.scipy.org/.
  3987. +#
  3988. +
  3989. +## from IPython.Shell import IPShellEmbed
  3990. +## args = ''
  3991. +## ipshell = IPShellEmbed(args,
  3992. +##     banner = 'Dropping into IPython',
  3993. +##     exit_msg = 'Leaving Interpreter, back to program.')
  3994. +
  3995. +# Then use the following line where and when you want to drop into the
  3996. +# IPython shell:
  3997. +#    ipshell('<some message> -- Entering ipshell.\nHit Ctrl-D to exit')
  3998. +
  3999. +#
  4000. +# Globals
  4001. +#
  4002. +
  4003. +ExternalEncoding = 'ascii'
  4004. +
  4005. +#
  4006. +# Support/utility functions.
  4007. +#
  4008. +
  4009. +def showIndent(outfile, level):
  4010. +    for idx in range(level):
  4011. +        outfile.write('    ')
  4012. +
  4013. +def quote_xml(inStr):
  4014. +    s1 = (isinstance(inStr, basestring) and inStr or
  4015. +          '%s' % inStr)
  4016. +    s1 = s1.replace('&', '&amp;')
  4017. +    s1 = s1.replace('<', '&lt;')
  4018. +    s1 = s1.replace('>', '&gt;')
  4019. +    return s1
  4020. +
  4021. +def quote_attrib(inStr):
  4022. +    s1 = (isinstance(inStr, basestring) and inStr or
  4023. +          '%s' % inStr)
  4024. +    s1 = s1.replace('&', '&amp;')
  4025. +    s1 = s1.replace('<', '&lt;')
  4026. +    s1 = s1.replace('>', '&gt;')
  4027. +    if '"' in s1:
  4028. +        if "'" in s1:
  4029. +            s1 = '"%s"' % s1.replace('"', "&quot;")
  4030. +        else:
  4031. +            s1 = "'%s'" % s1
  4032. +    else:
  4033. +        s1 = '"%s"' % s1
  4034. +    return s1
  4035. +
  4036. +def quote_python(inStr):
  4037. +    s1 = inStr
  4038. +    if s1.find("'") == -1:
  4039. +        if s1.find('\n') == -1:
  4040. +            return "'%s'" % s1
  4041. +        else:
  4042. +            return "'''%s'''" % s1
  4043. +    else:
  4044. +        if s1.find('"') != -1:
  4045. +            s1 = s1.replace('"', '\\"')
  4046. +        if s1.find('\n') == -1:
  4047. +            return '"%s"' % s1
  4048. +        else:
  4049. +            return '"""%s"""' % s1
  4050. +
  4051. +
  4052. +class MixedContainer:
  4053. +    # Constants for category:
  4054. +    CategoryNone = 0
  4055. +    CategoryText = 1
  4056. +    CategorySimple = 2
  4057. +    CategoryComplex = 3
  4058. +    # Constants for content_type:
  4059. +    TypeNone = 0
  4060. +    TypeText = 1
  4061. +    TypeString = 2
  4062. +    TypeInteger = 3
  4063. +    TypeFloat = 4
  4064. +    TypeDecimal = 5
  4065. +    TypeDouble = 6
  4066. +    TypeBoolean = 7
  4067. +    def __init__(self, category, content_type, name, value):
  4068. +        self.category = category
  4069. +        self.content_type = content_type
  4070. +        self.name = name
  4071. +        self.value = value
  4072. +    def getCategory(self):
  4073. +        return self.category
  4074. +    def getContenttype(self, content_type):
  4075. +        return self.content_type
  4076. +    def getValue(self):
  4077. +        return self.value
  4078. +    def getName(self):
  4079. +        return self.name
  4080. +    def export(self, outfile, level, name, namespace):
  4081. +        if self.category == MixedContainer.CategoryText:
  4082. +            outfile.write(self.value)
  4083. +        elif self.category == MixedContainer.CategorySimple:
  4084. +            self.exportSimple(outfile, level, name)
  4085. +        else:    # category == MixedContainer.CategoryComplex
  4086. +            self.value.export(outfile, level, namespace,name)
  4087. +    def exportSimple(self, outfile, level, name):
  4088. +        if self.content_type == MixedContainer.TypeString:
  4089. +            outfile.write('<%s>%s</%s>' % (self.name, self.value, self.name))
  4090. +        elif self.content_type == MixedContainer.TypeInteger or \
  4091. +                self.content_type == MixedContainer.TypeBoolean:
  4092. +            outfile.write('<%s>%d</%s>' % (self.name, self.value, self.name))
  4093. +        elif self.content_type == MixedContainer.TypeFloat or \
  4094. +                self.content_type == MixedContainer.TypeDecimal:
  4095. +            outfile.write('<%s>%f</%s>' % (self.name, self.value, self.name))
  4096. +        elif self.content_type == MixedContainer.TypeDouble:
  4097. +            outfile.write('<%s>%g</%s>' % (self.name, self.value, self.name))
  4098. +    def exportLiteral(self, outfile, level, name):
  4099. +        if self.category == MixedContainer.CategoryText:
  4100. +            showIndent(outfile, level)
  4101. +            outfile.write('MixedContainer(%d, %d, "%s", "%s"),\n' % \
  4102. +                (self.category, self.content_type, self.name, self.value))
  4103. +        elif self.category == MixedContainer.CategorySimple:
  4104. +            showIndent(outfile, level)
  4105. +            outfile.write('MixedContainer(%d, %d, "%s", "%s"),\n' % \
  4106. +                (self.category, self.content_type, self.name, self.value))
  4107. +        else:    # category == MixedContainer.CategoryComplex
  4108. +            showIndent(outfile, level)
  4109. +            outfile.write('MixedContainer(%d, %d, "%s",\n' % \
  4110. +                (self.category, self.content_type, self.name,))
  4111. +            self.value.exportLiteral(outfile, level + 1)
  4112. +            showIndent(outfile, level)
  4113. +            outfile.write(')\n')
  4114. +
  4115. +
  4116. +class _MemberSpec(object):
  4117. +    def __init__(self, name='', data_type='', container=0):
  4118. +        self.name = name
  4119. +        self.data_type = data_type
  4120. +        self.container = container
  4121. +    def set_name(self, name): self.name = name
  4122. +    def get_name(self): return self.name
  4123. +    def set_data_type(self, data_type): self.data_type = data_type
  4124. +    def get_data_type(self): return self.data_type
  4125. +    def set_container(self, container): self.container = container
  4126. +    def get_container(self): return self.container
  4127. +
  4128. +
  4129. +#
  4130. +# Data representation classes.
  4131. +#
  4132. +
  4133. +class DoxygenType(GeneratedsSuper):
  4134. +    subclass = None
  4135. +    superclass = None
  4136. +    def __init__(self, version=None, compounddef=None):
  4137. +        self.version = version
  4138. +        self.compounddef = compounddef
  4139. +    def factory(*args_, **kwargs_):
  4140. +        if DoxygenType.subclass:
  4141. +            return DoxygenType.subclass(*args_, **kwargs_)
  4142. +        else:
  4143. +            return DoxygenType(*args_, **kwargs_)
  4144. +    factory = staticmethod(factory)
  4145. +    def get_compounddef(self): return self.compounddef
  4146. +    def set_compounddef(self, compounddef): self.compounddef = compounddef
  4147. +    def get_version(self): return self.version
  4148. +    def set_version(self, version): self.version = version
  4149. +    def export(self, outfile, level, namespace_='', name_='DoxygenType', namespacedef_=''):
  4150. +        showIndent(outfile, level)
  4151. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  4152. +        self.exportAttributes(outfile, level, namespace_, name_='DoxygenType')
  4153. +        if self.hasContent_():
  4154. +            outfile.write('>\n')
  4155. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  4156. +            showIndent(outfile, level)
  4157. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  4158. +        else:
  4159. +            outfile.write(' />\n')
  4160. +    def exportAttributes(self, outfile, level, namespace_='', name_='DoxygenType'):
  4161. +        outfile.write(' version=%s' % (quote_attrib(self.version), ))
  4162. +    def exportChildren(self, outfile, level, namespace_='', name_='DoxygenType'):
  4163. +        if self.compounddef:
  4164. +            self.compounddef.export(outfile, level, namespace_, name_='compounddef')
  4165. +    def hasContent_(self):
  4166. +        if (
  4167. +            self.compounddef is not None
  4168. +            ):
  4169. +            return True
  4170. +        else:
  4171. +            return False
  4172. +    def exportLiteral(self, outfile, level, name_='DoxygenType'):
  4173. +        level += 1
  4174. +        self.exportLiteralAttributes(outfile, level, name_)
  4175. +        if self.hasContent_():
  4176. +            self.exportLiteralChildren(outfile, level, name_)
  4177. +    def exportLiteralAttributes(self, outfile, level, name_):
  4178. +        if self.version is not None:
  4179. +            showIndent(outfile, level)
  4180. +            outfile.write('version = "%s",\n' % (self.version,))
  4181. +    def exportLiteralChildren(self, outfile, level, name_):
  4182. +        if self.compounddef:
  4183. +            showIndent(outfile, level)
  4184. +            outfile.write('compounddef=model_.compounddefType(\n')
  4185. +            self.compounddef.exportLiteral(outfile, level, name_='compounddef')
  4186. +            showIndent(outfile, level)
  4187. +            outfile.write('),\n')
  4188. +    def build(self, node_):
  4189. +        attrs = node_.attributes
  4190. +        self.buildAttributes(attrs)
  4191. +        for child_ in node_.childNodes:
  4192. +            nodeName_ = child_.nodeName.split(':')[-1]
  4193. +            self.buildChildren(child_, nodeName_)
  4194. +    def buildAttributes(self, attrs):
  4195. +        if attrs.get('version'):
  4196. +            self.version = attrs.get('version').value
  4197. +    def buildChildren(self, child_, nodeName_):
  4198. +        if child_.nodeType == Node.ELEMENT_NODE and \
  4199. +            nodeName_ == 'compounddef':
  4200. +            obj_ = compounddefType.factory()
  4201. +            obj_.build(child_)
  4202. +            self.set_compounddef(obj_)
  4203. +# end class DoxygenType
  4204. +
  4205. +
  4206. +class compounddefType(GeneratedsSuper):
  4207. +    subclass = None
  4208. +    superclass = None
  4209. +    def __init__(self, kind=None, prot=None, id=None, compoundname=None, title=None, basecompoundref=None, derivedcompoundref=None, includes=None, includedby=None, incdepgraph=None, invincdepgraph=None, innerdir=None, innerfile=None, innerclass=None, innernamespace=None, innerpage=None, innergroup=None, templateparamlist=None, sectiondef=None, briefdescription=None, detaileddescription=None, inheritancegraph=None, collaborationgraph=None, programlisting=None, location=None, listofallmembers=None):
  4210. +        self.kind = kind
  4211. +        self.prot = prot
  4212. +        self.id = id
  4213. +        self.compoundname = compoundname
  4214. +        self.title = title
  4215. +        if basecompoundref is None:
  4216. +            self.basecompoundref = []
  4217. +        else:
  4218. +            self.basecompoundref = basecompoundref
  4219. +        if derivedcompoundref is None:
  4220. +            self.derivedcompoundref = []
  4221. +        else:
  4222. +            self.derivedcompoundref = derivedcompoundref
  4223. +        if includes is None:
  4224. +            self.includes = []
  4225. +        else:
  4226. +            self.includes = includes
  4227. +        if includedby is None:
  4228. +            self.includedby = []
  4229. +        else:
  4230. +            self.includedby = includedby
  4231. +        self.incdepgraph = incdepgraph
  4232. +        self.invincdepgraph = invincdepgraph
  4233. +        if innerdir is None:
  4234. +            self.innerdir = []
  4235. +        else:
  4236. +            self.innerdir = innerdir
  4237. +        if innerfile is None:
  4238. +            self.innerfile = []
  4239. +        else:
  4240. +            self.innerfile = innerfile
  4241. +        if innerclass is None:
  4242. +            self.innerclass = []
  4243. +        else:
  4244. +            self.innerclass = innerclass
  4245. +        if innernamespace is None:
  4246. +            self.innernamespace = []
  4247. +        else:
  4248. +            self.innernamespace = innernamespace
  4249. +        if innerpage is None:
  4250. +            self.innerpage = []
  4251. +        else:
  4252. +            self.innerpage = innerpage
  4253. +        if innergroup is None:
  4254. +            self.innergroup = []
  4255. +        else:
  4256. +            self.innergroup = innergroup
  4257. +        self.templateparamlist = templateparamlist
  4258. +        if sectiondef is None:
  4259. +            self.sectiondef = []
  4260. +        else:
  4261. +            self.sectiondef = sectiondef
  4262. +        self.briefdescription = briefdescription
  4263. +        self.detaileddescription = detaileddescription
  4264. +        self.inheritancegraph = inheritancegraph
  4265. +        self.collaborationgraph = collaborationgraph
  4266. +        self.programlisting = programlisting
  4267. +        self.location = location
  4268. +        self.listofallmembers = listofallmembers
  4269. +    def factory(*args_, **kwargs_):
  4270. +        if compounddefType.subclass:
  4271. +            return compounddefType.subclass(*args_, **kwargs_)
  4272. +        else:
  4273. +            return compounddefType(*args_, **kwargs_)
  4274. +    factory = staticmethod(factory)
  4275. +    def get_compoundname(self): return self.compoundname
  4276. +    def set_compoundname(self, compoundname): self.compoundname = compoundname
  4277. +    def get_title(self): return self.title
  4278. +    def set_title(self, title): self.title = title
  4279. +    def get_basecompoundref(self): return self.basecompoundref
  4280. +    def set_basecompoundref(self, basecompoundref): self.basecompoundref = basecompoundref
  4281. +    def add_basecompoundref(self, value): self.basecompoundref.append(value)
  4282. +    def insert_basecompoundref(self, index, value): self.basecompoundref[index] = value
  4283. +    def get_derivedcompoundref(self): return self.derivedcompoundref
  4284. +    def set_derivedcompoundref(self, derivedcompoundref): self.derivedcompoundref = derivedcompoundref
  4285. +    def add_derivedcompoundref(self, value): self.derivedcompoundref.append(value)
  4286. +    def insert_derivedcompoundref(self, index, value): self.derivedcompoundref[index] = value
  4287. +    def get_includes(self): return self.includes
  4288. +    def set_includes(self, includes): self.includes = includes
  4289. +    def add_includes(self, value): self.includes.append(value)
  4290. +    def insert_includes(self, index, value): self.includes[index] = value
  4291. +    def get_includedby(self): return self.includedby
  4292. +    def set_includedby(self, includedby): self.includedby = includedby
  4293. +    def add_includedby(self, value): self.includedby.append(value)
  4294. +    def insert_includedby(self, index, value): self.includedby[index] = value
  4295. +    def get_incdepgraph(self): return self.incdepgraph
  4296. +    def set_incdepgraph(self, incdepgraph): self.incdepgraph = incdepgraph
  4297. +    def get_invincdepgraph(self): return self.invincdepgraph
  4298. +    def set_invincdepgraph(self, invincdepgraph): self.invincdepgraph = invincdepgraph
  4299. +    def get_innerdir(self): return self.innerdir
  4300. +    def set_innerdir(self, innerdir): self.innerdir = innerdir
  4301. +    def add_innerdir(self, value): self.innerdir.append(value)
  4302. +    def insert_innerdir(self, index, value): self.innerdir[index] = value
  4303. +    def get_innerfile(self): return self.innerfile
  4304. +    def set_innerfile(self, innerfile): self.innerfile = innerfile
  4305. +    def add_innerfile(self, value): self.innerfile.append(value)
  4306. +    def insert_innerfile(self, index, value): self.innerfile[index] = value
  4307. +    def get_innerclass(self): return self.innerclass
  4308. +    def set_innerclass(self, innerclass): self.innerclass = innerclass
  4309. +    def add_innerclass(self, value): self.innerclass.append(value)
  4310. +    def insert_innerclass(self, index, value): self.innerclass[index] = value
  4311. +    def get_innernamespace(self): return self.innernamespace
  4312. +    def set_innernamespace(self, innernamespace): self.innernamespace = innernamespace
  4313. +    def add_innernamespace(self, value): self.innernamespace.append(value)
  4314. +    def insert_innernamespace(self, index, value): self.innernamespace[index] = value
  4315. +    def get_innerpage(self): return self.innerpage
  4316. +    def set_innerpage(self, innerpage): self.innerpage = innerpage
  4317. +    def add_innerpage(self, value): self.innerpage.append(value)
  4318. +    def insert_innerpage(self, index, value): self.innerpage[index] = value
  4319. +    def get_innergroup(self): return self.innergroup
  4320. +    def set_innergroup(self, innergroup): self.innergroup = innergroup
  4321. +    def add_innergroup(self, value): self.innergroup.append(value)
  4322. +    def insert_innergroup(self, index, value): self.innergroup[index] = value
  4323. +    def get_templateparamlist(self): return self.templateparamlist
  4324. +    def set_templateparamlist(self, templateparamlist): self.templateparamlist = templateparamlist
  4325. +    def get_sectiondef(self): return self.sectiondef
  4326. +    def set_sectiondef(self, sectiondef): self.sectiondef = sectiondef
  4327. +    def add_sectiondef(self, value): self.sectiondef.append(value)
  4328. +    def insert_sectiondef(self, index, value): self.sectiondef[index] = value
  4329. +    def get_briefdescription(self): return self.briefdescription
  4330. +    def set_briefdescription(self, briefdescription): self.briefdescription = briefdescription
  4331. +    def get_detaileddescription(self): return self.detaileddescription
  4332. +    def set_detaileddescription(self, detaileddescription): self.detaileddescription = detaileddescription
  4333. +    def get_inheritancegraph(self): return self.inheritancegraph
  4334. +    def set_inheritancegraph(self, inheritancegraph): self.inheritancegraph = inheritancegraph
  4335. +    def get_collaborationgraph(self): return self.collaborationgraph
  4336. +    def set_collaborationgraph(self, collaborationgraph): self.collaborationgraph = collaborationgraph
  4337. +    def get_programlisting(self): return self.programlisting
  4338. +    def set_programlisting(self, programlisting): self.programlisting = programlisting
  4339. +    def get_location(self): return self.location
  4340. +    def set_location(self, location): self.location = location
  4341. +    def get_listofallmembers(self): return self.listofallmembers
  4342. +    def set_listofallmembers(self, listofallmembers): self.listofallmembers = listofallmembers
  4343. +    def get_kind(self): return self.kind
  4344. +    def set_kind(self, kind): self.kind = kind
  4345. +    def get_prot(self): return self.prot
  4346. +    def set_prot(self, prot): self.prot = prot
  4347. +    def get_id(self): return self.id
  4348. +    def set_id(self, id): self.id = id
  4349. +    def export(self, outfile, level, namespace_='', name_='compounddefType', namespacedef_=''):
  4350. +        showIndent(outfile, level)
  4351. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  4352. +        self.exportAttributes(outfile, level, namespace_, name_='compounddefType')
  4353. +        if self.hasContent_():
  4354. +            outfile.write('>\n')
  4355. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  4356. +            showIndent(outfile, level)
  4357. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  4358. +        else:
  4359. +            outfile.write(' />\n')
  4360. +    def exportAttributes(self, outfile, level, namespace_='', name_='compounddefType'):
  4361. +        if self.kind is not None:
  4362. +            outfile.write(' kind=%s' % (quote_attrib(self.kind), ))
  4363. +        if self.prot is not None:
  4364. +            outfile.write(' prot=%s' % (quote_attrib(self.prot), ))
  4365. +        if self.id is not None:
  4366. +            outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), ))
  4367. +    def exportChildren(self, outfile, level, namespace_='', name_='compounddefType'):
  4368. +        if self.compoundname is not None:
  4369. +            showIndent(outfile, level)
  4370. +            outfile.write('<%scompoundname>%s</%scompoundname>\n' % (namespace_, self.format_string(quote_xml(self.compoundname).encode(ExternalEncoding), input_name='compoundname'), namespace_))
  4371. +        if self.title is not None:
  4372. +            showIndent(outfile, level)
  4373. +            outfile.write('<%stitle>%s</%stitle>\n' % (namespace_, self.format_string(quote_xml(self.title).encode(ExternalEncoding), input_name='title'), namespace_))
  4374. +        for basecompoundref_ in self.basecompoundref:
  4375. +            basecompoundref_.export(outfile, level, namespace_, name_='basecompoundref')
  4376. +        for derivedcompoundref_ in self.derivedcompoundref:
  4377. +            derivedcompoundref_.export(outfile, level, namespace_, name_='derivedcompoundref')
  4378. +        for includes_ in self.includes:
  4379. +            includes_.export(outfile, level, namespace_, name_='includes')
  4380. +        for includedby_ in self.includedby:
  4381. +            includedby_.export(outfile, level, namespace_, name_='includedby')
  4382. +        if self.incdepgraph:
  4383. +            self.incdepgraph.export(outfile, level, namespace_, name_='incdepgraph')
  4384. +        if self.invincdepgraph:
  4385. +            self.invincdepgraph.export(outfile, level, namespace_, name_='invincdepgraph')
  4386. +        for innerdir_ in self.innerdir:
  4387. +            innerdir_.export(outfile, level, namespace_, name_='innerdir')
  4388. +        for innerfile_ in self.innerfile:
  4389. +            innerfile_.export(outfile, level, namespace_, name_='innerfile')
  4390. +        for innerclass_ in self.innerclass:
  4391. +            innerclass_.export(outfile, level, namespace_, name_='innerclass')
  4392. +        for innernamespace_ in self.innernamespace:
  4393. +            innernamespace_.export(outfile, level, namespace_, name_='innernamespace')
  4394. +        for innerpage_ in self.innerpage:
  4395. +            innerpage_.export(outfile, level, namespace_, name_='innerpage')
  4396. +        for innergroup_ in self.innergroup:
  4397. +            innergroup_.export(outfile, level, namespace_, name_='innergroup')
  4398. +        if self.templateparamlist:
  4399. +            self.templateparamlist.export(outfile, level, namespace_, name_='templateparamlist')
  4400. +        for sectiondef_ in self.sectiondef:
  4401. +            sectiondef_.export(outfile, level, namespace_, name_='sectiondef')
  4402. +        if self.briefdescription:
  4403. +            self.briefdescription.export(outfile, level, namespace_, name_='briefdescription')
  4404. +        if self.detaileddescription:
  4405. +            self.detaileddescription.export(outfile, level, namespace_, name_='detaileddescription')
  4406. +        if self.inheritancegraph:
  4407. +            self.inheritancegraph.export(outfile, level, namespace_, name_='inheritancegraph')
  4408. +        if self.collaborationgraph:
  4409. +            self.collaborationgraph.export(outfile, level, namespace_, name_='collaborationgraph')
  4410. +        if self.programlisting:
  4411. +            self.programlisting.export(outfile, level, namespace_, name_='programlisting')
  4412. +        if self.location:
  4413. +            self.location.export(outfile, level, namespace_, name_='location')
  4414. +        if self.listofallmembers:
  4415. +            self.listofallmembers.export(outfile, level, namespace_, name_='listofallmembers')
  4416. +    def hasContent_(self):
  4417. +        if (
  4418. +            self.compoundname is not None or
  4419. +            self.title is not None or
  4420. +            self.basecompoundref is not None or
  4421. +            self.derivedcompoundref is not None or
  4422. +            self.includes is not None or
  4423. +            self.includedby is not None or
  4424. +            self.incdepgraph is not None or
  4425. +            self.invincdepgraph is not None or
  4426. +            self.innerdir is not None or
  4427. +            self.innerfile is not None or
  4428. +            self.innerclass is not None or
  4429. +            self.innernamespace is not None or
  4430. +            self.innerpage is not None or
  4431. +            self.innergroup is not None or
  4432. +            self.templateparamlist is not None or
  4433. +            self.sectiondef is not None or
  4434. +            self.briefdescription is not None or
  4435. +            self.detaileddescription is not None or
  4436. +            self.inheritancegraph is not None or
  4437. +            self.collaborationgraph is not None or
  4438. +            self.programlisting is not None or
  4439. +            self.location is not None or
  4440. +            self.listofallmembers is not None
  4441. +            ):
  4442. +            return True
  4443. +        else:
  4444. +            return False
  4445. +    def exportLiteral(self, outfile, level, name_='compounddefType'):
  4446. +        level += 1
  4447. +        self.exportLiteralAttributes(outfile, level, name_)
  4448. +        if self.hasContent_():
  4449. +            self.exportLiteralChildren(outfile, level, name_)
  4450. +    def exportLiteralAttributes(self, outfile, level, name_):
  4451. +        if self.kind is not None:
  4452. +            showIndent(outfile, level)
  4453. +            outfile.write('kind = "%s",\n' % (self.kind,))
  4454. +        if self.prot is not None:
  4455. +            showIndent(outfile, level)
  4456. +            outfile.write('prot = "%s",\n' % (self.prot,))
  4457. +        if self.id is not None:
  4458. +            showIndent(outfile, level)
  4459. +            outfile.write('id = %s,\n' % (self.id,))
  4460. +    def exportLiteralChildren(self, outfile, level, name_):
  4461. +        showIndent(outfile, level)
  4462. +        outfile.write('compoundname=%s,\n' % quote_python(self.compoundname).encode(ExternalEncoding))
  4463. +        if self.title:
  4464. +            showIndent(outfile, level)
  4465. +            outfile.write('title=model_.xsd_string(\n')
  4466. +            self.title.exportLiteral(outfile, level, name_='title')
  4467. +            showIndent(outfile, level)
  4468. +            outfile.write('),\n')
  4469. +        showIndent(outfile, level)
  4470. +        outfile.write('basecompoundref=[\n')
  4471. +        level += 1
  4472. +        for basecompoundref in self.basecompoundref:
  4473. +            showIndent(outfile, level)
  4474. +            outfile.write('model_.basecompoundref(\n')
  4475. +            basecompoundref.exportLiteral(outfile, level, name_='basecompoundref')
  4476. +            showIndent(outfile, level)
  4477. +            outfile.write('),\n')
  4478. +        level -= 1
  4479. +        showIndent(outfile, level)
  4480. +        outfile.write('],\n')
  4481. +        showIndent(outfile, level)
  4482. +        outfile.write('derivedcompoundref=[\n')
  4483. +        level += 1
  4484. +        for derivedcompoundref in self.derivedcompoundref:
  4485. +            showIndent(outfile, level)
  4486. +            outfile.write('model_.derivedcompoundref(\n')
  4487. +            derivedcompoundref.exportLiteral(outfile, level, name_='derivedcompoundref')
  4488. +            showIndent(outfile, level)
  4489. +            outfile.write('),\n')
  4490. +        level -= 1
  4491. +        showIndent(outfile, level)
  4492. +        outfile.write('],\n')
  4493. +        showIndent(outfile, level)
  4494. +        outfile.write('includes=[\n')
  4495. +        level += 1
  4496. +        for includes in self.includes:
  4497. +            showIndent(outfile, level)
  4498. +            outfile.write('model_.includes(\n')
  4499. +            includes.exportLiteral(outfile, level, name_='includes')
  4500. +            showIndent(outfile, level)
  4501. +            outfile.write('),\n')
  4502. +        level -= 1
  4503. +        showIndent(outfile, level)
  4504. +        outfile.write('],\n')
  4505. +        showIndent(outfile, level)
  4506. +        outfile.write('includedby=[\n')
  4507. +        level += 1
  4508. +        for includedby in self.includedby:
  4509. +            showIndent(outfile, level)
  4510. +            outfile.write('model_.includedby(\n')
  4511. +            includedby.exportLiteral(outfile, level, name_='includedby')
  4512. +            showIndent(outfile, level)
  4513. +            outfile.write('),\n')
  4514. +        level -= 1
  4515. +        showIndent(outfile, level)
  4516. +        outfile.write('],\n')
  4517. +        if self.incdepgraph:
  4518. +            showIndent(outfile, level)
  4519. +            outfile.write('incdepgraph=model_.graphType(\n')
  4520. +            self.incdepgraph.exportLiteral(outfile, level, name_='incdepgraph')
  4521. +            showIndent(outfile, level)
  4522. +            outfile.write('),\n')
  4523. +        if self.invincdepgraph:
  4524. +            showIndent(outfile, level)
  4525. +            outfile.write('invincdepgraph=model_.graphType(\n')
  4526. +            self.invincdepgraph.exportLiteral(outfile, level, name_='invincdepgraph')
  4527. +            showIndent(outfile, level)
  4528. +            outfile.write('),\n')
  4529. +        showIndent(outfile, level)
  4530. +        outfile.write('innerdir=[\n')
  4531. +        level += 1
  4532. +        for innerdir in self.innerdir:
  4533. +            showIndent(outfile, level)
  4534. +            outfile.write('model_.innerdir(\n')
  4535. +            innerdir.exportLiteral(outfile, level, name_='innerdir')
  4536. +            showIndent(outfile, level)
  4537. +            outfile.write('),\n')
  4538. +        level -= 1
  4539. +        showIndent(outfile, level)
  4540. +        outfile.write('],\n')
  4541. +        showIndent(outfile, level)
  4542. +        outfile.write('innerfile=[\n')
  4543. +        level += 1
  4544. +        for innerfile in self.innerfile:
  4545. +            showIndent(outfile, level)
  4546. +            outfile.write('model_.innerfile(\n')
  4547. +            innerfile.exportLiteral(outfile, level, name_='innerfile')
  4548. +            showIndent(outfile, level)
  4549. +            outfile.write('),\n')
  4550. +        level -= 1
  4551. +        showIndent(outfile, level)
  4552. +        outfile.write('],\n')
  4553. +        showIndent(outfile, level)
  4554. +        outfile.write('innerclass=[\n')
  4555. +        level += 1
  4556. +        for innerclass in self.innerclass:
  4557. +            showIndent(outfile, level)
  4558. +            outfile.write('model_.innerclass(\n')
  4559. +            innerclass.exportLiteral(outfile, level, name_='innerclass')
  4560. +            showIndent(outfile, level)
  4561. +            outfile.write('),\n')
  4562. +        level -= 1
  4563. +        showIndent(outfile, level)
  4564. +        outfile.write('],\n')
  4565. +        showIndent(outfile, level)
  4566. +        outfile.write('innernamespace=[\n')
  4567. +        level += 1
  4568. +        for innernamespace in self.innernamespace:
  4569. +            showIndent(outfile, level)
  4570. +            outfile.write('model_.innernamespace(\n')
  4571. +            innernamespace.exportLiteral(outfile, level, name_='innernamespace')
  4572. +            showIndent(outfile, level)
  4573. +            outfile.write('),\n')
  4574. +        level -= 1
  4575. +        showIndent(outfile, level)
  4576. +        outfile.write('],\n')
  4577. +        showIndent(outfile, level)
  4578. +        outfile.write('innerpage=[\n')
  4579. +        level += 1
  4580. +        for innerpage in self.innerpage:
  4581. +            showIndent(outfile, level)
  4582. +            outfile.write('model_.innerpage(\n')
  4583. +            innerpage.exportLiteral(outfile, level, name_='innerpage')
  4584. +            showIndent(outfile, level)
  4585. +            outfile.write('),\n')
  4586. +        level -= 1
  4587. +        showIndent(outfile, level)
  4588. +        outfile.write('],\n')
  4589. +        showIndent(outfile, level)
  4590. +        outfile.write('innergroup=[\n')
  4591. +        level += 1
  4592. +        for innergroup in self.innergroup:
  4593. +            showIndent(outfile, level)
  4594. +            outfile.write('model_.innergroup(\n')
  4595. +            innergroup.exportLiteral(outfile, level, name_='innergroup')
  4596. +            showIndent(outfile, level)
  4597. +            outfile.write('),\n')
  4598. +        level -= 1
  4599. +        showIndent(outfile, level)
  4600. +        outfile.write('],\n')
  4601. +        if self.templateparamlist:
  4602. +            showIndent(outfile, level)
  4603. +            outfile.write('templateparamlist=model_.templateparamlistType(\n')
  4604. +            self.templateparamlist.exportLiteral(outfile, level, name_='templateparamlist')
  4605. +            showIndent(outfile, level)
  4606. +            outfile.write('),\n')
  4607. +        showIndent(outfile, level)
  4608. +        outfile.write('sectiondef=[\n')
  4609. +        level += 1
  4610. +        for sectiondef in self.sectiondef:
  4611. +            showIndent(outfile, level)
  4612. +            outfile.write('model_.sectiondef(\n')
  4613. +            sectiondef.exportLiteral(outfile, level, name_='sectiondef')
  4614. +            showIndent(outfile, level)
  4615. +            outfile.write('),\n')
  4616. +        level -= 1
  4617. +        showIndent(outfile, level)
  4618. +        outfile.write('],\n')
  4619. +        if self.briefdescription:
  4620. +            showIndent(outfile, level)
  4621. +            outfile.write('briefdescription=model_.descriptionType(\n')
  4622. +            self.briefdescription.exportLiteral(outfile, level, name_='briefdescription')
  4623. +            showIndent(outfile, level)
  4624. +            outfile.write('),\n')
  4625. +        if self.detaileddescription:
  4626. +            showIndent(outfile, level)
  4627. +            outfile.write('detaileddescription=model_.descriptionType(\n')
  4628. +            self.detaileddescription.exportLiteral(outfile, level, name_='detaileddescription')
  4629. +            showIndent(outfile, level)
  4630. +            outfile.write('),\n')
  4631. +        if self.inheritancegraph:
  4632. +            showIndent(outfile, level)
  4633. +            outfile.write('inheritancegraph=model_.graphType(\n')
  4634. +            self.inheritancegraph.exportLiteral(outfile, level, name_='inheritancegraph')
  4635. +            showIndent(outfile, level)
  4636. +            outfile.write('),\n')
  4637. +        if self.collaborationgraph:
  4638. +            showIndent(outfile, level)
  4639. +            outfile.write('collaborationgraph=model_.graphType(\n')
  4640. +            self.collaborationgraph.exportLiteral(outfile, level, name_='collaborationgraph')
  4641. +            showIndent(outfile, level)
  4642. +            outfile.write('),\n')
  4643. +        if self.programlisting:
  4644. +            showIndent(outfile, level)
  4645. +            outfile.write('programlisting=model_.listingType(\n')
  4646. +            self.programlisting.exportLiteral(outfile, level, name_='programlisting')
  4647. +            showIndent(outfile, level)
  4648. +            outfile.write('),\n')
  4649. +        if self.location:
  4650. +            showIndent(outfile, level)
  4651. +            outfile.write('location=model_.locationType(\n')
  4652. +            self.location.exportLiteral(outfile, level, name_='location')
  4653. +            showIndent(outfile, level)
  4654. +            outfile.write('),\n')
  4655. +        if self.listofallmembers:
  4656. +            showIndent(outfile, level)
  4657. +            outfile.write('listofallmembers=model_.listofallmembersType(\n')
  4658. +            self.listofallmembers.exportLiteral(outfile, level, name_='listofallmembers')
  4659. +            showIndent(outfile, level)
  4660. +            outfile.write('),\n')
  4661. +    def build(self, node_):
  4662. +        attrs = node_.attributes
  4663. +        self.buildAttributes(attrs)
  4664. +        for child_ in node_.childNodes:
  4665. +            nodeName_ = child_.nodeName.split(':')[-1]
  4666. +            self.buildChildren(child_, nodeName_)
  4667. +    def buildAttributes(self, attrs):
  4668. +        if attrs.get('kind'):
  4669. +            self.kind = attrs.get('kind').value
  4670. +        if attrs.get('prot'):
  4671. +            self.prot = attrs.get('prot').value
  4672. +        if attrs.get('id'):
  4673. +            self.id = attrs.get('id').value
  4674. +    def buildChildren(self, child_, nodeName_):
  4675. +        if child_.nodeType == Node.ELEMENT_NODE and \
  4676. +            nodeName_ == 'compoundname':
  4677. +            compoundname_ = ''
  4678. +            for text__content_ in child_.childNodes:
  4679. +                compoundname_ += text__content_.nodeValue
  4680. +            self.compoundname = compoundname_
  4681. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4682. +            nodeName_ == 'title':
  4683. +            obj_ = docTitleType.factory()
  4684. +            obj_.build(child_)
  4685. +            self.set_title(obj_)
  4686. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4687. +            nodeName_ == 'basecompoundref':
  4688. +            obj_ = compoundRefType.factory()
  4689. +            obj_.build(child_)
  4690. +            self.basecompoundref.append(obj_)
  4691. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4692. +            nodeName_ == 'derivedcompoundref':
  4693. +            obj_ = compoundRefType.factory()
  4694. +            obj_.build(child_)
  4695. +            self.derivedcompoundref.append(obj_)
  4696. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4697. +            nodeName_ == 'includes':
  4698. +            obj_ = incType.factory()
  4699. +            obj_.build(child_)
  4700. +            self.includes.append(obj_)
  4701. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4702. +            nodeName_ == 'includedby':
  4703. +            obj_ = incType.factory()
  4704. +            obj_.build(child_)
  4705. +            self.includedby.append(obj_)
  4706. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4707. +            nodeName_ == 'incdepgraph':
  4708. +            obj_ = graphType.factory()
  4709. +            obj_.build(child_)
  4710. +            self.set_incdepgraph(obj_)
  4711. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4712. +            nodeName_ == 'invincdepgraph':
  4713. +            obj_ = graphType.factory()
  4714. +            obj_.build(child_)
  4715. +            self.set_invincdepgraph(obj_)
  4716. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4717. +            nodeName_ == 'innerdir':
  4718. +            obj_ = refType.factory()
  4719. +            obj_.build(child_)
  4720. +            self.innerdir.append(obj_)
  4721. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4722. +            nodeName_ == 'innerfile':
  4723. +            obj_ = refType.factory()
  4724. +            obj_.build(child_)
  4725. +            self.innerfile.append(obj_)
  4726. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4727. +            nodeName_ == 'innerclass':
  4728. +            obj_ = refType.factory()
  4729. +            obj_.build(child_)
  4730. +            self.innerclass.append(obj_)
  4731. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4732. +            nodeName_ == 'innernamespace':
  4733. +            obj_ = refType.factory()
  4734. +            obj_.build(child_)
  4735. +            self.innernamespace.append(obj_)
  4736. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4737. +            nodeName_ == 'innerpage':
  4738. +            obj_ = refType.factory()
  4739. +            obj_.build(child_)
  4740. +            self.innerpage.append(obj_)
  4741. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4742. +            nodeName_ == 'innergroup':
  4743. +            obj_ = refType.factory()
  4744. +            obj_.build(child_)
  4745. +            self.innergroup.append(obj_)
  4746. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4747. +            nodeName_ == 'templateparamlist':
  4748. +            obj_ = templateparamlistType.factory()
  4749. +            obj_.build(child_)
  4750. +            self.set_templateparamlist(obj_)
  4751. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4752. +            nodeName_ == 'sectiondef':
  4753. +            obj_ = sectiondefType.factory()
  4754. +            obj_.build(child_)
  4755. +            self.sectiondef.append(obj_)
  4756. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4757. +            nodeName_ == 'briefdescription':
  4758. +            obj_ = descriptionType.factory()
  4759. +            obj_.build(child_)
  4760. +            self.set_briefdescription(obj_)
  4761. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4762. +            nodeName_ == 'detaileddescription':
  4763. +            obj_ = descriptionType.factory()
  4764. +            obj_.build(child_)
  4765. +            self.set_detaileddescription(obj_)
  4766. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4767. +            nodeName_ == 'inheritancegraph':
  4768. +            obj_ = graphType.factory()
  4769. +            obj_.build(child_)
  4770. +            self.set_inheritancegraph(obj_)
  4771. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4772. +            nodeName_ == 'collaborationgraph':
  4773. +            obj_ = graphType.factory()
  4774. +            obj_.build(child_)
  4775. +            self.set_collaborationgraph(obj_)
  4776. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4777. +            nodeName_ == 'programlisting':
  4778. +            obj_ = listingType.factory()
  4779. +            obj_.build(child_)
  4780. +            self.set_programlisting(obj_)
  4781. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4782. +            nodeName_ == 'location':
  4783. +            obj_ = locationType.factory()
  4784. +            obj_.build(child_)
  4785. +            self.set_location(obj_)
  4786. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4787. +            nodeName_ == 'listofallmembers':
  4788. +            obj_ = listofallmembersType.factory()
  4789. +            obj_.build(child_)
  4790. +            self.set_listofallmembers(obj_)
  4791. +# end class compounddefType
  4792. +
  4793. +
  4794. +class listofallmembersType(GeneratedsSuper):
  4795. +    subclass = None
  4796. +    superclass = None
  4797. +    def __init__(self, member=None):
  4798. +        if member is None:
  4799. +            self.member = []
  4800. +        else:
  4801. +            self.member = member
  4802. +    def factory(*args_, **kwargs_):
  4803. +        if listofallmembersType.subclass:
  4804. +            return listofallmembersType.subclass(*args_, **kwargs_)
  4805. +        else:
  4806. +            return listofallmembersType(*args_, **kwargs_)
  4807. +    factory = staticmethod(factory)
  4808. +    def get_member(self): return self.member
  4809. +    def set_member(self, member): self.member = member
  4810. +    def add_member(self, value): self.member.append(value)
  4811. +    def insert_member(self, index, value): self.member[index] = value
  4812. +    def export(self, outfile, level, namespace_='', name_='listofallmembersType', namespacedef_=''):
  4813. +        showIndent(outfile, level)
  4814. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  4815. +        self.exportAttributes(outfile, level, namespace_, name_='listofallmembersType')
  4816. +        if self.hasContent_():
  4817. +            outfile.write('>\n')
  4818. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  4819. +            showIndent(outfile, level)
  4820. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  4821. +        else:
  4822. +            outfile.write(' />\n')
  4823. +    def exportAttributes(self, outfile, level, namespace_='', name_='listofallmembersType'):
  4824. +        pass
  4825. +    def exportChildren(self, outfile, level, namespace_='', name_='listofallmembersType'):
  4826. +        for member_ in self.member:
  4827. +            member_.export(outfile, level, namespace_, name_='member')
  4828. +    def hasContent_(self):
  4829. +        if (
  4830. +            self.member is not None
  4831. +            ):
  4832. +            return True
  4833. +        else:
  4834. +            return False
  4835. +    def exportLiteral(self, outfile, level, name_='listofallmembersType'):
  4836. +        level += 1
  4837. +        self.exportLiteralAttributes(outfile, level, name_)
  4838. +        if self.hasContent_():
  4839. +            self.exportLiteralChildren(outfile, level, name_)
  4840. +    def exportLiteralAttributes(self, outfile, level, name_):
  4841. +        pass
  4842. +    def exportLiteralChildren(self, outfile, level, name_):
  4843. +        showIndent(outfile, level)
  4844. +        outfile.write('member=[\n')
  4845. +        level += 1
  4846. +        for member in self.member:
  4847. +            showIndent(outfile, level)
  4848. +            outfile.write('model_.member(\n')
  4849. +            member.exportLiteral(outfile, level, name_='member')
  4850. +            showIndent(outfile, level)
  4851. +            outfile.write('),\n')
  4852. +        level -= 1
  4853. +        showIndent(outfile, level)
  4854. +        outfile.write('],\n')
  4855. +    def build(self, node_):
  4856. +        attrs = node_.attributes
  4857. +        self.buildAttributes(attrs)
  4858. +        for child_ in node_.childNodes:
  4859. +            nodeName_ = child_.nodeName.split(':')[-1]
  4860. +            self.buildChildren(child_, nodeName_)
  4861. +    def buildAttributes(self, attrs):
  4862. +        pass
  4863. +    def buildChildren(self, child_, nodeName_):
  4864. +        if child_.nodeType == Node.ELEMENT_NODE and \
  4865. +            nodeName_ == 'member':
  4866. +            obj_ = memberRefType.factory()
  4867. +            obj_.build(child_)
  4868. +            self.member.append(obj_)
  4869. +# end class listofallmembersType
  4870. +
  4871. +
  4872. +class memberRefType(GeneratedsSuper):
  4873. +    subclass = None
  4874. +    superclass = None
  4875. +    def __init__(self, virt=None, prot=None, refid=None, ambiguityscope=None, scope=None, name=None):
  4876. +        self.virt = virt
  4877. +        self.prot = prot
  4878. +        self.refid = refid
  4879. +        self.ambiguityscope = ambiguityscope
  4880. +        self.scope = scope
  4881. +        self.name = name
  4882. +    def factory(*args_, **kwargs_):
  4883. +        if memberRefType.subclass:
  4884. +            return memberRefType.subclass(*args_, **kwargs_)
  4885. +        else:
  4886. +            return memberRefType(*args_, **kwargs_)
  4887. +    factory = staticmethod(factory)
  4888. +    def get_scope(self): return self.scope
  4889. +    def set_scope(self, scope): self.scope = scope
  4890. +    def get_name(self): return self.name
  4891. +    def set_name(self, name): self.name = name
  4892. +    def get_virt(self): return self.virt
  4893. +    def set_virt(self, virt): self.virt = virt
  4894. +    def get_prot(self): return self.prot
  4895. +    def set_prot(self, prot): self.prot = prot
  4896. +    def get_refid(self): return self.refid
  4897. +    def set_refid(self, refid): self.refid = refid
  4898. +    def get_ambiguityscope(self): return self.ambiguityscope
  4899. +    def set_ambiguityscope(self, ambiguityscope): self.ambiguityscope = ambiguityscope
  4900. +    def export(self, outfile, level, namespace_='', name_='memberRefType', namespacedef_=''):
  4901. +        showIndent(outfile, level)
  4902. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  4903. +        self.exportAttributes(outfile, level, namespace_, name_='memberRefType')
  4904. +        if self.hasContent_():
  4905. +            outfile.write('>\n')
  4906. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  4907. +            showIndent(outfile, level)
  4908. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  4909. +        else:
  4910. +            outfile.write(' />\n')
  4911. +    def exportAttributes(self, outfile, level, namespace_='', name_='memberRefType'):
  4912. +        if self.virt is not None:
  4913. +            outfile.write(' virt=%s' % (quote_attrib(self.virt), ))
  4914. +        if self.prot is not None:
  4915. +            outfile.write(' prot=%s' % (quote_attrib(self.prot), ))
  4916. +        if self.refid is not None:
  4917. +            outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), ))
  4918. +        if self.ambiguityscope is not None:
  4919. +            outfile.write(' ambiguityscope=%s' % (self.format_string(quote_attrib(self.ambiguityscope).encode(ExternalEncoding), input_name='ambiguityscope'), ))
  4920. +    def exportChildren(self, outfile, level, namespace_='', name_='memberRefType'):
  4921. +        if self.scope is not None:
  4922. +            showIndent(outfile, level)
  4923. +            outfile.write('<%sscope>%s</%sscope>\n' % (namespace_, self.format_string(quote_xml(self.scope).encode(ExternalEncoding), input_name='scope'), namespace_))
  4924. +        if self.name is not None:
  4925. +            showIndent(outfile, level)
  4926. +            outfile.write('<%sname>%s</%sname>\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_))
  4927. +    def hasContent_(self):
  4928. +        if (
  4929. +            self.scope is not None or
  4930. +            self.name is not None
  4931. +            ):
  4932. +            return True
  4933. +        else:
  4934. +            return False
  4935. +    def exportLiteral(self, outfile, level, name_='memberRefType'):
  4936. +        level += 1
  4937. +        self.exportLiteralAttributes(outfile, level, name_)
  4938. +        if self.hasContent_():
  4939. +            self.exportLiteralChildren(outfile, level, name_)
  4940. +    def exportLiteralAttributes(self, outfile, level, name_):
  4941. +        if self.virt is not None:
  4942. +            showIndent(outfile, level)
  4943. +            outfile.write('virt = "%s",\n' % (self.virt,))
  4944. +        if self.prot is not None:
  4945. +            showIndent(outfile, level)
  4946. +            outfile.write('prot = "%s",\n' % (self.prot,))
  4947. +        if self.refid is not None:
  4948. +            showIndent(outfile, level)
  4949. +            outfile.write('refid = %s,\n' % (self.refid,))
  4950. +        if self.ambiguityscope is not None:
  4951. +            showIndent(outfile, level)
  4952. +            outfile.write('ambiguityscope = %s,\n' % (self.ambiguityscope,))
  4953. +    def exportLiteralChildren(self, outfile, level, name_):
  4954. +        showIndent(outfile, level)
  4955. +        outfile.write('scope=%s,\n' % quote_python(self.scope).encode(ExternalEncoding))
  4956. +        showIndent(outfile, level)
  4957. +        outfile.write('name=%s,\n' % quote_python(self.name).encode(ExternalEncoding))
  4958. +    def build(self, node_):
  4959. +        attrs = node_.attributes
  4960. +        self.buildAttributes(attrs)
  4961. +        for child_ in node_.childNodes:
  4962. +            nodeName_ = child_.nodeName.split(':')[-1]
  4963. +            self.buildChildren(child_, nodeName_)
  4964. +    def buildAttributes(self, attrs):
  4965. +        if attrs.get('virt'):
  4966. +            self.virt = attrs.get('virt').value
  4967. +        if attrs.get('prot'):
  4968. +            self.prot = attrs.get('prot').value
  4969. +        if attrs.get('refid'):
  4970. +            self.refid = attrs.get('refid').value
  4971. +        if attrs.get('ambiguityscope'):
  4972. +            self.ambiguityscope = attrs.get('ambiguityscope').value
  4973. +    def buildChildren(self, child_, nodeName_):
  4974. +        if child_.nodeType == Node.ELEMENT_NODE and \
  4975. +            nodeName_ == 'scope':
  4976. +            scope_ = ''
  4977. +            for text__content_ in child_.childNodes:
  4978. +                scope_ += text__content_.nodeValue
  4979. +            self.scope = scope_
  4980. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  4981. +            nodeName_ == 'name':
  4982. +            name_ = ''
  4983. +            for text__content_ in child_.childNodes:
  4984. +                name_ += text__content_.nodeValue
  4985. +            self.name = name_
  4986. +# end class memberRefType
  4987. +
  4988. +
  4989. +class scope(GeneratedsSuper):
  4990. +    subclass = None
  4991. +    superclass = None
  4992. +    def __init__(self, valueOf_=''):
  4993. +        self.valueOf_ = valueOf_
  4994. +    def factory(*args_, **kwargs_):
  4995. +        if scope.subclass:
  4996. +            return scope.subclass(*args_, **kwargs_)
  4997. +        else:
  4998. +            return scope(*args_, **kwargs_)
  4999. +    factory = staticmethod(factory)
  5000. +    def getValueOf_(self): return self.valueOf_
  5001. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5002. +    def export(self, outfile, level, namespace_='', name_='scope', namespacedef_=''):
  5003. +        showIndent(outfile, level)
  5004. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5005. +        self.exportAttributes(outfile, level, namespace_, name_='scope')
  5006. +        if self.hasContent_():
  5007. +            outfile.write('>\n')
  5008. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  5009. +            showIndent(outfile, level)
  5010. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  5011. +        else:
  5012. +            outfile.write(' />\n')
  5013. +    def exportAttributes(self, outfile, level, namespace_='', name_='scope'):
  5014. +        pass
  5015. +    def exportChildren(self, outfile, level, namespace_='', name_='scope'):
  5016. +        if self.valueOf_.find('![CDATA')>-1:
  5017. +            value=quote_xml('%s' % self.valueOf_)
  5018. +            value=value.replace('![CDATA','<![CDATA')
  5019. +            value=value.replace(']]',']]>')
  5020. +            outfile.write(value)
  5021. +        else:
  5022. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5023. +    def hasContent_(self):
  5024. +        if (
  5025. +            self.valueOf_ is not None
  5026. +            ):
  5027. +            return True
  5028. +        else:
  5029. +            return False
  5030. +    def exportLiteral(self, outfile, level, name_='scope'):
  5031. +        level += 1
  5032. +        self.exportLiteralAttributes(outfile, level, name_)
  5033. +        if self.hasContent_():
  5034. +            self.exportLiteralChildren(outfile, level, name_)
  5035. +    def exportLiteralAttributes(self, outfile, level, name_):
  5036. +        pass
  5037. +    def exportLiteralChildren(self, outfile, level, name_):
  5038. +        showIndent(outfile, level)
  5039. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5040. +    def build(self, node_):
  5041. +        attrs = node_.attributes
  5042. +        self.buildAttributes(attrs)
  5043. +        self.valueOf_ = ''
  5044. +        for child_ in node_.childNodes:
  5045. +            nodeName_ = child_.nodeName.split(':')[-1]
  5046. +            self.buildChildren(child_, nodeName_)
  5047. +    def buildAttributes(self, attrs):
  5048. +        pass
  5049. +    def buildChildren(self, child_, nodeName_):
  5050. +        if child_.nodeType == Node.TEXT_NODE:
  5051. +            self.valueOf_ += child_.nodeValue
  5052. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5053. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5054. +# end class scope
  5055. +
  5056. +
  5057. +class name(GeneratedsSuper):
  5058. +    subclass = None
  5059. +    superclass = None
  5060. +    def __init__(self, valueOf_=''):
  5061. +        self.valueOf_ = valueOf_
  5062. +    def factory(*args_, **kwargs_):
  5063. +        if name.subclass:
  5064. +            return name.subclass(*args_, **kwargs_)
  5065. +        else:
  5066. +            return name(*args_, **kwargs_)
  5067. +    factory = staticmethod(factory)
  5068. +    def getValueOf_(self): return self.valueOf_
  5069. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5070. +    def export(self, outfile, level, namespace_='', name_='name', namespacedef_=''):
  5071. +        showIndent(outfile, level)
  5072. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5073. +        self.exportAttributes(outfile, level, namespace_, name_='name')
  5074. +        if self.hasContent_():
  5075. +            outfile.write('>\n')
  5076. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  5077. +            showIndent(outfile, level)
  5078. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  5079. +        else:
  5080. +            outfile.write(' />\n')
  5081. +    def exportAttributes(self, outfile, level, namespace_='', name_='name'):
  5082. +        pass
  5083. +    def exportChildren(self, outfile, level, namespace_='', name_='name'):
  5084. +        if self.valueOf_.find('![CDATA')>-1:
  5085. +            value=quote_xml('%s' % self.valueOf_)
  5086. +            value=value.replace('![CDATA','<![CDATA')
  5087. +            value=value.replace(']]',']]>')
  5088. +            outfile.write(value)
  5089. +        else:
  5090. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5091. +    def hasContent_(self):
  5092. +        if (
  5093. +            self.valueOf_ is not None
  5094. +            ):
  5095. +            return True
  5096. +        else:
  5097. +            return False
  5098. +    def exportLiteral(self, outfile, level, name_='name'):
  5099. +        level += 1
  5100. +        self.exportLiteralAttributes(outfile, level, name_)
  5101. +        if self.hasContent_():
  5102. +            self.exportLiteralChildren(outfile, level, name_)
  5103. +    def exportLiteralAttributes(self, outfile, level, name_):
  5104. +        pass
  5105. +    def exportLiteralChildren(self, outfile, level, name_):
  5106. +        showIndent(outfile, level)
  5107. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5108. +    def build(self, node_):
  5109. +        attrs = node_.attributes
  5110. +        self.buildAttributes(attrs)
  5111. +        self.valueOf_ = ''
  5112. +        for child_ in node_.childNodes:
  5113. +            nodeName_ = child_.nodeName.split(':')[-1]
  5114. +            self.buildChildren(child_, nodeName_)
  5115. +    def buildAttributes(self, attrs):
  5116. +        pass
  5117. +    def buildChildren(self, child_, nodeName_):
  5118. +        if child_.nodeType == Node.TEXT_NODE:
  5119. +            self.valueOf_ += child_.nodeValue
  5120. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5121. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5122. +# end class name
  5123. +
  5124. +
  5125. +class compoundRefType(GeneratedsSuper):
  5126. +    subclass = None
  5127. +    superclass = None
  5128. +    def __init__(self, virt=None, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None):
  5129. +        self.virt = virt
  5130. +        self.prot = prot
  5131. +        self.refid = refid
  5132. +        if mixedclass_ is None:
  5133. +            self.mixedclass_ = MixedContainer
  5134. +        else:
  5135. +            self.mixedclass_ = mixedclass_
  5136. +        if content_ is None:
  5137. +            self.content_ = []
  5138. +        else:
  5139. +            self.content_ = content_
  5140. +    def factory(*args_, **kwargs_):
  5141. +        if compoundRefType.subclass:
  5142. +            return compoundRefType.subclass(*args_, **kwargs_)
  5143. +        else:
  5144. +            return compoundRefType(*args_, **kwargs_)
  5145. +    factory = staticmethod(factory)
  5146. +    def get_virt(self): return self.virt
  5147. +    def set_virt(self, virt): self.virt = virt
  5148. +    def get_prot(self): return self.prot
  5149. +    def set_prot(self, prot): self.prot = prot
  5150. +    def get_refid(self): return self.refid
  5151. +    def set_refid(self, refid): self.refid = refid
  5152. +    def getValueOf_(self): return self.valueOf_
  5153. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5154. +    def export(self, outfile, level, namespace_='', name_='compoundRefType', namespacedef_=''):
  5155. +        showIndent(outfile, level)
  5156. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5157. +        self.exportAttributes(outfile, level, namespace_, name_='compoundRefType')
  5158. +        outfile.write('>')
  5159. +        self.exportChildren(outfile, level + 1, namespace_, name_)
  5160. +        outfile.write('</%s%s>\n' % (namespace_, name_))
  5161. +    def exportAttributes(self, outfile, level, namespace_='', name_='compoundRefType'):
  5162. +        if self.virt is not None:
  5163. +            outfile.write(' virt=%s' % (quote_attrib(self.virt), ))
  5164. +        if self.prot is not None:
  5165. +            outfile.write(' prot=%s' % (quote_attrib(self.prot), ))
  5166. +        if self.refid is not None:
  5167. +            outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), ))
  5168. +    def exportChildren(self, outfile, level, namespace_='', name_='compoundRefType'):
  5169. +        if self.valueOf_.find('![CDATA')>-1:
  5170. +            value=quote_xml('%s' % self.valueOf_)
  5171. +            value=value.replace('![CDATA','<![CDATA')
  5172. +            value=value.replace(']]',']]>')
  5173. +            outfile.write(value)
  5174. +        else:
  5175. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5176. +    def hasContent_(self):
  5177. +        if (
  5178. +            self.valueOf_ is not None
  5179. +            ):
  5180. +            return True
  5181. +        else:
  5182. +            return False
  5183. +    def exportLiteral(self, outfile, level, name_='compoundRefType'):
  5184. +        level += 1
  5185. +        self.exportLiteralAttributes(outfile, level, name_)
  5186. +        if self.hasContent_():
  5187. +            self.exportLiteralChildren(outfile, level, name_)
  5188. +    def exportLiteralAttributes(self, outfile, level, name_):
  5189. +        if self.virt is not None:
  5190. +            showIndent(outfile, level)
  5191. +            outfile.write('virt = "%s",\n' % (self.virt,))
  5192. +        if self.prot is not None:
  5193. +            showIndent(outfile, level)
  5194. +            outfile.write('prot = "%s",\n' % (self.prot,))
  5195. +        if self.refid is not None:
  5196. +            showIndent(outfile, level)
  5197. +            outfile.write('refid = %s,\n' % (self.refid,))
  5198. +    def exportLiteralChildren(self, outfile, level, name_):
  5199. +        showIndent(outfile, level)
  5200. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5201. +    def build(self, node_):
  5202. +        attrs = node_.attributes
  5203. +        self.buildAttributes(attrs)
  5204. +        self.valueOf_ = ''
  5205. +        for child_ in node_.childNodes:
  5206. +            nodeName_ = child_.nodeName.split(':')[-1]
  5207. +            self.buildChildren(child_, nodeName_)
  5208. +    def buildAttributes(self, attrs):
  5209. +        if attrs.get('virt'):
  5210. +            self.virt = attrs.get('virt').value
  5211. +        if attrs.get('prot'):
  5212. +            self.prot = attrs.get('prot').value
  5213. +        if attrs.get('refid'):
  5214. +            self.refid = attrs.get('refid').value
  5215. +    def buildChildren(self, child_, nodeName_):
  5216. +        if child_.nodeType == Node.TEXT_NODE:
  5217. +            obj_ = self.mixedclass_(MixedContainer.CategoryText,
  5218. +                MixedContainer.TypeNone, '', child_.nodeValue)
  5219. +            self.content_.append(obj_)
  5220. +        if child_.nodeType == Node.TEXT_NODE:
  5221. +            self.valueOf_ += child_.nodeValue
  5222. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5223. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5224. +# end class compoundRefType
  5225. +
  5226. +
  5227. +class reimplementType(GeneratedsSuper):
  5228. +    subclass = None
  5229. +    superclass = None
  5230. +    def __init__(self, refid=None, valueOf_='', mixedclass_=None, content_=None):
  5231. +        self.refid = refid
  5232. +        if mixedclass_ is None:
  5233. +            self.mixedclass_ = MixedContainer
  5234. +        else:
  5235. +            self.mixedclass_ = mixedclass_
  5236. +        if content_ is None:
  5237. +            self.content_ = []
  5238. +        else:
  5239. +            self.content_ = content_
  5240. +    def factory(*args_, **kwargs_):
  5241. +        if reimplementType.subclass:
  5242. +            return reimplementType.subclass(*args_, **kwargs_)
  5243. +        else:
  5244. +            return reimplementType(*args_, **kwargs_)
  5245. +    factory = staticmethod(factory)
  5246. +    def get_refid(self): return self.refid
  5247. +    def set_refid(self, refid): self.refid = refid
  5248. +    def getValueOf_(self): return self.valueOf_
  5249. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5250. +    def export(self, outfile, level, namespace_='', name_='reimplementType', namespacedef_=''):
  5251. +        showIndent(outfile, level)
  5252. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5253. +        self.exportAttributes(outfile, level, namespace_, name_='reimplementType')
  5254. +        outfile.write('>')
  5255. +        self.exportChildren(outfile, level + 1, namespace_, name_)
  5256. +        outfile.write('</%s%s>\n' % (namespace_, name_))
  5257. +    def exportAttributes(self, outfile, level, namespace_='', name_='reimplementType'):
  5258. +        if self.refid is not None:
  5259. +            outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), ))
  5260. +    def exportChildren(self, outfile, level, namespace_='', name_='reimplementType'):
  5261. +        if self.valueOf_.find('![CDATA')>-1:
  5262. +            value=quote_xml('%s' % self.valueOf_)
  5263. +            value=value.replace('![CDATA','<![CDATA')
  5264. +            value=value.replace(']]',']]>')
  5265. +            outfile.write(value)
  5266. +        else:
  5267. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5268. +    def hasContent_(self):
  5269. +        if (
  5270. +            self.valueOf_ is not None
  5271. +            ):
  5272. +            return True
  5273. +        else:
  5274. +            return False
  5275. +    def exportLiteral(self, outfile, level, name_='reimplementType'):
  5276. +        level += 1
  5277. +        self.exportLiteralAttributes(outfile, level, name_)
  5278. +        if self.hasContent_():
  5279. +            self.exportLiteralChildren(outfile, level, name_)
  5280. +    def exportLiteralAttributes(self, outfile, level, name_):
  5281. +        if self.refid is not None:
  5282. +            showIndent(outfile, level)
  5283. +            outfile.write('refid = %s,\n' % (self.refid,))
  5284. +    def exportLiteralChildren(self, outfile, level, name_):
  5285. +        showIndent(outfile, level)
  5286. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5287. +    def build(self, node_):
  5288. +        attrs = node_.attributes
  5289. +        self.buildAttributes(attrs)
  5290. +        self.valueOf_ = ''
  5291. +        for child_ in node_.childNodes:
  5292. +            nodeName_ = child_.nodeName.split(':')[-1]
  5293. +            self.buildChildren(child_, nodeName_)
  5294. +    def buildAttributes(self, attrs):
  5295. +        if attrs.get('refid'):
  5296. +            self.refid = attrs.get('refid').value
  5297. +    def buildChildren(self, child_, nodeName_):
  5298. +        if child_.nodeType == Node.TEXT_NODE:
  5299. +            obj_ = self.mixedclass_(MixedContainer.CategoryText,
  5300. +                MixedContainer.TypeNone, '', child_.nodeValue)
  5301. +            self.content_.append(obj_)
  5302. +        if child_.nodeType == Node.TEXT_NODE:
  5303. +            self.valueOf_ += child_.nodeValue
  5304. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5305. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5306. +# end class reimplementType
  5307. +
  5308. +
  5309. +class incType(GeneratedsSuper):
  5310. +    subclass = None
  5311. +    superclass = None
  5312. +    def __init__(self, local=None, refid=None, valueOf_='', mixedclass_=None, content_=None):
  5313. +        self.local = local
  5314. +        self.refid = refid
  5315. +        if mixedclass_ is None:
  5316. +            self.mixedclass_ = MixedContainer
  5317. +        else:
  5318. +            self.mixedclass_ = mixedclass_
  5319. +        if content_ is None:
  5320. +            self.content_ = []
  5321. +        else:
  5322. +            self.content_ = content_
  5323. +    def factory(*args_, **kwargs_):
  5324. +        if incType.subclass:
  5325. +            return incType.subclass(*args_, **kwargs_)
  5326. +        else:
  5327. +            return incType(*args_, **kwargs_)
  5328. +    factory = staticmethod(factory)
  5329. +    def get_local(self): return self.local
  5330. +    def set_local(self, local): self.local = local
  5331. +    def get_refid(self): return self.refid
  5332. +    def set_refid(self, refid): self.refid = refid
  5333. +    def getValueOf_(self): return self.valueOf_
  5334. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5335. +    def export(self, outfile, level, namespace_='', name_='incType', namespacedef_=''):
  5336. +        showIndent(outfile, level)
  5337. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5338. +        self.exportAttributes(outfile, level, namespace_, name_='incType')
  5339. +        outfile.write('>')
  5340. +        self.exportChildren(outfile, level + 1, namespace_, name_)
  5341. +        outfile.write('</%s%s>\n' % (namespace_, name_))
  5342. +    def exportAttributes(self, outfile, level, namespace_='', name_='incType'):
  5343. +        if self.local is not None:
  5344. +            outfile.write(' local=%s' % (quote_attrib(self.local), ))
  5345. +        if self.refid is not None:
  5346. +            outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), ))
  5347. +    def exportChildren(self, outfile, level, namespace_='', name_='incType'):
  5348. +        if self.valueOf_.find('![CDATA')>-1:
  5349. +            value=quote_xml('%s' % self.valueOf_)
  5350. +            value=value.replace('![CDATA','<![CDATA')
  5351. +            value=value.replace(']]',']]>')
  5352. +            outfile.write(value)
  5353. +        else:
  5354. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5355. +    def hasContent_(self):
  5356. +        if (
  5357. +            self.valueOf_ is not None
  5358. +            ):
  5359. +            return True
  5360. +        else:
  5361. +            return False
  5362. +    def exportLiteral(self, outfile, level, name_='incType'):
  5363. +        level += 1
  5364. +        self.exportLiteralAttributes(outfile, level, name_)
  5365. +        if self.hasContent_():
  5366. +            self.exportLiteralChildren(outfile, level, name_)
  5367. +    def exportLiteralAttributes(self, outfile, level, name_):
  5368. +        if self.local is not None:
  5369. +            showIndent(outfile, level)
  5370. +            outfile.write('local = "%s",\n' % (self.local,))
  5371. +        if self.refid is not None:
  5372. +            showIndent(outfile, level)
  5373. +            outfile.write('refid = %s,\n' % (self.refid,))
  5374. +    def exportLiteralChildren(self, outfile, level, name_):
  5375. +        showIndent(outfile, level)
  5376. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5377. +    def build(self, node_):
  5378. +        attrs = node_.attributes
  5379. +        self.buildAttributes(attrs)
  5380. +        self.valueOf_ = ''
  5381. +        for child_ in node_.childNodes:
  5382. +            nodeName_ = child_.nodeName.split(':')[-1]
  5383. +            self.buildChildren(child_, nodeName_)
  5384. +    def buildAttributes(self, attrs):
  5385. +        if attrs.get('local'):
  5386. +            self.local = attrs.get('local').value
  5387. +        if attrs.get('refid'):
  5388. +            self.refid = attrs.get('refid').value
  5389. +    def buildChildren(self, child_, nodeName_):
  5390. +        if child_.nodeType == Node.TEXT_NODE:
  5391. +            obj_ = self.mixedclass_(MixedContainer.CategoryText,
  5392. +                MixedContainer.TypeNone, '', child_.nodeValue)
  5393. +            self.content_.append(obj_)
  5394. +        if child_.nodeType == Node.TEXT_NODE:
  5395. +            self.valueOf_ += child_.nodeValue
  5396. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5397. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5398. +# end class incType
  5399. +
  5400. +
  5401. +class refType(GeneratedsSuper):
  5402. +    subclass = None
  5403. +    superclass = None
  5404. +    def __init__(self, prot=None, refid=None, valueOf_='', mixedclass_=None, content_=None):
  5405. +        self.prot = prot
  5406. +        self.refid = refid
  5407. +        if mixedclass_ is None:
  5408. +            self.mixedclass_ = MixedContainer
  5409. +        else:
  5410. +            self.mixedclass_ = mixedclass_
  5411. +        if content_ is None:
  5412. +            self.content_ = []
  5413. +        else:
  5414. +            self.content_ = content_
  5415. +    def factory(*args_, **kwargs_):
  5416. +        if refType.subclass:
  5417. +            return refType.subclass(*args_, **kwargs_)
  5418. +        else:
  5419. +            return refType(*args_, **kwargs_)
  5420. +    factory = staticmethod(factory)
  5421. +    def get_prot(self): return self.prot
  5422. +    def set_prot(self, prot): self.prot = prot
  5423. +    def get_refid(self): return self.refid
  5424. +    def set_refid(self, refid): self.refid = refid
  5425. +    def getValueOf_(self): return self.valueOf_
  5426. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5427. +    def export(self, outfile, level, namespace_='', name_='refType', namespacedef_=''):
  5428. +        showIndent(outfile, level)
  5429. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5430. +        self.exportAttributes(outfile, level, namespace_, name_='refType')
  5431. +        outfile.write('>')
  5432. +        self.exportChildren(outfile, level + 1, namespace_, name_)
  5433. +        outfile.write('</%s%s>\n' % (namespace_, name_))
  5434. +    def exportAttributes(self, outfile, level, namespace_='', name_='refType'):
  5435. +        if self.prot is not None:
  5436. +            outfile.write(' prot=%s' % (quote_attrib(self.prot), ))
  5437. +        if self.refid is not None:
  5438. +            outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), ))
  5439. +    def exportChildren(self, outfile, level, namespace_='', name_='refType'):
  5440. +        if self.valueOf_.find('![CDATA')>-1:
  5441. +            value=quote_xml('%s' % self.valueOf_)
  5442. +            value=value.replace('![CDATA','<![CDATA')
  5443. +            value=value.replace(']]',']]>')
  5444. +            outfile.write(value)
  5445. +        else:
  5446. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5447. +    def hasContent_(self):
  5448. +        if (
  5449. +            self.valueOf_ is not None
  5450. +            ):
  5451. +            return True
  5452. +        else:
  5453. +            return False
  5454. +    def exportLiteral(self, outfile, level, name_='refType'):
  5455. +        level += 1
  5456. +        self.exportLiteralAttributes(outfile, level, name_)
  5457. +        if self.hasContent_():
  5458. +            self.exportLiteralChildren(outfile, level, name_)
  5459. +    def exportLiteralAttributes(self, outfile, level, name_):
  5460. +        if self.prot is not None:
  5461. +            showIndent(outfile, level)
  5462. +            outfile.write('prot = "%s",\n' % (self.prot,))
  5463. +        if self.refid is not None:
  5464. +            showIndent(outfile, level)
  5465. +            outfile.write('refid = %s,\n' % (self.refid,))
  5466. +    def exportLiteralChildren(self, outfile, level, name_):
  5467. +        showIndent(outfile, level)
  5468. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5469. +    def build(self, node_):
  5470. +        attrs = node_.attributes
  5471. +        self.buildAttributes(attrs)
  5472. +        self.valueOf_ = ''
  5473. +        for child_ in node_.childNodes:
  5474. +            nodeName_ = child_.nodeName.split(':')[-1]
  5475. +            self.buildChildren(child_, nodeName_)
  5476. +    def buildAttributes(self, attrs):
  5477. +        if attrs.get('prot'):
  5478. +            self.prot = attrs.get('prot').value
  5479. +        if attrs.get('refid'):
  5480. +            self.refid = attrs.get('refid').value
  5481. +    def buildChildren(self, child_, nodeName_):
  5482. +        if child_.nodeType == Node.TEXT_NODE:
  5483. +            obj_ = self.mixedclass_(MixedContainer.CategoryText,
  5484. +                MixedContainer.TypeNone, '', child_.nodeValue)
  5485. +            self.content_.append(obj_)
  5486. +        if child_.nodeType == Node.TEXT_NODE:
  5487. +            self.valueOf_ += child_.nodeValue
  5488. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5489. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5490. +# end class refType
  5491. +
  5492. +
  5493. +class refTextType(GeneratedsSuper):
  5494. +    subclass = None
  5495. +    superclass = None
  5496. +    def __init__(self, refid=None, kindref=None, external=None, valueOf_='', mixedclass_=None, content_=None):
  5497. +        self.refid = refid
  5498. +        self.kindref = kindref
  5499. +        self.external = external
  5500. +        if mixedclass_ is None:
  5501. +            self.mixedclass_ = MixedContainer
  5502. +        else:
  5503. +            self.mixedclass_ = mixedclass_
  5504. +        if content_ is None:
  5505. +            self.content_ = []
  5506. +        else:
  5507. +            self.content_ = content_
  5508. +    def factory(*args_, **kwargs_):
  5509. +        if refTextType.subclass:
  5510. +            return refTextType.subclass(*args_, **kwargs_)
  5511. +        else:
  5512. +            return refTextType(*args_, **kwargs_)
  5513. +    factory = staticmethod(factory)
  5514. +    def get_refid(self): return self.refid
  5515. +    def set_refid(self, refid): self.refid = refid
  5516. +    def get_kindref(self): return self.kindref
  5517. +    def set_kindref(self, kindref): self.kindref = kindref
  5518. +    def get_external(self): return self.external
  5519. +    def set_external(self, external): self.external = external
  5520. +    def getValueOf_(self): return self.valueOf_
  5521. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  5522. +    def export(self, outfile, level, namespace_='', name_='refTextType', namespacedef_=''):
  5523. +        showIndent(outfile, level)
  5524. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5525. +        self.exportAttributes(outfile, level, namespace_, name_='refTextType')
  5526. +        outfile.write('>')
  5527. +        self.exportChildren(outfile, level + 1, namespace_, name_)
  5528. +        outfile.write('</%s%s>\n' % (namespace_, name_))
  5529. +    def exportAttributes(self, outfile, level, namespace_='', name_='refTextType'):
  5530. +        if self.refid is not None:
  5531. +            outfile.write(' refid=%s' % (self.format_string(quote_attrib(self.refid).encode(ExternalEncoding), input_name='refid'), ))
  5532. +        if self.kindref is not None:
  5533. +            outfile.write(' kindref=%s' % (quote_attrib(self.kindref), ))
  5534. +        if self.external is not None:
  5535. +            outfile.write(' external=%s' % (self.format_string(quote_attrib(self.external).encode(ExternalEncoding), input_name='external'), ))
  5536. +    def exportChildren(self, outfile, level, namespace_='', name_='refTextType'):
  5537. +        if self.valueOf_.find('![CDATA')>-1:
  5538. +            value=quote_xml('%s' % self.valueOf_)
  5539. +            value=value.replace('![CDATA','<![CDATA')
  5540. +            value=value.replace(']]',']]>')
  5541. +            outfile.write(value)
  5542. +        else:
  5543. +            outfile.write(quote_xml('%s' % self.valueOf_))
  5544. +    def hasContent_(self):
  5545. +        if (
  5546. +            self.valueOf_ is not None
  5547. +            ):
  5548. +            return True
  5549. +        else:
  5550. +            return False
  5551. +    def exportLiteral(self, outfile, level, name_='refTextType'):
  5552. +        level += 1
  5553. +        self.exportLiteralAttributes(outfile, level, name_)
  5554. +        if self.hasContent_():
  5555. +            self.exportLiteralChildren(outfile, level, name_)
  5556. +    def exportLiteralAttributes(self, outfile, level, name_):
  5557. +        if self.refid is not None:
  5558. +            showIndent(outfile, level)
  5559. +            outfile.write('refid = %s,\n' % (self.refid,))
  5560. +        if self.kindref is not None:
  5561. +            showIndent(outfile, level)
  5562. +            outfile.write('kindref = "%s",\n' % (self.kindref,))
  5563. +        if self.external is not None:
  5564. +            showIndent(outfile, level)
  5565. +            outfile.write('external = %s,\n' % (self.external,))
  5566. +    def exportLiteralChildren(self, outfile, level, name_):
  5567. +        showIndent(outfile, level)
  5568. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  5569. +    def build(self, node_):
  5570. +        attrs = node_.attributes
  5571. +        self.buildAttributes(attrs)
  5572. +        self.valueOf_ = ''
  5573. +        for child_ in node_.childNodes:
  5574. +            nodeName_ = child_.nodeName.split(':')[-1]
  5575. +            self.buildChildren(child_, nodeName_)
  5576. +    def buildAttributes(self, attrs):
  5577. +        if attrs.get('refid'):
  5578. +            self.refid = attrs.get('refid').value
  5579. +        if attrs.get('kindref'):
  5580. +            self.kindref = attrs.get('kindref').value
  5581. +        if attrs.get('external'):
  5582. +            self.external = attrs.get('external').value
  5583. +    def buildChildren(self, child_, nodeName_):
  5584. +        if child_.nodeType == Node.TEXT_NODE:
  5585. +            obj_ = self.mixedclass_(MixedContainer.CategoryText,
  5586. +                MixedContainer.TypeNone, '', child_.nodeValue)
  5587. +            self.content_.append(obj_)
  5588. +        if child_.nodeType == Node.TEXT_NODE:
  5589. +            self.valueOf_ += child_.nodeValue
  5590. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  5591. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  5592. +# end class refTextType
  5593. +
  5594. +
  5595. +class sectiondefType(GeneratedsSuper):
  5596. +    subclass = None
  5597. +    superclass = None
  5598. +    def __init__(self, kind=None, header=None, description=None, memberdef=None):
  5599. +        self.kind = kind
  5600. +        self.header = header
  5601. +        self.description = description
  5602. +        if memberdef is None:
  5603. +            self.memberdef = []
  5604. +        else:
  5605. +            self.memberdef = memberdef
  5606. +    def factory(*args_, **kwargs_):
  5607. +        if sectiondefType.subclass:
  5608. +            return sectiondefType.subclass(*args_, **kwargs_)
  5609. +        else:
  5610. +            return sectiondefType(*args_, **kwargs_)
  5611. +    factory = staticmethod(factory)
  5612. +    def get_header(self): return self.header
  5613. +    def set_header(self, header): self.header = header
  5614. +    def get_description(self): return self.description
  5615. +    def set_description(self, description): self.description = description
  5616. +    def get_memberdef(self): return self.memberdef
  5617. +    def set_memberdef(self, memberdef): self.memberdef = memberdef
  5618. +    def add_memberdef(self, value): self.memberdef.append(value)
  5619. +    def insert_memberdef(self, index, value): self.memberdef[index] = value
  5620. +    def get_kind(self): return self.kind
  5621. +    def set_kind(self, kind): self.kind = kind
  5622. +    def export(self, outfile, level, namespace_='', name_='sectiondefType', namespacedef_=''):
  5623. +        showIndent(outfile, level)
  5624. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5625. +        self.exportAttributes(outfile, level, namespace_, name_='sectiondefType')
  5626. +        if self.hasContent_():
  5627. +            outfile.write('>\n')
  5628. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  5629. +            showIndent(outfile, level)
  5630. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  5631. +        else:
  5632. +            outfile.write(' />\n')
  5633. +    def exportAttributes(self, outfile, level, namespace_='', name_='sectiondefType'):
  5634. +        if self.kind is not None:
  5635. +            outfile.write(' kind=%s' % (quote_attrib(self.kind), ))
  5636. +    def exportChildren(self, outfile, level, namespace_='', name_='sectiondefType'):
  5637. +        if self.header is not None:
  5638. +            showIndent(outfile, level)
  5639. +            outfile.write('<%sheader>%s</%sheader>\n' % (namespace_, self.format_string(quote_xml(self.header).encode(ExternalEncoding), input_name='header'), namespace_))
  5640. +        if self.description:
  5641. +            self.description.export(outfile, level, namespace_, name_='description')
  5642. +        for memberdef_ in self.memberdef:
  5643. +            memberdef_.export(outfile, level, namespace_, name_='memberdef')
  5644. +    def hasContent_(self):
  5645. +        if (
  5646. +            self.header is not None or
  5647. +            self.description is not None or
  5648. +            self.memberdef is not None
  5649. +            ):
  5650. +            return True
  5651. +        else:
  5652. +            return False
  5653. +    def exportLiteral(self, outfile, level, name_='sectiondefType'):
  5654. +        level += 1
  5655. +        self.exportLiteralAttributes(outfile, level, name_)
  5656. +        if self.hasContent_():
  5657. +            self.exportLiteralChildren(outfile, level, name_)
  5658. +    def exportLiteralAttributes(self, outfile, level, name_):
  5659. +        if self.kind is not None:
  5660. +            showIndent(outfile, level)
  5661. +            outfile.write('kind = "%s",\n' % (self.kind,))
  5662. +    def exportLiteralChildren(self, outfile, level, name_):
  5663. +        showIndent(outfile, level)
  5664. +        outfile.write('header=%s,\n' % quote_python(self.header).encode(ExternalEncoding))
  5665. +        if self.description:
  5666. +            showIndent(outfile, level)
  5667. +            outfile.write('description=model_.descriptionType(\n')
  5668. +            self.description.exportLiteral(outfile, level, name_='description')
  5669. +            showIndent(outfile, level)
  5670. +            outfile.write('),\n')
  5671. +        showIndent(outfile, level)
  5672. +        outfile.write('memberdef=[\n')
  5673. +        level += 1
  5674. +        for memberdef in self.memberdef:
  5675. +            showIndent(outfile, level)
  5676. +            outfile.write('model_.memberdef(\n')
  5677. +            memberdef.exportLiteral(outfile, level, name_='memberdef')
  5678. +            showIndent(outfile, level)
  5679. +            outfile.write('),\n')
  5680. +        level -= 1
  5681. +        showIndent(outfile, level)
  5682. +        outfile.write('],\n')
  5683. +    def build(self, node_):
  5684. +        attrs = node_.attributes
  5685. +        self.buildAttributes(attrs)
  5686. +        for child_ in node_.childNodes:
  5687. +            nodeName_ = child_.nodeName.split(':')[-1]
  5688. +            self.buildChildren(child_, nodeName_)
  5689. +    def buildAttributes(self, attrs):
  5690. +        if attrs.get('kind'):
  5691. +            self.kind = attrs.get('kind').value
  5692. +    def buildChildren(self, child_, nodeName_):
  5693. +        if child_.nodeType == Node.ELEMENT_NODE and \
  5694. +            nodeName_ == 'header':
  5695. +            header_ = ''
  5696. +            for text__content_ in child_.childNodes:
  5697. +                header_ += text__content_.nodeValue
  5698. +            self.header = header_
  5699. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  5700. +            nodeName_ == 'description':
  5701. +            obj_ = descriptionType.factory()
  5702. +            obj_.build(child_)
  5703. +            self.set_description(obj_)
  5704. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  5705. +            nodeName_ == 'memberdef':
  5706. +            obj_ = memberdefType.factory()
  5707. +            obj_.build(child_)
  5708. +            self.memberdef.append(obj_)
  5709. +# end class sectiondefType
  5710. +
  5711. +
  5712. +class memberdefType(GeneratedsSuper):
  5713. +    subclass = None
  5714. +    superclass = None
  5715. +    def __init__(self, initonly=None, kind=None, volatile=None, const=None, raisexx=None, virt=None, readable=None, prot=None, explicit=None, new=None, final=None, writable=None, add=None, static=None, remove=None, sealed=None, mutable=None, gettable=None, inline=None, settable=None, id=None, templateparamlist=None, type_=None, definition=None, argsstring=None, name=None, read=None, write=None, bitfield=None, reimplements=None, reimplementedby=None, param=None, enumvalue=None, initializer=None, exceptions=None, briefdescription=None, detaileddescription=None, inbodydescription=None, location=None, references=None, referencedby=None):
  5716. +        self.initonly = initonly
  5717. +        self.kind = kind
  5718. +        self.volatile = volatile
  5719. +        self.const = const
  5720. +        self.raisexx = raisexx
  5721. +        self.virt = virt
  5722. +        self.readable = readable
  5723. +        self.prot = prot
  5724. +        self.explicit = explicit
  5725. +        self.new = new
  5726. +        self.final = final
  5727. +        self.writable = writable
  5728. +        self.add = add
  5729. +        self.static = static
  5730. +        self.remove = remove
  5731. +        self.sealed = sealed
  5732. +        self.mutable = mutable
  5733. +        self.gettable = gettable
  5734. +        self.inline = inline
  5735. +        self.settable = settable
  5736. +        self.id = id
  5737. +        self.templateparamlist = templateparamlist
  5738. +        self.type_ = type_
  5739. +        self.definition = definition
  5740. +        self.argsstring = argsstring
  5741. +        self.name = name
  5742. +        self.read = read
  5743. +        self.write = write
  5744. +        self.bitfield = bitfield
  5745. +        if reimplements is None:
  5746. +            self.reimplements = []
  5747. +        else:
  5748. +            self.reimplements = reimplements
  5749. +        if reimplementedby is None:
  5750. +            self.reimplementedby = []
  5751. +        else:
  5752. +            self.reimplementedby = reimplementedby
  5753. +        if param is None:
  5754. +            self.param = []
  5755. +        else:
  5756. +            self.param = param
  5757. +        if enumvalue is None:
  5758. +            self.enumvalue = []
  5759. +        else:
  5760. +            self.enumvalue = enumvalue
  5761. +        self.initializer = initializer
  5762. +        self.exceptions = exceptions
  5763. +        self.briefdescription = briefdescription
  5764. +        self.detaileddescription = detaileddescription
  5765. +        self.inbodydescription = inbodydescription
  5766. +        self.location = location
  5767. +        if references is None:
  5768. +            self.references = []
  5769. +        else:
  5770. +            self.references = references
  5771. +        if referencedby is None:
  5772. +            self.referencedby = []
  5773. +        else:
  5774. +            self.referencedby = referencedby
  5775. +    def factory(*args_, **kwargs_):
  5776. +        if memberdefType.subclass:
  5777. +            return memberdefType.subclass(*args_, **kwargs_)
  5778. +        else:
  5779. +            return memberdefType(*args_, **kwargs_)
  5780. +    factory = staticmethod(factory)
  5781. +    def get_templateparamlist(self): return self.templateparamlist
  5782. +    def set_templateparamlist(self, templateparamlist): self.templateparamlist = templateparamlist
  5783. +    def get_type(self): return self.type_
  5784. +    def set_type(self, type_): self.type_ = type_
  5785. +    def get_definition(self): return self.definition
  5786. +    def set_definition(self, definition): self.definition = definition
  5787. +    def get_argsstring(self): return self.argsstring
  5788. +    def set_argsstring(self, argsstring): self.argsstring = argsstring
  5789. +    def get_name(self): return self.name
  5790. +    def set_name(self, name): self.name = name
  5791. +    def get_read(self): return self.read
  5792. +    def set_read(self, read): self.read = read
  5793. +    def get_write(self): return self.write
  5794. +    def set_write(self, write): self.write = write
  5795. +    def get_bitfield(self): return self.bitfield
  5796. +    def set_bitfield(self, bitfield): self.bitfield = bitfield
  5797. +    def get_reimplements(self): return self.reimplements
  5798. +    def set_reimplements(self, reimplements): self.reimplements = reimplements
  5799. +    def add_reimplements(self, value): self.reimplements.append(value)
  5800. +    def insert_reimplements(self, index, value): self.reimplements[index] = value
  5801. +    def get_reimplementedby(self): return self.reimplementedby
  5802. +    def set_reimplementedby(self, reimplementedby): self.reimplementedby = reimplementedby
  5803. +    def add_reimplementedby(self, value): self.reimplementedby.append(value)
  5804. +    def insert_reimplementedby(self, index, value): self.reimplementedby[index] = value
  5805. +    def get_param(self): return self.param
  5806. +    def set_param(self, param): self.param = param
  5807. +    def add_param(self, value): self.param.append(value)
  5808. +    def insert_param(self, index, value): self.param[index] = value
  5809. +    def get_enumvalue(self): return self.enumvalue
  5810. +    def set_enumvalue(self, enumvalue): self.enumvalue = enumvalue
  5811. +    def add_enumvalue(self, value): self.enumvalue.append(value)
  5812. +    def insert_enumvalue(self, index, value): self.enumvalue[index] = value
  5813. +    def get_initializer(self): return self.initializer
  5814. +    def set_initializer(self, initializer): self.initializer = initializer
  5815. +    def get_exceptions(self): return self.exceptions
  5816. +    def set_exceptions(self, exceptions): self.exceptions = exceptions
  5817. +    def get_briefdescription(self): return self.briefdescription
  5818. +    def set_briefdescription(self, briefdescription): self.briefdescription = briefdescription
  5819. +    def get_detaileddescription(self): return self.detaileddescription
  5820. +    def set_detaileddescription(self, detaileddescription): self.detaileddescription = detaileddescription
  5821. +    def get_inbodydescription(self): return self.inbodydescription
  5822. +    def set_inbodydescription(self, inbodydescription): self.inbodydescription = inbodydescription
  5823. +    def get_location(self): return self.location
  5824. +    def set_location(self, location): self.location = location
  5825. +    def get_references(self): return self.references
  5826. +    def set_references(self, references): self.references = references
  5827. +    def add_references(self, value): self.references.append(value)
  5828. +    def insert_references(self, index, value): self.references[index] = value
  5829. +    def get_referencedby(self): return self.referencedby
  5830. +    def set_referencedby(self, referencedby): self.referencedby = referencedby
  5831. +    def add_referencedby(self, value): self.referencedby.append(value)
  5832. +    def insert_referencedby(self, index, value): self.referencedby[index] = value
  5833. +    def get_initonly(self): return self.initonly
  5834. +    def set_initonly(self, initonly): self.initonly = initonly
  5835. +    def get_kind(self): return self.kind
  5836. +    def set_kind(self, kind): self.kind = kind
  5837. +    def get_volatile(self): return self.volatile
  5838. +    def set_volatile(self, volatile): self.volatile = volatile
  5839. +    def get_const(self): return self.const
  5840. +    def set_const(self, const): self.const = const
  5841. +    def get_raise(self): return self.raisexx
  5842. +    def set_raise(self, raisexx): self.raisexx = raisexx
  5843. +    def get_virt(self): return self.virt
  5844. +    def set_virt(self, virt): self.virt = virt
  5845. +    def get_readable(self): return self.readable
  5846. +    def set_readable(self, readable): self.readable = readable
  5847. +    def get_prot(self): return self.prot
  5848. +    def set_prot(self, prot): self.prot = prot
  5849. +    def get_explicit(self): return self.explicit
  5850. +    def set_explicit(self, explicit): self.explicit = explicit
  5851. +    def get_new(self): return self.new
  5852. +    def set_new(self, new): self.new = new
  5853. +    def get_final(self): return self.final
  5854. +    def set_final(self, final): self.final = final
  5855. +    def get_writable(self): return self.writable
  5856. +    def set_writable(self, writable): self.writable = writable
  5857. +    def get_add(self): return self.add
  5858. +    def set_add(self, add): self.add = add
  5859. +    def get_static(self): return self.static
  5860. +    def set_static(self, static): self.static = static
  5861. +    def get_remove(self): return self.remove
  5862. +    def set_remove(self, remove): self.remove = remove
  5863. +    def get_sealed(self): return self.sealed
  5864. +    def set_sealed(self, sealed): self.sealed = sealed
  5865. +    def get_mutable(self): return self.mutable
  5866. +    def set_mutable(self, mutable): self.mutable = mutable
  5867. +    def get_gettable(self): return self.gettable
  5868. +    def set_gettable(self, gettable): self.gettable = gettable
  5869. +    def get_inline(self): return self.inline
  5870. +    def set_inline(self, inline): self.inline = inline
  5871. +    def get_settable(self): return self.settable
  5872. +    def set_settable(self, settable): self.settable = settable
  5873. +    def get_id(self): return self.id
  5874. +    def set_id(self, id): self.id = id
  5875. +    def export(self, outfile, level, namespace_='', name_='memberdefType', namespacedef_=''):
  5876. +        showIndent(outfile, level)
  5877. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  5878. +        self.exportAttributes(outfile, level, namespace_, name_='memberdefType')
  5879. +        if self.hasContent_():
  5880. +            outfile.write('>\n')
  5881. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  5882. +            showIndent(outfile, level)
  5883. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  5884. +        else:
  5885. +            outfile.write(' />\n')
  5886. +    def exportAttributes(self, outfile, level, namespace_='', name_='memberdefType'):
  5887. +        if self.initonly is not None:
  5888. +            outfile.write(' initonly=%s' % (quote_attrib(self.initonly), ))
  5889. +        if self.kind is not None:
  5890. +            outfile.write(' kind=%s' % (quote_attrib(self.kind), ))
  5891. +        if self.volatile is not None:
  5892. +            outfile.write(' volatile=%s' % (quote_attrib(self.volatile), ))
  5893. +        if self.const is not None:
  5894. +            outfile.write(' const=%s' % (quote_attrib(self.const), ))
  5895. +        if self.raisexx is not None:
  5896. +            outfile.write(' raise=%s' % (quote_attrib(self.raisexx), ))
  5897. +        if self.virt is not None:
  5898. +            outfile.write(' virt=%s' % (quote_attrib(self.virt), ))
  5899. +        if self.readable is not None:
  5900. +            outfile.write(' readable=%s' % (quote_attrib(self.readable), ))
  5901. +        if self.prot is not None:
  5902. +            outfile.write(' prot=%s' % (quote_attrib(self.prot), ))
  5903. +        if self.explicit is not None:
  5904. +            outfile.write(' explicit=%s' % (quote_attrib(self.explicit), ))
  5905. +        if self.new is not None:
  5906. +            outfile.write(' new=%s' % (quote_attrib(self.new), ))
  5907. +        if self.final is not None:
  5908. +            outfile.write(' final=%s' % (quote_attrib(self.final), ))
  5909. +        if self.writable is not None:
  5910. +            outfile.write(' writable=%s' % (quote_attrib(self.writable), ))
  5911. +        if self.add is not None:
  5912. +            outfile.write(' add=%s' % (quote_attrib(self.add), ))
  5913. +        if self.static is not None:
  5914. +            outfile.write(' static=%s' % (quote_attrib(self.static), ))
  5915. +        if self.remove is not None:
  5916. +            outfile.write(' remove=%s' % (quote_attrib(self.remove), ))
  5917. +        if self.sealed is not None:
  5918. +            outfile.write(' sealed=%s' % (quote_attrib(self.sealed), ))
  5919. +        if self.mutable is not None:
  5920. +            outfile.write(' mutable=%s' % (quote_attrib(self.mutable), ))
  5921. +        if self.gettable is not None:
  5922. +            outfile.write(' gettable=%s' % (quote_attrib(self.gettable), ))
  5923. +        if self.inline is not None:
  5924. +            outfile.write(' inline=%s' % (quote_attrib(self.inline), ))
  5925. +        if self.settable is not None:
  5926. +            outfile.write(' settable=%s' % (quote_attrib(self.settable), ))
  5927. +        if self.id is not None:
  5928. +            outfile.write(' id=%s' % (self.format_string(quote_attrib(self.id).encode(ExternalEncoding), input_name='id'), ))
  5929. +    def exportChildren(self, outfile, level, namespace_='', name_='memberdefType'):
  5930. +        if self.templateparamlist:
  5931. +            self.templateparamlist.export(outfile, level, namespace_, name_='templateparamlist')
  5932. +        if self.type_:
  5933. +            self.type_.export(outfile, level, namespace_, name_='type')
  5934. +        if self.definition is not None:
  5935. +            showIndent(outfile, level)
  5936. +            outfile.write('<%sdefinition>%s</%sdefinition>\n' % (namespace_, self.format_string(quote_xml(self.definition).encode(ExternalEncoding), input_name='definition'), namespace_))
  5937. +        if self.argsstring is not None:
  5938. +            showIndent(outfile, level)
  5939. +            outfile.write('<%sargsstring>%s</%sargsstring>\n' % (namespace_, self.format_string(quote_xml(self.argsstring).encode(ExternalEncoding), input_name='argsstring'), namespace_))
  5940. +        if self.name is not None:
  5941. +            showIndent(outfile, level)
  5942. +            outfile.write('<%sname>%s</%sname>\n' % (namespace_, self.format_string(quote_xml(self.name).encode(ExternalEncoding), input_name='name'), namespace_))
  5943. +        if self.read is not None:
  5944. +            showIndent(outfile, level)
  5945. +            outfile.write('<%sread>%s</%sread>\n' % (namespace_, self.format_string(quote_xml(self.read).encode(ExternalEncoding), input_name='read'), namespace_))
  5946. +        if self.write is not None:
  5947. +            showIndent(outfile, level)
  5948. +            outfile.write('<%swrite>%s</%swrite>\n' % (namespace_, self.format_string(quote_xml(self.write).encode(ExternalEncoding), input_name='write'), namespace_))
  5949. +        if self.bitfield is not None:
  5950. +            showIndent(outfile, level)
  5951. +            outfile.write('<%sbitfield>%s</%sbitfield>\n' % (namespace_, self.format_string(quote_xml(self.bitfield).encode(ExternalEncoding), input_name='bitfield'), namespace_))
  5952. +        for reimplements_ in self.reimplements:
  5953. +            reimplements_.export(outfile, level, namespace_, name_='reimplements')
  5954. +        for reimplementedby_ in self.reimplementedby:
  5955. +            reimplementedby_.export(outfile, level, namespace_, name_='reimplementedby')
  5956. +        for param_ in self.param:
  5957. +            param_.export(outfile, level, namespace_, name_='param')
  5958. +        for enumvalue_ in self.enumvalue:
  5959. +            enumvalue_.export(outfile, level, namespace_, name_='enumvalue')
  5960. +        if self.initializer:
  5961. +            self.initializer.export(outfile, level, namespace_, name_='initializer')
  5962. +        if self.exceptions:
  5963. +            self.exceptions.export(outfile, level, namespace_, name_='exceptions')
  5964. +        if self.briefdescription:
  5965. +            self.briefdescription.export(outfile, level, namespace_, name_='briefdescription')
  5966. +        if self.detaileddescription:
  5967. +            self.detaileddescription.export(outfile, level, namespace_, name_='detaileddescription')
  5968. +        if self.inbodydescription:
  5969. +            self.inbodydescription.export(outfile, level, namespace_, name_='inbodydescription')
  5970. +        if self.location:
  5971. +            self.location.export(outfile, level, namespace_, name_='location', )
  5972. +        for references_ in self.references:
  5973. +            references_.export(outfile, level, namespace_, name_='references')
  5974. +        for referencedby_ in self.referencedby:
  5975. +            referencedby_.export(outfile, level, namespace_, name_='referencedby')
  5976. +    def hasContent_(self):
  5977. +        if (
  5978. +            self.templateparamlist is not None or
  5979. +            self.type_ is not None or
  5980. +            self.definition is not None or
  5981. +            self.argsstring is not None or
  5982. +            self.name is not None or
  5983. +            self.read is not None or
  5984. +            self.write is not None or
  5985. +            self.bitfield is not None or
  5986. +            self.reimplements is not None or
  5987. +            self.reimplementedby is not None or
  5988. +            self.param is not None or
  5989. +            self.enumvalue is not None or
  5990. +            self.initializer is not None or
  5991. +            self.exceptions is not None or
  5992. +            self.briefdescription is not None or
  5993. +            self.detaileddescription is not None or
  5994. +            self.inbodydescription is not None or
  5995. +            self.location is not None or
  5996. +            self.references is not None or
  5997. +            self.referencedby is not None
  5998. +            ):
  5999. +            return True
  6000. +        else:
  6001. +            return False
  6002. +    def exportLiteral(self, outfile, level, name_='memberdefType'):
  6003. +        level += 1
  6004. +        self.exportLiteralAttributes(outfile, level, name_)
  6005. +        if self.hasContent_():
  6006. +            self.exportLiteralChildren(outfile, level, name_)
  6007. +    def exportLiteralAttributes(self, outfile, level, name_):
  6008. +        if self.initonly is not None:
  6009. +            showIndent(outfile, level)
  6010. +            outfile.write('initonly = "%s",\n' % (self.initonly,))
  6011. +        if self.kind is not None:
  6012. +            showIndent(outfile, level)
  6013. +            outfile.write('kind = "%s",\n' % (self.kind,))
  6014. +        if self.volatile is not None:
  6015. +            showIndent(outfile, level)
  6016. +            outfile.write('volatile = "%s",\n' % (self.volatile,))
  6017. +        if self.const is not None:
  6018. +            showIndent(outfile, level)
  6019. +            outfile.write('const = "%s",\n' % (self.const,))
  6020. +        if self.raisexx is not None:
  6021. +            showIndent(outfile, level)
  6022. +            outfile.write('raisexx = "%s",\n' % (self.raisexx,))
  6023. +        if self.virt is not None:
  6024. +            showIndent(outfile, level)
  6025. +            outfile.write('virt = "%s",\n' % (self.virt,))
  6026. +        if self.readable is not None:
  6027. +            showIndent(outfile, level)
  6028. +            outfile.write('readable = "%s",\n' % (self.readable,))
  6029. +        if self.prot is not None:
  6030. +            showIndent(outfile, level)
  6031. +            outfile.write('prot = "%s",\n' % (self.prot,))
  6032. +        if self.explicit is not None:
  6033. +            showIndent(outfile, level)
  6034. +            outfile.write('explicit = "%s",\n' % (self.explicit,))
  6035. +        if self.new is not None:
  6036. +            showIndent(outfile, level)
  6037. +            outfile.write('new = "%s",\n' % (self.new,))
  6038. +        if self.final is not None:
  6039. +            showIndent(outfile, level)
  6040. +            outfile.write('final = "%s",\n' % (self.final,))
  6041. +        if self.writable is not None:
  6042. +            showIndent(outfile, level)
  6043. +            outfile.write('writable = "%s",\n' % (self.writable,))
  6044. +        if self.add is not None:
  6045. +            showIndent(outfile, level)
  6046. +            outfile.write('add = "%s",\n' % (self.add,))
  6047. +        if self.static is not None:
  6048. +            showIndent(outfile, level)
  6049. +            outfile.write('static = "%s",\n' % (self.static,))
  6050. +        if self.remove is not None:
  6051. +            showIndent(outfile, level)
  6052. +            outfile.write('remove = "%s",\n' % (self.remove,))
  6053. +        if self.sealed is not None:
  6054. +            showIndent(outfile, level)
  6055. +            outfile.write('sealed = "%s",\n' % (self.sealed,))
  6056. +        if self.mutable is not None:
  6057. +            showIndent(outfile, level)
  6058. +            outfile.write('mutable = "%s",\n' % (self.mutable,))
  6059. +        if self.gettable is not None:
  6060. +            showIndent(outfile, level)
  6061. +            outfile.write('gettable = "%s",\n' % (self.gettable,))
  6062. +        if self.inline is not None:
  6063. +            showIndent(outfile, level)
  6064. +            outfile.write('inline = "%s",\n' % (self.inline,))
  6065. +        if self.settable is not None:
  6066. +            showIndent(outfile, level)
  6067. +            outfile.write('settable = "%s",\n' % (self.settable,))
  6068. +        if self.id is not None:
  6069. +            showIndent(outfile, level)
  6070. +            outfile.write('id = %s,\n' % (self.id,))
  6071. +    def exportLiteralChildren(self, outfile, level, name_):
  6072. +        if self.templateparamlist:
  6073. +            showIndent(outfile, level)
  6074. +            outfile.write('templateparamlist=model_.templateparamlistType(\n')
  6075. +            self.templateparamlist.exportLiteral(outfile, level, name_='templateparamlist')
  6076. +            showIndent(outfile, level)
  6077. +            outfile.write('),\n')
  6078. +        if self.type_:
  6079. +            showIndent(outfile, level)
  6080. +            outfile.write('type_=model_.linkedTextType(\n')
  6081. +            self.type_.exportLiteral(outfile, level, name_='type')
  6082. +            showIndent(outfile, level)
  6083. +            outfile.write('),\n')
  6084. +        showIndent(outfile, level)
  6085. +        outfile.write('definition=%s,\n' % quote_python(self.definition).encode(ExternalEncoding))
  6086. +        showIndent(outfile, level)
  6087. +        outfile.write('argsstring=%s,\n' % quote_python(self.argsstring).encode(ExternalEncoding))
  6088. +        showIndent(outfile, level)
  6089. +        outfile.write('name=%s,\n' % quote_python(self.name).encode(ExternalEncoding))
  6090. +        showIndent(outfile, level)
  6091. +        outfile.write('read=%s,\n' % quote_python(self.read).encode(ExternalEncoding))
  6092. +        showIndent(outfile, level)
  6093. +        outfile.write('write=%s,\n' % quote_python(self.write).encode(ExternalEncoding))
  6094. +        showIndent(outfile, level)
  6095. +        outfile.write('bitfield=%s,\n' % quote_python(self.bitfield).encode(ExternalEncoding))
  6096. +        showIndent(outfile, level)
  6097. +        outfile.write('reimplements=[\n')
  6098. +        level += 1
  6099. +        for reimplements in self.reimplements:
  6100. +            showIndent(outfile, level)
  6101. +            outfile.write('model_.reimplements(\n')
  6102. +            reimplements.exportLiteral(outfile, level, name_='reimplements')
  6103. +            showIndent(outfile, level)
  6104. +            outfile.write('),\n')
  6105. +        level -= 1
  6106. +        showIndent(outfile, level)
  6107. +        outfile.write('],\n')
  6108. +        showIndent(outfile, level)
  6109. +        outfile.write('reimplementedby=[\n')
  6110. +        level += 1
  6111. +        for reimplementedby in self.reimplementedby:
  6112. +            showIndent(outfile, level)
  6113. +            outfile.write('model_.reimplementedby(\n')
  6114. +            reimplementedby.exportLiteral(outfile, level, name_='reimplementedby')
  6115. +            showIndent(outfile, level)
  6116. +            outfile.write('),\n')
  6117. +        level -= 1
  6118. +        showIndent(outfile, level)
  6119. +        outfile.write('],\n')
  6120. +        showIndent(outfile, level)
  6121. +        outfile.write('param=[\n')
  6122. +        level += 1
  6123. +        for param in self.param:
  6124. +            showIndent(outfile, level)
  6125. +            outfile.write('model_.param(\n')
  6126. +            param.exportLiteral(outfile, level, name_='param')
  6127. +            showIndent(outfile, level)
  6128. +            outfile.write('),\n')
  6129. +        level -= 1
  6130. +        showIndent(outfile, level)
  6131. +        outfile.write('],\n')
  6132. +        showIndent(outfile, level)
  6133. +        outfile.write('enumvalue=[\n')
  6134. +        level += 1
  6135. +        for enumvalue in self.enumvalue:
  6136. +            showIndent(outfile, level)
  6137. +            outfile.write('model_.enumvalue(\n')
  6138. +            enumvalue.exportLiteral(outfile, level, name_='enumvalue')
  6139. +            showIndent(outfile, level)
  6140. +            outfile.write('),\n')
  6141. +        level -= 1
  6142. +        showIndent(outfile, level)
  6143. +        outfile.write('],\n')
  6144. +        if self.initializer:
  6145. +            showIndent(outfile, level)
  6146. +            outfile.write('initializer=model_.linkedTextType(\n')
  6147. +            self.initializer.exportLiteral(outfile, level, name_='initializer')
  6148. +            showIndent(outfile, level)
  6149. +            outfile.write('),\n')
  6150. +        if self.exceptions:
  6151. +            showIndent(outfile, level)
  6152. +            outfile.write('exceptions=model_.linkedTextType(\n')
  6153. +            self.exceptions.exportLiteral(outfile, level, name_='exceptions')
  6154. +            showIndent(outfile, level)
  6155. +            outfile.write('),\n')
  6156. +        if self.briefdescription:
  6157. +            showIndent(outfile, level)
  6158. +            outfile.write('briefdescription=model_.descriptionType(\n')
  6159. +            self.briefdescription.exportLiteral(outfile, level, name_='briefdescription')
  6160. +            showIndent(outfile, level)
  6161. +            outfile.write('),\n')
  6162. +        if self.detaileddescription:
  6163. +            showIndent(outfile, level)
  6164. +            outfile.write('detaileddescription=model_.descriptionType(\n')
  6165. +            self.detaileddescription.exportLiteral(outfile, level, name_='detaileddescription')
  6166. +            showIndent(outfile, level)
  6167. +            outfile.write('),\n')
  6168. +        if self.inbodydescription:
  6169. +            showIndent(outfile, level)
  6170. +            outfile.write('inbodydescription=model_.descriptionType(\n')
  6171. +            self.inbodydescription.exportLiteral(outfile, level, name_='inbodydescription')
  6172. +            showIndent(outfile, level)
  6173. +            outfile.write('),\n')
  6174. +        if self.location:
  6175. +            showIndent(outfile, level)
  6176. +            outfile.write('location=model_.locationType(\n')
  6177. +            self.location.exportLiteral(outfile, level, name_='location')
  6178. +            showIndent(outfile, level)
  6179. +            outfile.write('),\n')
  6180. +        showIndent(outfile, level)
  6181. +        outfile.write('references=[\n')
  6182. +        level += 1
  6183. +        for references in self.references:
  6184. +            showIndent(outfile, level)
  6185. +            outfile.write('model_.references(\n')
  6186. +            references.exportLiteral(outfile, level, name_='references')
  6187. +            showIndent(outfile, level)
  6188. +            outfile.write('),\n')
  6189. +        level -= 1
  6190. +        showIndent(outfile, level)
  6191. +        outfile.write('],\n')
  6192. +        showIndent(outfile, level)
  6193. +        outfile.write('referencedby=[\n')
  6194. +        level += 1
  6195. +        for referencedby in self.referencedby:
  6196. +            showIndent(outfile, level)
  6197. +            outfile.write('model_.referencedby(\n')
  6198. +            referencedby.exportLiteral(outfile, level, name_='referencedby')
  6199. +            showIndent(outfile, level)
  6200. +            outfile.write('),\n')
  6201. +        level -= 1
  6202. +        showIndent(outfile, level)
  6203. +        outfile.write('],\n')
  6204. +    def build(self, node_):
  6205. +        attrs = node_.attributes
  6206. +        self.buildAttributes(attrs)
  6207. +        for child_ in node_.childNodes:
  6208. +            nodeName_ = child_.nodeName.split(':')[-1]
  6209. +            self.buildChildren(child_, nodeName_)
  6210. +    def buildAttributes(self, attrs):
  6211. +        if attrs.get('initonly'):
  6212. +            self.initonly = attrs.get('initonly').value
  6213. +        if attrs.get('kind'):
  6214. +            self.kind = attrs.get('kind').value
  6215. +        if attrs.get('volatile'):
  6216. +            self.volatile = attrs.get('volatile').value
  6217. +        if attrs.get('const'):
  6218. +            self.const = attrs.get('const').value
  6219. +        if attrs.get('raise'):
  6220. +            self.raisexx = attrs.get('raise').value
  6221. +        if attrs.get('virt'):
  6222. +            self.virt = attrs.get('virt').value
  6223. +        if attrs.get('readable'):
  6224. +            self.readable = attrs.get('readable').value
  6225. +        if attrs.get('prot'):
  6226. +            self.prot = attrs.get('prot').value
  6227. +        if attrs.get('explicit'):
  6228. +            self.explicit = attrs.get('explicit').value
  6229. +        if attrs.get('new'):
  6230. +            self.new = attrs.get('new').value
  6231. +        if attrs.get('final'):
  6232. +            self.final = attrs.get('final').value
  6233. +        if attrs.get('writable'):
  6234. +            self.writable = attrs.get('writable').value
  6235. +        if attrs.get('add'):
  6236. +            self.add = attrs.get('add').value
  6237. +        if attrs.get('static'):
  6238. +            self.static = attrs.get('static').value
  6239. +        if attrs.get('remove'):
  6240. +            self.remove = attrs.get('remove').value
  6241. +        if attrs.get('sealed'):
  6242. +            self.sealed = attrs.get('sealed').value
  6243. +        if attrs.get('mutable'):
  6244. +            self.mutable = attrs.get('mutable').value
  6245. +        if attrs.get('gettable'):
  6246. +            self.gettable = attrs.get('gettable').value
  6247. +        if attrs.get('inline'):
  6248. +            self.inline = attrs.get('inline').value
  6249. +        if attrs.get('settable'):
  6250. +            self.settable = attrs.get('settable').value
  6251. +        if attrs.get('id'):
  6252. +            self.id = attrs.get('id').value
  6253. +    def buildChildren(self, child_, nodeName_):
  6254. +        if child_.nodeType == Node.ELEMENT_NODE and \
  6255. +            nodeName_ == 'templateparamlist':
  6256. +            obj_ = templateparamlistType.factory()
  6257. +            obj_.build(child_)
  6258. +            self.set_templateparamlist(obj_)
  6259. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6260. +            nodeName_ == 'type':
  6261. +            obj_ = linkedTextType.factory()
  6262. +            obj_.build(child_)
  6263. +            self.set_type(obj_)
  6264. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6265. +            nodeName_ == 'definition':
  6266. +            definition_ = ''
  6267. +            for text__content_ in child_.childNodes:
  6268. +                definition_ += text__content_.nodeValue
  6269. +            self.definition = definition_
  6270. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6271. +            nodeName_ == 'argsstring':
  6272. +            argsstring_ = ''
  6273. +            for text__content_ in child_.childNodes:
  6274. +                argsstring_ += text__content_.nodeValue
  6275. +            self.argsstring = argsstring_
  6276. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6277. +            nodeName_ == 'name':
  6278. +            name_ = ''
  6279. +            for text__content_ in child_.childNodes:
  6280. +                name_ += text__content_.nodeValue
  6281. +            self.name = name_
  6282. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6283. +            nodeName_ == 'read':
  6284. +            read_ = ''
  6285. +            for text__content_ in child_.childNodes:
  6286. +                read_ += text__content_.nodeValue
  6287. +            self.read = read_
  6288. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6289. +            nodeName_ == 'write':
  6290. +            write_ = ''
  6291. +            for text__content_ in child_.childNodes:
  6292. +                write_ += text__content_.nodeValue
  6293. +            self.write = write_
  6294. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6295. +            nodeName_ == 'bitfield':
  6296. +            bitfield_ = ''
  6297. +            for text__content_ in child_.childNodes:
  6298. +                bitfield_ += text__content_.nodeValue
  6299. +            self.bitfield = bitfield_
  6300. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6301. +            nodeName_ == 'reimplements':
  6302. +            obj_ = reimplementType.factory()
  6303. +            obj_.build(child_)
  6304. +            self.reimplements.append(obj_)
  6305. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6306. +            nodeName_ == 'reimplementedby':
  6307. +            obj_ = reimplementType.factory()
  6308. +            obj_.build(child_)
  6309. +            self.reimplementedby.append(obj_)
  6310. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6311. +            nodeName_ == 'param':
  6312. +            obj_ = paramType.factory()
  6313. +            obj_.build(child_)
  6314. +            self.param.append(obj_)
  6315. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6316. +            nodeName_ == 'enumvalue':
  6317. +            obj_ = enumvalueType.factory()
  6318. +            obj_.build(child_)
  6319. +            self.enumvalue.append(obj_)
  6320. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6321. +            nodeName_ == 'initializer':
  6322. +            obj_ = linkedTextType.factory()
  6323. +            obj_.build(child_)
  6324. +            self.set_initializer(obj_)
  6325. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6326. +            nodeName_ == 'exceptions':
  6327. +            obj_ = linkedTextType.factory()
  6328. +            obj_.build(child_)
  6329. +            self.set_exceptions(obj_)
  6330. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6331. +            nodeName_ == 'briefdescription':
  6332. +            obj_ = descriptionType.factory()
  6333. +            obj_.build(child_)
  6334. +            self.set_briefdescription(obj_)
  6335. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6336. +            nodeName_ == 'detaileddescription':
  6337. +            obj_ = descriptionType.factory()
  6338. +            obj_.build(child_)
  6339. +            self.set_detaileddescription(obj_)
  6340. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6341. +            nodeName_ == 'inbodydescription':
  6342. +            obj_ = descriptionType.factory()
  6343. +            obj_.build(child_)
  6344. +            self.set_inbodydescription(obj_)
  6345. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6346. +            nodeName_ == 'location':
  6347. +            obj_ = locationType.factory()
  6348. +            obj_.build(child_)
  6349. +            self.set_location(obj_)
  6350. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6351. +            nodeName_ == 'references':
  6352. +            obj_ = referenceType.factory()
  6353. +            obj_.build(child_)
  6354. +            self.references.append(obj_)
  6355. +        elif child_.nodeType == Node.ELEMENT_NODE and \
  6356. +            nodeName_ == 'referencedby':
  6357. +            obj_ = referenceType.factory()
  6358. +            obj_.build(child_)
  6359. +            self.referencedby.append(obj_)
  6360. +# end class memberdefType
  6361. +
  6362. +
  6363. +class definition(GeneratedsSuper):
  6364. +    subclass = None
  6365. +    superclass = None
  6366. +    def __init__(self, valueOf_=''):
  6367. +        self.valueOf_ = valueOf_
  6368. +    def factory(*args_, **kwargs_):
  6369. +        if definition.subclass:
  6370. +            return definition.subclass(*args_, **kwargs_)
  6371. +        else:
  6372. +            return definition(*args_, **kwargs_)
  6373. +    factory = staticmethod(factory)
  6374. +    def getValueOf_(self): return self.valueOf_
  6375. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  6376. +    def export(self, outfile, level, namespace_='', name_='definition', namespacedef_=''):
  6377. +        showIndent(outfile, level)
  6378. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  6379. +        self.exportAttributes(outfile, level, namespace_, name_='definition')
  6380. +        if self.hasContent_():
  6381. +            outfile.write('>\n')
  6382. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  6383. +            showIndent(outfile, level)
  6384. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  6385. +        else:
  6386. +            outfile.write(' />\n')
  6387. +    def exportAttributes(self, outfile, level, namespace_='', name_='definition'):
  6388. +        pass
  6389. +    def exportChildren(self, outfile, level, namespace_='', name_='definition'):
  6390. +        if self.valueOf_.find('![CDATA')>-1:
  6391. +            value=quote_xml('%s' % self.valueOf_)
  6392. +            value=value.replace('![CDATA','<![CDATA')
  6393. +            value=value.replace(']]',']]>')
  6394. +            outfile.write(value)
  6395. +        else:
  6396. +            outfile.write(quote_xml('%s' % self.valueOf_))
  6397. +    def hasContent_(self):
  6398. +        if (
  6399. +            self.valueOf_ is not None
  6400. +            ):
  6401. +            return True
  6402. +        else:
  6403. +            return False
  6404. +    def exportLiteral(self, outfile, level, name_='definition'):
  6405. +        level += 1
  6406. +        self.exportLiteralAttributes(outfile, level, name_)
  6407. +        if self.hasContent_():
  6408. +            self.exportLiteralChildren(outfile, level, name_)
  6409. +    def exportLiteralAttributes(self, outfile, level, name_):
  6410. +        pass
  6411. +    def exportLiteralChildren(self, outfile, level, name_):
  6412. +        showIndent(outfile, level)
  6413. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  6414. +    def build(self, node_):
  6415. +        attrs = node_.attributes
  6416. +        self.buildAttributes(attrs)
  6417. +        self.valueOf_ = ''
  6418. +        for child_ in node_.childNodes:
  6419. +            nodeName_ = child_.nodeName.split(':')[-1]
  6420. +            self.buildChildren(child_, nodeName_)
  6421. +    def buildAttributes(self, attrs):
  6422. +        pass
  6423. +    def buildChildren(self, child_, nodeName_):
  6424. +        if child_.nodeType == Node.TEXT_NODE:
  6425. +            self.valueOf_ += child_.nodeValue
  6426. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  6427. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  6428. +# end class definition
  6429. +
  6430. +
  6431. +class argsstring(GeneratedsSuper):
  6432. +    subclass = None
  6433. +    superclass = None
  6434. +    def __init__(self, valueOf_=''):
  6435. +        self.valueOf_ = valueOf_
  6436. +    def factory(*args_, **kwargs_):
  6437. +        if argsstring.subclass:
  6438. +            return argsstring.subclass(*args_, **kwargs_)
  6439. +        else:
  6440. +            return argsstring(*args_, **kwargs_)
  6441. +    factory = staticmethod(factory)
  6442. +    def getValueOf_(self): return self.valueOf_
  6443. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  6444. +    def export(self, outfile, level, namespace_='', name_='argsstring', namespacedef_=''):
  6445. +        showIndent(outfile, level)
  6446. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  6447. +        self.exportAttributes(outfile, level, namespace_, name_='argsstring')
  6448. +        if self.hasContent_():
  6449. +            outfile.write('>\n')
  6450. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  6451. +            showIndent(outfile, level)
  6452. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  6453. +        else:
  6454. +            outfile.write(' />\n')
  6455. +    def exportAttributes(self, outfile, level, namespace_='', name_='argsstring'):
  6456. +        pass
  6457. +    def exportChildren(self, outfile, level, namespace_='', name_='argsstring'):
  6458. +        if self.valueOf_.find('![CDATA')>-1:
  6459. +            value=quote_xml('%s' % self.valueOf_)
  6460. +            value=value.replace('![CDATA','<![CDATA')
  6461. +            value=value.replace(']]',']]>')
  6462. +            outfile.write(value)
  6463. +        else:
  6464. +            outfile.write(quote_xml('%s' % self.valueOf_))
  6465. +    def hasContent_(self):
  6466. +        if (
  6467. +            self.valueOf_ is not None
  6468. +            ):
  6469. +            return True
  6470. +        else:
  6471. +            return False
  6472. +    def exportLiteral(self, outfile, level, name_='argsstring'):
  6473. +        level += 1
  6474. +        self.exportLiteralAttributes(outfile, level, name_)
  6475. +        if self.hasContent_():
  6476. +            self.exportLiteralChildren(outfile, level, name_)
  6477. +    def exportLiteralAttributes(self, outfile, level, name_):
  6478. +        pass
  6479. +    def exportLiteralChildren(self, outfile, level, name_):
  6480. +        showIndent(outfile, level)
  6481. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  6482. +    def build(self, node_):
  6483. +        attrs = node_.attributes
  6484. +        self.buildAttributes(attrs)
  6485. +        self.valueOf_ = ''
  6486. +        for child_ in node_.childNodes:
  6487. +            nodeName_ = child_.nodeName.split(':')[-1]
  6488. +            self.buildChildren(child_, nodeName_)
  6489. +    def buildAttributes(self, attrs):
  6490. +        pass
  6491. +    def buildChildren(self, child_, nodeName_):
  6492. +        if child_.nodeType == Node.TEXT_NODE:
  6493. +            self.valueOf_ += child_.nodeValue
  6494. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  6495. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  6496. +# end class argsstring
  6497. +
  6498. +
  6499. +class read(GeneratedsSuper):
  6500. +    subclass = None
  6501. +    superclass = None
  6502. +    def __init__(self, valueOf_=''):
  6503. +        self.valueOf_ = valueOf_
  6504. +    def factory(*args_, **kwargs_):
  6505. +        if read.subclass:
  6506. +            return read.subclass(*args_, **kwargs_)
  6507. +        else:
  6508. +            return read(*args_, **kwargs_)
  6509. +    factory = staticmethod(factory)
  6510. +    def getValueOf_(self): return self.valueOf_
  6511. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  6512. +    def export(self, outfile, level, namespace_='', name_='read', namespacedef_=''):
  6513. +        showIndent(outfile, level)
  6514. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  6515. +        self.exportAttributes(outfile, level, namespace_, name_='read')
  6516. +        if self.hasContent_():
  6517. +            outfile.write('>\n')
  6518. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  6519. +            showIndent(outfile, level)
  6520. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  6521. +        else:
  6522. +            outfile.write(' />\n')
  6523. +    def exportAttributes(self, outfile, level, namespace_='', name_='read'):
  6524. +        pass
  6525. +    def exportChildren(self, outfile, level, namespace_='', name_='read'):
  6526. +        if self.valueOf_.find('![CDATA')>-1:
  6527. +            value=quote_xml('%s' % self.valueOf_)
  6528. +            value=value.replace('![CDATA','<![CDATA')
  6529. +            value=value.replace(']]',']]>')
  6530. +            outfile.write(value)
  6531. +        else:
  6532. +            outfile.write(quote_xml('%s' % self.valueOf_))
  6533. +    def hasContent_(self):
  6534. +        if (
  6535. +            self.valueOf_ is not None
  6536. +            ):
  6537. +            return True
  6538. +        else:
  6539. +            return False
  6540. +    def exportLiteral(self, outfile, level, name_='read'):
  6541. +        level += 1
  6542. +        self.exportLiteralAttributes(outfile, level, name_)
  6543. +        if self.hasContent_():
  6544. +            self.exportLiteralChildren(outfile, level, name_)
  6545. +    def exportLiteralAttributes(self, outfile, level, name_):
  6546. +        pass
  6547. +    def exportLiteralChildren(self, outfile, level, name_):
  6548. +        showIndent(outfile, level)
  6549. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  6550. +    def build(self, node_):
  6551. +        attrs = node_.attributes
  6552. +        self.buildAttributes(attrs)
  6553. +        self.valueOf_ = ''
  6554. +        for child_ in node_.childNodes:
  6555. +            nodeName_ = child_.nodeName.split(':')[-1]
  6556. +            self.buildChildren(child_, nodeName_)
  6557. +    def buildAttributes(self, attrs):
  6558. +        pass
  6559. +    def buildChildren(self, child_, nodeName_):
  6560. +        if child_.nodeType == Node.TEXT_NODE:
  6561. +            self.valueOf_ += child_.nodeValue
  6562. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  6563. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  6564. +# end class read
  6565. +
  6566. +
  6567. +class write(GeneratedsSuper):
  6568. +    subclass = None
  6569. +    superclass = None
  6570. +    def __init__(self, valueOf_=''):
  6571. +        self.valueOf_ = valueOf_
  6572. +    def factory(*args_, **kwargs_):
  6573. +        if write.subclass:
  6574. +            return write.subclass(*args_, **kwargs_)
  6575. +        else:
  6576. +            return write(*args_, **kwargs_)
  6577. +    factory = staticmethod(factory)
  6578. +    def getValueOf_(self): return self.valueOf_
  6579. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  6580. +    def export(self, outfile, level, namespace_='', name_='write', namespacedef_=''):
  6581. +        showIndent(outfile, level)
  6582. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  6583. +        self.exportAttributes(outfile, level, namespace_, name_='write')
  6584. +        if self.hasContent_():
  6585. +            outfile.write('>\n')
  6586. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  6587. +            showIndent(outfile, level)
  6588. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  6589. +        else:
  6590. +            outfile.write(' />\n')
  6591. +    def exportAttributes(self, outfile, level, namespace_='', name_='write'):
  6592. +        pass
  6593. +    def exportChildren(self, outfile, level, namespace_='', name_='write'):
  6594. +        if self.valueOf_.find('![CDATA')>-1:
  6595. +            value=quote_xml('%s' % self.valueOf_)
  6596. +            value=value.replace('![CDATA','<![CDATA')
  6597. +            value=value.replace(']]',']]>')
  6598. +            outfile.write(value)
  6599. +        else:
  6600. +            outfile.write(quote_xml('%s' % self.valueOf_))
  6601. +    def hasContent_(self):
  6602. +        if (
  6603. +            self.valueOf_ is not None
  6604. +            ):
  6605. +            return True
  6606. +        else:
  6607. +            return False
  6608. +    def exportLiteral(self, outfile, level, name_='write'):
  6609. +        level += 1
  6610. +        self.exportLiteralAttributes(outfile, level, name_)
  6611. +        if self.hasContent_():
  6612. +            self.exportLiteralChildren(outfile, level, name_)
  6613. +    def exportLiteralAttributes(self, outfile, level, name_):
  6614. +        pass
  6615. +    def exportLiteralChildren(self, outfile, level, name_):
  6616. +        showIndent(outfile, level)
  6617. +        outfile.write('valueOf_ = "%s",\n' % (self.valueOf_,))
  6618. +    def build(self, node_):
  6619. +        attrs = node_.attributes
  6620. +        self.buildAttributes(attrs)
  6621. +        self.valueOf_ = ''
  6622. +        for child_ in node_.childNodes:
  6623. +            nodeName_ = child_.nodeName.split(':')[-1]
  6624. +            self.buildChildren(child_, nodeName_)
  6625. +    def buildAttributes(self, attrs):
  6626. +        pass
  6627. +    def buildChildren(self, child_, nodeName_):
  6628. +        if child_.nodeType == Node.TEXT_NODE:
  6629. +            self.valueOf_ += child_.nodeValue
  6630. +        elif child_.nodeType == Node.CDATA_SECTION_NODE:
  6631. +            self.valueOf_ += '![CDATA['+child_.nodeValue+']]'
  6632. +# end class write
  6633. +
  6634. +
  6635. +class bitfield(GeneratedsSuper):
  6636. +    subclass = None
  6637. +    superclass = None
  6638. +    def __init__(self, valueOf_=''):
  6639. +        self.valueOf_ = valueOf_
  6640. +    def factory(*args_, **kwargs_):
  6641. +        if bitfield.subclass:
  6642. +            return bitfield.subclass(*args_, **kwargs_)
  6643. +        else:
  6644. +            return bitfield(*args_, **kwargs_)
  6645. +    factory = staticmethod(factory)
  6646. +    def getValueOf_(self): return self.valueOf_
  6647. +    def setValueOf_(self, valueOf_): self.valueOf_ = valueOf_
  6648. +    def export(self, outfile, level, namespace_='', name_='bitfield', namespacedef_=''):
  6649. +        showIndent(outfile, level)
  6650. +        outfile.write('<%s%s %s' % (namespace_, name_, namespacedef_, ))
  6651. +        self.exportAttributes(outfile, level, namespace_, name_='bitfield')
  6652. +        if self.hasContent_():
  6653. +            outfile.write('>\n')
  6654. +            self.exportChildren(outfile, level + 1, namespace_, name_)
  6655. +            showIndent(outfile, level)
  6656. +            outfile.write('</%s%s>\n' % (namespace_, name_))
  6657. +        else:
  6658. +            outfile.write(' />\n')
  6659. +    def exportAttributes(self, outfile, level, namespace_='', name_='bitfield'):
  6660. +        pass
  6661. +    def exportChildren(self, outfile, level, namespace_='', name_='bitfield'):