Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
PCEnum.h
Go to the documentation of this file.
1
32#pragma once
33
36#include <ogdf/basic/basic.h>
37
38#include <ostream>
39
40namespace ogdf::pc_tree {
42
43enum class PCNodeType { PNode, CNode, Leaf };
44
45class PCNode;
46class PCTree;
47class PCTreeRegistry;
48
49#define OGDF_DECL_REG_ARRAY_TYPE(v, c) ogdf::RegisteredArray<PCTreeRegistry, v, c>
51#undef OGDF_DECL_REG_ARRAY_TYPE
52
54
55OGDF_EXPORT std::ostream& operator<<(std::ostream&, ogdf::pc_tree::NodeLabel);
56
57OGDF_EXPORT std::ostream& operator<<(std::ostream&, ogdf::pc_tree::PCNodeType);
58
59OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCTree*);
60
61OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCNode*);
62
63OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCTree&);
64
65OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCNode&);
66}
Declaration and implementation of RegisteredArray class.
#define OGDF_DECL_REG_ARRAY(NAME)
Declaration and implementation of ogdf::RegisteredSet.
Basic declarations, included by all source files.
Dynamic arrays indexed with arbitrary keys.
Constant-time set operations.
A node in a PC-tree that is either a P-node, C-node or leaf.
Definition PCNode.h:62
A PC-tree represents a set of cyclic orders of its leaves by labeling its inner nodes as either P- or...
Definition PCTree.h:118
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF dynamic library (shared object / DLL),...
Definition config.h:117
std::ostream & operator<<(std::ostream &, ogdf::pc_tree::NodeLabel)