Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

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 
40 namespace ogdf::pc_tree {
41 enum class OGDF_EXPORT NodeLabel { Unknown, Partial, Full, Empty = Unknown };
42 
44 
45 class OGDF_EXPORT PCNode;
46 class OGDF_EXPORT PCTree;
47 class OGDF_EXPORT PCTreeRegistry;
48 
49 #define OGDF_DECL_REG_ARRAY_TYPE(v, c) ogdf::RegisteredArray<PCTreeRegistry, v, c>
51 #undef OGDF_DECL_REG_ARRAY_TYPE
52 
53 template<bool SupportFastSizeQuery = true>
55 
56 OGDF_EXPORT std::ostream& operator<<(std::ostream&, ogdf::pc_tree::NodeLabel);
57 
58 OGDF_EXPORT std::ostream& operator<<(std::ostream&, ogdf::pc_tree::PCNodeType);
59 
60 OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCTree*);
61 
62 OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCNode*);
63 
64 OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCTree&);
65 
66 OGDF_EXPORT std::ostream& operator<<(std::ostream&, const ogdf::pc_tree::PCNode&);
67 }
ogdf::RegisteredArray
Dynamic arrays indexed with arbitrary keys.
Definition: RegisteredArray.h:817
OGDF_DECL_REG_ARRAY
#define OGDF_DECL_REG_ARRAY(NAME)
Definition: RegisteredArray.h:969
ogdf::pc_tree::PCNodeType::CNode
@ CNode
RegisteredSet.h
Declaration and implementation of ogdf::RegisteredSet.
ogdf::pc_tree::NodeLabel::Empty
@ Empty
ogdf::pc_tree
Definition: NodePCRotation.h:47
ogdf::pc_tree::PCNodeType::PNode
@ PNode
ogdf::pc_tree::PCTree
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
ogdf::AlgorithmFailureCode::Unknown
@ Unknown
ogdf::pc_tree::PCNodeType
PCNodeType
Definition: PCEnum.h:43
ogdf::pc_tree::operator<<
std::ostream & operator<<(std::ostream &, ogdf::pc_tree::NodeLabel)
ogdf::pc_tree::NodeLabel
NodeLabel
Definition: PCEnum.h:41
RegisteredArray.h
Declaration and implementation of RegisteredArray class.
ogdf::RegisteredSet
Constant-time set operations.
Definition: RegisteredSet.h:55
ogdf::pc_tree::PCNode
A node in a PC-tree that is either a P-node, C-node or leaf.
Definition: PCNode.h:62
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::pc_tree::NodeLabel::Partial
@ Partial
ogdf::pc_tree::PCNodeType::Leaf
@ Leaf