aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/elements.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:05:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-15 14:05:10 +0200
commit4c374763f7a13c1062dc99f4b68f0ee61c952ca0 (patch)
tree65b98455e45d57b2c0c7b474a6e410b522d786ad /xsd-frontend/semantic-graph/elements.hxx
parent4c174428379af308926ec70bc5b58539a1863abf (diff)
Edges don't have annotations
Diffstat (limited to 'xsd-frontend/semantic-graph/elements.hxx')
-rw-r--r--xsd-frontend/semantic-graph/elements.hxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/xsd-frontend/semantic-graph/elements.hxx b/xsd-frontend/semantic-graph/elements.hxx
index f59961b..4ce7fd6 100644
--- a/xsd-frontend/semantic-graph/elements.hxx
+++ b/xsd-frontend/semantic-graph/elements.hxx
@@ -194,22 +194,6 @@ namespace XSDFrontend
}
public:
- Boolean
- annotated_p () const
- {
- return annotates_ != 0;
- }
-
- Annotates&
- annotated () const
- {
- return *annotates_;
- }
-
- Annotation&
- annotation ();
-
- public:
template <typename X>
Boolean
is_a () const
@@ -221,19 +205,11 @@ namespace XSDFrontend
friend class Bits::Graph<Node, Edge>;
Edge ()
- : annotates_ (0)
{
}
- Void
- add_edge_right (Annotates& a)
- {
- annotates_ = &a;
- }
-
private:
mutable Context context_;
- Annotates* annotates_;
};
inline Boolean