Imported Upstream version 3.2.2
[debian/gnuradio] / grc / python / block.dtd
1 <!--
2 Copyright 2008 Free Software Foundation, Inc.
3 This file is part of GNU Radio
4
5 GNU Radio Companion is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 GNU Radio Companion is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
18 -->
19 <!--
20         gnuradio_python.blocks.dtd
21         Josh Blum
22         The document type definition for blocks.
23  -->
24 <!--
25         Top level element.
26         A block contains a name, ...parameters list, and list of IO ports.
27  -->
28 <!ELEMENT block (name, key, category?, import*, var_make?, make, callback*, param*, check*, sink*, source*, doc?)>
29 <!--
30         Sub level elements.
31  -->
32 <!ELEMENT param (name, key, value?, type, hide?, option*)>
33 <!ELEMENT option (name, key, opt*)>
34 <!ELEMENT sink (name, type, vlen?, nports?, optional?)>
35 <!ELEMENT source (name, type, vlen?, nports?, optional?)>
36 <!--
37         Bottom level elements.
38         Character data only.
39  -->
40 <!ELEMENT category (#PCDATA)>
41 <!ELEMENT import (#PCDATA)>
42 <!ELEMENT doc (#PCDATA)>
43 <!ELEMENT name (#PCDATA)>
44 <!ELEMENT key (#PCDATA)>
45 <!ELEMENT check (#PCDATA)>
46 <!ELEMENT opt (#PCDATA)>
47 <!ELEMENT type (#PCDATA)>
48 <!ELEMENT hide (#PCDATA)>
49 <!ELEMENT vlen (#PCDATA)>
50 <!ELEMENT nports (#PCDATA)>
51 <!ELEMENT var_make (#PCDATA)>
52 <!ELEMENT make (#PCDATA)>
53 <!ELEMENT value (#PCDATA)>
54 <!ELEMENT callback (#PCDATA)>
55 <!ELEMENT optional (#PCDATA)>