commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/appserver/src/_featuretest thekitchensink.odl


From: Daniel E. Baumann
Subject: gnue/appserver/src/_featuretest thekitchensink.odl
Date: Mon, 22 Jul 2002 07:20:27 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Daniel E. Baumann <address@hidden>      02/07/22 07:20:27

Modified files:
        appserver/src/_featuretest: thekitchensink.odl 

Log message:
        Add some to the kitchen sink.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/appserver/src/_featuretest/thekitchensink.odl.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: gnue/appserver/src/_featuretest/thekitchensink.odl
diff -c gnue/appserver/src/_featuretest/thekitchensink.odl:1.2 
gnue/appserver/src/_featuretest/thekitchensink.odl:1.3
*** gnue/appserver/src/_featuretest/thekitchensink.odl:1.2      Sun Jul 21 
09:19:23 2002
--- gnue/appserver/src/_featuretest/thekitchensink.odl  Mon Jul 22 07:20:26 2002
***************
*** 52,63 ****
  
  interface KungFu
  {
!   // should add some attributes, etc. here
  };
  
  class Dragon: KungFu
  {
!   // should add some attributes, etc. here
  };
  
  module GNUe
--- 52,67 ----
  
  interface KungFu
  {
!   void Kick();
!   void Punch();
  };
  
  class Dragon: KungFu
  {
!   attribute string sensai;
! 
!   void dragonKick();
!   void dragonPunch();
  };
  
  module GNUe
***************
*** 196,206 ****
  
    interface CodeSlave: Masochist
    {
!     exception WhoSaidYouCouldStopCoding{string cslave_name; boolean beating};
  
      relationship GNUe::DaMasta isBeaten inverse GNUe::DaMasta::beats;
  
      void stopCoding() raises(WhoSaidYouCouldStopCoding);
    };
  
    // This is the fun module :). It is also used to test nesting of
--- 200,217 ----
  
    interface CodeSlave: Masochist
    {
!     enum HackType {common, forms, appserver, designer, 
!                    reports, navigator, phpforms};
! 
!     typedef HackType hack_t;
! 
!     exception WhoSaidYouCouldStopCoding{string cslave_name; boolean beating;};
!     exception CVSPermissionDenied{string why;};
  
      relationship GNUe::DaMasta isBeaten inverse GNUe::DaMasta::beats;
  
      void stopCoding() raises(WhoSaidYouCouldStopCoding);
+     boolean commitCode(in string code, in hack_t) 
raises(CVSPermissionDenied); 
    };
  
    // This is the fun module :). It is also used to test nesting of
***************
*** 211,226 ****
      class Goat: GNUe::CodeSlave
      {
        attribute boolean madGoatRaped = GNUe::MADGOATS;
  
        relationship GNUe::DaMasta isAssignedTicketBy
                        inverse GNUe::DaMasta assignsTicket;
        
      };
  
      class Chillywilly extends Goat
      ( extent goats)
      {
!       void troutslap(in Goat slapee);
      };
  
      class Jcater extends Goat
--- 222,263 ----
      class Goat: GNUe::CodeSlave
      {
        attribute boolean madGoatRaped = GNUe::MADGOATS;
+       attribute string name;
+       attribute boolean FSFCopyrightAssignment;
+       
  
        relationship GNUe::DaMasta isAssignedTicketBy
                        inverse GNUe::DaMasta assignsTicket;
        
      };
  
+     class Derek extends Goat: GNUe::DaMasta
+     ( extent goats)
+     {
+       exception BurnRoofofMouth{};
+       exception NeedsReheating{};x
+       exception OutofTopping{string topping;};
+ 
+       struct PizzaType
+       {
+         string kind;
+         bag<string> toppings; // allows duplicate toppings ("extra" toppings)
+       };
+ 
+       typedef PizzaType pizza_t;
+ 
+       attribute boolean orderPizza;
+       attribute float temperature;
+       attribute set<pizza_t> pizzas;
+ 
+       boolean orderPizza(in set<pizza_t> pizzaPies) raises(OutofTopping);
+       void eatPizza(in pizza_t pizza) raises(BurnRoofofMouth, NeedsReheating);
+     };
+ 
      class Chillywilly extends Goat
      ( extent goats)
      {
!       void troutSlap(in Goat slapee);
      };
  
      class Jcater extends Goat
***************
*** 234,239 ****
--- 271,282 ----
      {
        void consumeAtmosphericCrack();
      };
+ 
+     class Reinhard extends Goat
+     ( extent goats)
+     {
+       string IRCQuitMessage();
+     }
    };
  
  };



reply via email to

[Prev in Thread] Current Thread [Next in Thread]