Debian Codegraph @

inc/core/AgnRemoveChildrenVisitor.h

raw
1 /**
2
3 Copyright (c) 2010-2014, Daniel S. Standage and CONTRIBUTORS
4
5 The AEGeAn Toolkit is distributed under the ISC License. See
6 the 'LICENSE' file in the AEGeAn source code distribution or
7 online at https://github.com/standage/AEGeAn/blob/master/LICENSE.
8
9 **/
10 #ifndef AEGEAN_REMOVE_CHILDREN_VISITOR
11 #define AEGEAN_REMOVE_CHILDREN_VISITOR
12
13 #include "extended/node_stream_api.h"
14 #include "AgnUnitTest.h"
15
16 /**
17 * @class AgnRemoveChildrenVisitor
18 *
19 * Implements the GenomeTools ``GtNodeVisitor`` interface. This is a node
20 * visitor used for correcting removing all children of each top-level feature.
21 * Psuedo-features are not modified.
22 */
23 typedef struct AgnRemoveChildrenVisitor AgnRemoveChildrenVisitor;
24
25 /**
26 * @function Constructor for a node stream based on this node visitor.
27 */
28 GtNodeStream* agn_remove_children_stream_new(GtNodeStream *in);
29
30 /**
31 * @function Constructor for the node visitor.
32 */
33 GtNodeVisitor *agn_remove_children_visitor_new();
34
35 /**
36 * @function Run unit tests for this class. Returns true if all tests passed.
37 */
38 bool agn_remove_children_visitor_unit_test(AgnUnitTest *test);
39
40 #endif