aboutsummaryrefslogtreecommitdiff
path: root/xsd-frontend/semantic-graph/particle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xsd-frontend/semantic-graph/particle.cxx')
-rw-r--r--xsd-frontend/semantic-graph/particle.cxx53
1 files changed, 0 insertions, 53 deletions
diff --git a/xsd-frontend/semantic-graph/particle.cxx b/xsd-frontend/semantic-graph/particle.cxx
deleted file mode 100644
index c303b8f..0000000
--- a/xsd-frontend/semantic-graph/particle.cxx
+++ /dev/null
@@ -1,53 +0,0 @@
-// file : xsd-frontend/semantic-graph/particle.cxx
-// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
-
-#include <cutl/compiler/type-info.hxx>
-
-#include <xsd-frontend/semantic-graph/particle.hxx>
-
-namespace XSDFrontend
-{
- namespace SemanticGraph
- {
- // ContainsParticle
- //
- ContainsParticle::
- ContainsParticle (unsigned long min, unsigned long max)
- : particle_ (0), compositor_ (0), min_ (min), max_ (max)
- {
- }
-
- // Particle
- //
- Particle::
- Particle ()
- : contained_particle_ (0)
- {
- }
-
- namespace
- {
- using compiler::type_info;
-
- struct ContainsParticleInit
- {
- ContainsParticleInit ()
- {
- type_info ti (typeid (ContainsParticle));
- ti.add_base (typeid (Edge));
- insert (ti);
- }
- } contains_particle_init_;
-
- struct ParticleInit
- {
- ParticleInit ()
- {
- type_info ti (typeid (Particle));
- ti.add_base (typeid (Node));
- insert (ti);
- }
- } particle_init_;
- }
- }
-}