home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / ObjectTcl-1.1 / Test_cdl.cdl < prev    next >
Encoding:
Text File  |  1995-06-30  |  3.9 KB  |  100 lines

  1. #   _ __ ___ _
  2. #  | |\ /  /| |  $Id: Test_cdl.cdl,v 1.8 1995/06/16 13:04:18 deans Exp $
  3. #  | | /  / | |  Copyright (C) 1995 IXI Limited.
  4. #  |_|/__/_\|_|  IXI Limited, Cambridge, England.
  5. #  Component   : Test_cdl.cdl
  6. #  Author      : Dean Sheehan (deans@x.co.uk)
  7. #  Description : Cdl descriptions for test classes 
  8. #  License     :
  9. #             Object Tcl License & Copyright
  10. #             ------------------------------
  11. # IXI Object Tcl software, both binary and source (hereafter, Software) is
  12. # copyrighted by IXI Limited (IXI), and ownership remains with IXI. 
  13. # IXI grants you (herafter, Licensee) a license to use the Software for
  14. # academic, research and internal business purposes only, without a fee. 
  15. # Licensee may distribute the binary and source code (if required) to third
  16. # parties provided that the copyright notice and this statement appears on all
  17. # copies and that no charge is associated with such copies. 
  18. # Licensee may make derivative works. However, if Licensee distributes any
  19. # derivative work based on or derived from the Software, then Licensee will (1)
  20. # notify IXI regarding its distribution of the derivative work, and (2) clearly
  21. # notify users that such derivative work is a modified version and not the
  22. # original IXI Object Tcl distributed by IXI. IXI strongly recommends that
  23. # Licensee provide IXI the right to incorporate such modifications into future
  24. # releases of the Software under these license terms. 
  25. # Any Licensee wishing to make commercial use of the Software should contact
  26. # IXI, to negotiate an appropriate license for such commercial use. Commercial
  27. # use includes (1) integration of all or part of the source code into a product
  28. # for sale or license by or on behalf of Licensee to third parties, or (2)
  29. # distribution of the binary code or source code to third parties that need it
  30. # to utilize a commercial product sold or licensed by or on behalf of Licensee. 
  31. # IXI MAKES NO REPRESENTATIONS ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY
  32. # PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. IXI
  33. # SHALL NOT BE LIABLE FOR ANY DAMAGES WHATSOEVER SUFFERED BY THE USERS OF THIS
  34. # SOFTWARE. 
  35. # Copyright (C) 1995, IXI Limited 
  36. # By using or copying this Software, Licensee agrees to abide by the copyright
  37. # law and all other applicable laws of England and the U.S., including, but not # limited to, export control laws, and the terms of this license. IXI shall have# the right to terminate this license immediately by written notice upon
  38. # Licensee's breach of, or non-compliance with, any of its terms. Licensee may
  39. # be held legally responsible for any copyright infringement that is caused or
  40. # encouraged by Licensee's failure to abide by the terms of this license. 
  41. # Comments and questions are welcome and can be sent to
  42. # otcl@x.co.uk 
  43. # For more information on copyright and licensing issues, contact: 
  44. # Legal Department, IXI Limited, Vision Park, Cambridge CB4 4ZR,
  45. # ENGLAND. 
  46. #
  47.  
  48. pass {
  49. // Local Includes
  50. #include "Test.H"
  51. #include "Test_cdl.H"
  52. }
  53.  
  54. pass {
  55. // Generated by cdl processor for binding to Object Tcl
  56. }
  57.  
  58. class SimpleCppClass {
  59.    constructor {str; int}
  60.    method getValue -static {void} {int}
  61.    method setValue -static {int} {void}
  62.    method getStr -static {void} {str}
  63.    method setStr -static {str} {void}
  64.    classMethod getNoOfObjects {void} {int}
  65.    classMethod getSimpleCppObject {void} {obref -new SimpleCppClass}
  66. }
  67.  
  68. class TestCppClass {
  69.    constructor {}
  70.    method methodOne -static {void} {void}
  71.    method methodTwo -dynamic {void} {void}
  72.    method setOtherObject -static {obref TestCppClass} {void}
  73.    method getOtherObject -static {void} {obref TestCppClass}
  74.    method doMethodTwoOnOtherObject -static {void} {void}
  75. }
  76.  
  77. class PtrTestClass {
  78.    constructor {obptr PtrTestClass}
  79.    method instanceMethodTest -static {obptr PtrTestClass} {void}
  80.    classMethod classMethodTest {obptr PtrTestClass} {void}
  81. }
  82.  
  83. class AbstractClass {
  84.    constructor {}
  85.    method aMethod -abstract {void} {void}
  86. }
  87.