From 90801c5afeb37e4297076bdd5354ba41a7009a3f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 May 2012 17:23:47 +0200 Subject: Use standard types instead of ones from libcult --- xsd-frontend/semantic-graph/particle.hxx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'xsd-frontend/semantic-graph/particle.hxx') diff --git a/xsd-frontend/semantic-graph/particle.hxx b/xsd-frontend/semantic-graph/particle.hxx index e66a1ad..50f5f9f 100644 --- a/xsd-frontend/semantic-graph/particle.hxx +++ b/xsd-frontend/semantic-graph/particle.hxx @@ -36,41 +36,41 @@ namespace XSDFrontend } public: - UnsignedLong + unsigned long min () const { return min_; } - UnsignedLong + unsigned long max () const { return max_; } public: - ContainsParticle (UnsignedLong min, UnsignedLong max); + ContainsParticle (unsigned long min, unsigned long max); - Void + void set_left_node (Compositor& n) { compositor_ = &n; } - Void + void set_right_node (Particle& n) { particle_ = &n; } - Void + void clear_left_node (Compositor& n) { assert (compositor_ == &n); compositor_ = 0; } - Void + void clear_right_node (Particle& n) { assert (particle_ == &n); @@ -80,7 +80,7 @@ namespace XSDFrontend private: Particle* particle_; Compositor* compositor_; - UnsignedLong min_, max_; + unsigned long min_, max_; }; // @@ -88,7 +88,7 @@ namespace XSDFrontend class Particle: public virtual Node { public: - Boolean + bool contained_particle_p () { return contained_particle_ != 0; @@ -102,14 +102,14 @@ namespace XSDFrontend } public: - UnsignedLong + unsigned long min () const { assert (contained_particle_ != 0); return contained_particle_->min (); } - UnsignedLong + unsigned long max () const { assert (contained_particle_ != 0); @@ -119,13 +119,13 @@ namespace XSDFrontend public: Particle (); - Void + void add_edge_right (ContainsParticle& e) { contained_particle_ = &e; } - Void + void remove_edge_right (ContainsParticle& e) { assert (contained_particle_ == &e); -- cgit v1.1