aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-04-15 08:34:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-04-15 08:34:52 +0200
commit71113814f953b839c2ce2608376a9699f32f8969 (patch)
treec53324e6953bae96d949807ea5f1cd33b1841415 /xsd-frontend
parent41c79be2088702071d4a131fe0fa96208fef9674 (diff)
Allow resetting edges on nodes
Diffstat (limited to 'xsd-frontend')
-rw-r--r--xsd-frontend/semantic-graph/complex.hxx1
-rw-r--r--xsd-frontend/semantic-graph/compositors.hxx1
-rw-r--r--xsd-frontend/semantic-graph/element-group.hxx1
-rw-r--r--xsd-frontend/semantic-graph/element.hxx1
-rw-r--r--xsd-frontend/semantic-graph/elements.hxx5
-rw-r--r--xsd-frontend/semantic-graph/particle.hxx1
6 files changed, 0 insertions, 10 deletions
diff --git a/xsd-frontend/semantic-graph/complex.hxx b/xsd-frontend/semantic-graph/complex.hxx
index 7d4b650..e7ee947 100644
--- a/xsd-frontend/semantic-graph/complex.hxx
+++ b/xsd-frontend/semantic-graph/complex.hxx
@@ -58,7 +58,6 @@ namespace XSDFrontend
Void
add_edge_left (ContainsCompositor& e)
{
- assert (contains_compositor_ == 0);
contains_compositor_ = &e;
}
diff --git a/xsd-frontend/semantic-graph/compositors.hxx b/xsd-frontend/semantic-graph/compositors.hxx
index 90a95b8..c82d8a4 100644
--- a/xsd-frontend/semantic-graph/compositors.hxx
+++ b/xsd-frontend/semantic-graph/compositors.hxx
@@ -210,7 +210,6 @@ namespace XSDFrontend
Void
add_edge_right (ContainsCompositor& e)
{
- assert (contained_compositor_ == 0);
contained_compositor_ = &e;
}
diff --git a/xsd-frontend/semantic-graph/element-group.hxx b/xsd-frontend/semantic-graph/element-group.hxx
index 49ed93c..23514b5 100644
--- a/xsd-frontend/semantic-graph/element-group.hxx
+++ b/xsd-frontend/semantic-graph/element-group.hxx
@@ -33,7 +33,6 @@ namespace XSDFrontend
Void
add_edge_left (ContainsCompositor& e)
{
- assert (contains_compositor_ == 0);
contains_compositor_ = &e;
}
diff --git a/xsd-frontend/semantic-graph/element.hxx b/xsd-frontend/semantic-graph/element.hxx
index 91df308..e7046e4 100644
--- a/xsd-frontend/semantic-graph/element.hxx
+++ b/xsd-frontend/semantic-graph/element.hxx
@@ -84,7 +84,6 @@ namespace XSDFrontend
Void
add_edge_left (Substitutes& e)
{
- assert (substitutes_ == 0);
substitutes_ = &e;
}
diff --git a/xsd-frontend/semantic-graph/elements.hxx b/xsd-frontend/semantic-graph/elements.hxx
index f0b679f..3a95c09 100644
--- a/xsd-frontend/semantic-graph/elements.hxx
+++ b/xsd-frontend/semantic-graph/elements.hxx
@@ -222,7 +222,6 @@ namespace XSDFrontend
Void
add_edge_right (Annotates& a)
{
- assert (annotates_ == 0);
annotates_ = &a;
}
@@ -309,7 +308,6 @@ namespace XSDFrontend
Void
add_edge_right (Annotates& a)
{
- assert (annotates_ == 0);
annotates_ = &a;
}
@@ -444,7 +442,6 @@ namespace XSDFrontend
Void
add_edge_right (Names& e)
{
- assert (named__ == 0);
named__ = &e;
}
@@ -709,7 +706,6 @@ namespace XSDFrontend
Void
add_edge_left (Inherits& e)
{
- assert (inherits_ == 0);
inherits_ = &e;
}
@@ -948,7 +944,6 @@ namespace XSDFrontend
Namespace* namespace__;
};
-
//
//
class Member: public virtual Instance
diff --git a/xsd-frontend/semantic-graph/particle.hxx b/xsd-frontend/semantic-graph/particle.hxx
index edfd264..df48de4 100644
--- a/xsd-frontend/semantic-graph/particle.hxx
+++ b/xsd-frontend/semantic-graph/particle.hxx
@@ -126,7 +126,6 @@ namespace XSDFrontend
Void
add_edge_right (ContainsParticle& e)
{
- assert (contained_particle_ == 0);
contained_particle_ = &e;
}