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

  1. //
  2. //   COMPONENT_NAME: some
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996 
  8. //   All Rights Reserved
  9. //   Licensed Materials - Property of IBM
  10. //   US Government Users Restricted Rights - Use, duplication or
  11. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. //
  13. //#  @(#) somc/scattrib.idl 2.7 12/26/95 16:19:18 [7/30/96 14:45:54]
  14.  
  15.  
  16. #ifndef scattrib_idl
  17. #define scattrib_idl
  18.  
  19. interface SOMTDataEntryC;
  20. interface SOMTMethodEntryC;
  21.  
  22. #include <scentry.idl>
  23. interface SOMTAttributeEntryC : SOMTEntryC
  24. {
  25. readonly attribute boolean somtIsReadonly;
  26. // Whether the attribute is readonly.
  27.  
  28. readonly attribute SOMTEntryC somtAttribType;
  29. // The type of the attribute.  This does not include pointer stars
  30. // or array declarators.  To get the "full" type, get each attribute
  31. // declarator and get the somtType attribute.
  32.  
  33. SOMTDataEntryC somtGetFirstAttributeDeclarator();
  34. // The first attribute declarator for this attribute declaration.
  35. SOMTDataEntryC somtGetNextAttributeDeclarator();
  36. // The next attribute declarator for this attribute declaration,
  37. // relative to the previous call to this method or 
  38. // somtGetFirstAttributeDeclarator.
  39.  
  40. SOMTMethodEntryC somtGetFirstGetMethod();
  41. // The first get method for this attribute declaration.
  42. SOMTMethodEntryC somtGetNextGetMethod();
  43. // The next get method for this attribute declaration,
  44. // relative to the previous call to this method or 
  45. // somtGetFirstGetMethod.
  46.  
  47. SOMTMethodEntryC somtGetFirstSetMethod();
  48. // The first set method for this attribute declaration.
  49. SOMTMethodEntryC somtGetNextSetMethod();
  50. // The next set method for this attribute declaration,
  51. // relative to the previous call to this method or 
  52. // somtGetFirstSetMethod.
  53.  
  54. #ifdef __SOMIDL__
  55.   implementation {
  56.     releaseorder: _get_somtIsReadonly, _get_somtAttribType, 
  57.                   somtGetFirstAttributeDeclarator, 
  58.           somtGetNextAttributeDeclarator, 
  59.                   somtGetFirstGetMethod, somtGetNextGetMethod, 
  60.                   somtGetFirstSetMethod, somtGetNextSetMethod;
  61.  
  62.  
  63.     //# Class Modifiers
  64.     filestem = scattrib;
  65.     callstyle = oidl;
  66.     majorversion = 2;
  67.     minorversion = 1;
  68.   
  69.     //# Method Modifiers
  70.     somtSetSymbolsOnEntry: override;
  71.     somDumpSelfInt: override;
  72.   
  73.     //# Attribute Modifiers
  74.     somtIsReadonly: nodata;
  75.     somtAttribType: nodata;
  76.  
  77.   };
  78. #endif /* __SOMIDL__ */
  79. };
  80.  
  81.  
  82. #endif  /* scattrib_idl */
  83.