home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / tassoc.idl < prev    next >
Text File  |  1999-02-22  |  3KB  |  103 lines

  1. //#  @(#) 2.10 src/somuc/tassoc.idl, somuc, som2.1 12/26/95 15:35:02 [7/30/96 14:50:02]
  2. //
  3. //   COMPONENT_NAME: somuc
  4. //
  5. //   ORIGINS: 82, 81, 27
  6. //
  7. //
  8. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,1996  
  9. //   All Rights Reserved
  10. //   Licensed Materials - Property of IBM
  11. //   US Government Users Restricted Rights - Use, duplication or
  12. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  13. //
  14. //   Copyright ⌐ 1988 Apple Computer, Inc. All rights reserved.
  15.  
  16. /*
  17.  * CLASS_NAME: somf_TAssoc
  18.  *
  19.  * DESCRIPTION: A somf_TAssoc is used to hold a pair of objects.  Typically, these
  20.  *              structures are owned by some other higher level object
  21.  *              (e.g. a dictionary) and are usually not returned to the user.
  22.  *
  23.  */
  24.  
  25. // This file was generated by the SOM Compiler.
  26. // FileName: TAssoc.id2.
  27. // Generated using:
  28. //     SOM Precompiler spc: 6.13
  29. //     SOM Emitter emitidl.dll: 6.18
  30. #ifndef TAssoc_idl
  31. #define TAssoc_idl
  32.  
  33. #include "mcollect.idl"
  34.  
  35. interface somf_TAssoc : somf_MCollectible
  36. {
  37.   somf_TAssoc somfTAssocInitMM(in somf_MCollectible k,
  38.                 in somf_MCollectible v);
  39.  
  40.   // Initialize somf_TAssoc to an existing key (k) and value (v).
  41.   //#   TAssoc(MCollectible* k, MCollectible* v = SOMF_NIL);
  42.  
  43.   somf_TAssoc somfTAssocInitM(in somf_MCollectible k);
  44.  
  45.   // Initialize somf_TAssoc to an existing key (k).  The value is set to SOMF_NIL.
  46.   //#   TAssoc(MCollectible* k, MCollectible* v = SOMF_NIL);
  47.  
  48.   somf_MCollectible somfGetKey();
  49.  
  50.   // Get the key (fKey) to the associated pair.
  51.   //#    MCollectible* GetKey();
  52.  
  53.   somf_MCollectible somfGetValue();
  54.  
  55.   // Get the value (fValue) to the associated pair.
  56.   //#    MCollectible*   GetValue();
  57.  
  58.   void somfSetKey(in somf_MCollectible k);
  59.  
  60.   // Set the key (fKey) to the associated pair.
  61.   //#    void   SetKey(MCollectible* k);
  62.  
  63.   void somfSetValue(in somf_MCollectible v);
  64.  
  65.   // Set the value (fValue) to the associated pair.
  66.   //#    void     SetValue( MCollectible* v);
  67.  
  68.  
  69. #ifdef __SOMIDL__
  70.   implementation {
  71.  
  72.     releaseorder: somfGetKey,somfGetValue,somfSetKey,somfSetValue,
  73.           somfTAssocInitMM,somfTAssocInitM;
  74.  
  75.     //# Class Modifiers
  76.     majorversion = 2;
  77.     minorversion = 1;
  78.     filestem = tassoc;
  79.     dllname = "somuc.dll";
  80.  
  81.  
  82.     //# Internal Instance Variables
  83.     somf_MCollectible fkey;
  84.     somf_MCollectible fvalue;
  85.  
  86.     //# Method Modifiers
  87.     somInit: override;
  88.     somUninit: override;
  89.     somfGetKey: nooverride;
  90.     somfGetValue: nooverride;
  91.     somfSetKey: nooverride;
  92.     somfSetValue: nooverride;
  93.     somfTAssocInitMM: nooverride;
  94.     somfTAssocInitM: nooverride;
  95.  
  96.     //# Data Modifiers
  97.  
  98.   };
  99. #endif /* __SOMIDL__ */
  100. };
  101.  
  102. #endif  /* TAssoc_idl */
  103.