Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

Ogml.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/basic.h>
36 
37 
38 namespace ogdf
39 {
40 
41 class Ogml
42 {
43 public:
45  enum TagId
46  {
47  t_none = -1,
95 
97  };
98 
99 
101  static const string s_tagNames[TAG_NUM];
102 
103 
106  {
107  a_none = -1,
152 
154  };
155 
156 
158  static const string s_attributeNames[ATT_NUM];
159 
160 
163  {
164  av_any = 0,
259  // Constraint-Types:
263 
265  };
266 
267 
269  static const string s_attributeValueNames[ATT_VAL_NUM];
270 
271 
274  {
277  vs_idRefErr = -8,
278  vs_unexpTag = -7,
279  vs_unexpAtt = -6,
283  vs_cardErr = -2,
284  vs_invalid = -1,
285  vs_valid = 1
286  };
287 
288 
291  {
296 
298  };
299 
301  static const string s_graphTypeS[GRAPH_TYPE_NUM];
302 };
303 
304 } //namspace ogdf
attribute idRef of elements source, target, nodeRef, nodeStyle
Definition: Ogml.h:192
number of graph types
Definition: Ogml.h:297
for any attributeValue
Definition: Ogml.h:164
AttributeId
This enumeration is used for identifying OGML attributes.
Definition: Ogml.h:105
tag template within tag labelStyle/-Template
Definition: Ogml.h:70
attribute idRef of elements edgeRef, edgeStyle
Definition: Ogml.h:121
attribute idRef of subelement template of element edgeStyle
Definition: Ogml.h:126
number of tags
Definition: Ogml.h:96
attribute idRef of element endpoint
Definition: Ogml.h:196
attribute type of subelement line of tag nodeStyleTemplate
Definition: Ogml.h:130
attribute idRef of elements edgeRef, edgeStyle
Definition: Ogml.h:193
static const string s_attributeNames[ATT_NUM]
Stores the names of all OGML attributes.
Definition: Ogml.h:158
expected tag not found
Definition: Ogml.h:280
attribute type of subelement shape of tag nodeStyleTemplate
Definition: Ogml.h:131
attribute idRef of elements edgeRef, edgeStyle
Definition: Ogml.h:122
id already exhausted
Definition: Ogml.h:276
attribute idRef of subelement template of element nodeStyle
Definition: Ogml.h:197
GraphType
This enumeration is used for identifying graph types.
Definition: Ogml.h:290
ValidityState
This enumeration is used for encoding diverse validity stati of tags and attributes after parsing and...
Definition: Ogml.h:273
static const string s_attributeValueNames[ATT_VAL_NUM]
Stores the names of all OGML values of attributes.
Definition: Ogml.h:269
hexadecimal value
Definition: Ogml.h:190
static const string s_graphTypeS[GRAPH_TYPE_NUM]
Stores the names of graph types.
Definition: Ogml.h:301
attribute-value error
Definition: Ogml.h:282
expected attribute not found
Definition: Ogml.h:281
tag unexpected
Definition: Ogml.h:278
static const string s_tagNames[TAG_NUM]
Stores the names of all OGML tags.
Definition: Ogml.h:101
integer value
Definition: Ogml.h:203
tag template within tag edgeStyle/-Template
Definition: Ogml.h:59
attribute idRef of elements edgeRef, edgeStyle
Definition: Ogml.h:194
attribute idRef of subelement template of element nodeStyle
Definition: Ogml.h:125
attribute idRef of subelement template of element edgeStyle
Definition: Ogml.h:198
number of attributes
Definition: Ogml.h:153
tag/attribute is invalid (no detailled information)
Definition: Ogml.h:284
attribute idRef of subelement template of element labelStyle
Definition: Ogml.h:199
attribute idRef of subelement endpoint of element segment
Definition: Ogml.h:200
attribute idRef of subelement template of element labelStyle
Definition: Ogml.h:127
tag template within tag nodeStyle/-Template
Definition: Ogml.h:78
attribute type of subelements source-/targetStyle of tag edgeStyleTemplate
Definition: Ogml.h:139
TagId
This enumeration is used for identifying OGML tags.
Definition: Ogml.h:45
Basic declarations, included by all source files.
empty tag inclusion
Definition: Ogml.h:275
tag/attribute is valid
Definition: Ogml.h:285
attribute idRef of subelement endpoint of element segment
Definition: Ogml.h:128
attribute idRef of element endpoint
Definition: Ogml.h:123
attribute unexpected
Definition: Ogml.h:279
attribute idRef of element endpoint
Definition: Ogml.h:124
referenced id wasn&#39;t found or wrong type of referenced tag
Definition: Ogml.h:277
attribute idRef of elements source, target, nodeRef, nodeStyle
Definition: Ogml.h:120
The namespace for all OGDF objects.
id attribute
Definition: Ogml.h:119
attribute idRef of element endpoint
Definition: Ogml.h:195
tag/attribute cardinality error
Definition: Ogml.h:283
real value
Definition: Ogml.h:217
AttributeValueId
This enumeration is used for identifying OGML attributes.
Definition: Ogml.h:162
number of attribute values
Definition: Ogml.h:264