
#!/usr/bin/env python3
"""
Model representation of a docheading type Element from doxygen

<xsd:complexType name="docHeadingType" mixed="true">
  <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  <xsd:attribute name="level" type="xsd:integer" /> <!-- todo: range 1-6 -->
</xsd:complexType>
"""
from ..groups.doctitlecmdgroup import DocTitleCmdGroup

class DocCopy(DocTitleCmdGroup):

  def __init__(self, node):
    super.__init__(node)

  def get_level(self):
    return self.get('level')


#!/usr/bin/env python3
"""
Model representation of a docheading type Element from doxygen

<xsd:complexType name="docHeadingType" mixed="true">
  <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />
  <xsd:attribute name="level" type="xsd:integer" /> <!-- todo: range 1-6 -->
</xsd:complexType>
"""
from ..groups.doctitlecmdgroup import DocTitleCmdGroup

class DocCopy(DocTitleCmdGroup):

  def __init__(self, node):
    super.__init__(node)

  def get_level(self):
    return self.get('level')

#!/usr/bin/env python3 Model representation of a docheading type Element from doxygen  <xsd:complexType name="docHeadingType" mixed="true">   <xsd:group ref="docTitleCmdGroup" minOccurs="0" maxOccurs="unbounded" />   <xsd:attribute name="level" type="xsd:integer" /> <!-- todo: range 1-6 --> </xsd:complexType>