aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/annotation.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-05-09 15:55:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-05-09 15:55:57 +0200
commit0bc53d3b22cedbe9e1f773e0a350280aef805eeb (patch)
tree9886f9aa18b538cf622a78786f43bf0d917a1bca /xsd-frontend/semantic-graph/annotation.hxx
parent900cdb2da86c6a9c523bac093aef482a1f1033e3 (diff)
Use graph container from libcutl instead of libcult
Diffstat (limited to 'xsd-frontend/semantic-graph/annotation.hxx')
-rw-r--r--xsd-frontend/semantic-graph/annotation.hxx25
1 files changed, 6 insertions, 19 deletions
diff --git a/xsd-frontend/semantic-graph/annotation.hxx b/xsd-frontend/semantic-graph/annotation.hxx
index 5505e45..c6e5dfc 100644
--- a/xsd-frontend/semantic-graph/annotation.hxx
+++ b/xsd-frontend/semantic-graph/annotation.hxx
@@ -25,13 +25,8 @@ namespace XSDFrontend
return *annotation_;
}
- protected:
- friend class Bits::Graph<Node, Edge>;
-
- Annotates ()
- : annotation_ (0)
- {
- }
+ public:
+ Annotates (): annotation_ (0) {}
Void
set_left_node (Annotation& a)
@@ -40,14 +35,10 @@ namespace XSDFrontend
}
Void
- set_right_node (Node&)
- {
- }
+ set_right_node (Node&) {}
Void
- set_right_node (Edge&)
- {
- }
+ set_right_node (Edge&) {}
private:
Annotation* annotation_;
@@ -64,9 +55,7 @@ namespace XSDFrontend
return documentation_;
}
- protected:
- friend class Bits::Graph<Node, Edge>;
-
+ public:
Annotation (Path const& file,
UnsignedLong line,
UnsignedLong column,
@@ -76,9 +65,7 @@ namespace XSDFrontend
}
Void
- add_edge_left (Annotates&)
- {
- }
+ add_edge_left (Annotates&) {}
private:
WideString documentation_;