home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / scattrib.idl < prev    next >
Encoding:
Text File  |  1996-02-21  |  2.3 KB  |  76 lines

  1. //
  2. //   COMPONENT_NAME: some
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  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.  
  14. #ifndef scattrib_idl
  15. #define scattrib_idl
  16.  
  17. interface SOMTDataEntryC;
  18. interface SOMTMethodEntryC;
  19.  
  20. #include <scentry.idl>
  21. interface SOMTAttributeEntryC : SOMTEntryC
  22. {
  23. readonly attribute boolean somtIsReadonly;
  24. // Whether the attribute is readonly.
  25.  
  26. readonly attribute SOMTEntryC somtAttribType;
  27. // The type of the attribute.  This does not include pointer stars
  28. // or array declarators.  To get the "full" type, get each attribute
  29. // declarator and get the somtType attribute.
  30.  
  31. SOMTDataEntryC somtGetFirstAttributeDeclarator();
  32. // The first attribute declarator for this attribute declaration.
  33. SOMTDataEntryC somtGetNextAttributeDeclarator();
  34. // The next attribute declarator for this attribute declaration,
  35. // relative to the previous call to this method or 
  36. // somtGetFirstAttributeDeclarator.
  37.  
  38. SOMTMethodEntryC somtGetFirstGetMethod();
  39. // The first get method for this attribute declaration.
  40. SOMTMethodEntryC somtGetNextGetMethod();
  41. // The next get method for this attribute declaration,
  42. // relative to the previous call to this method or 
  43. // somtGetFirstGetMethod.
  44.  
  45. SOMTMethodEntryC somtGetFirstSetMethod();
  46. // The first set method for this attribute declaration.
  47. SOMTMethodEntryC somtGetNextSetMethod();
  48. // The next set method for this attribute declaration,
  49. // relative to the previous call to this method or 
  50. // somtGetFirstSetMethod.
  51.  
  52. #ifdef __SOMIDL__
  53.   implementation {
  54.     releaseorder: _get_somtIsReadonly, _get_somtAttribType, 
  55.                   somtGetFirstAttributeDeclarator, 
  56.           somtGetNextAttributeDeclarator, 
  57.                   somtGetFirstGetMethod, somtGetNextGetMethod, 
  58.                   somtGetFirstSetMethod, somtGetNextSetMethod;
  59.  
  60.     filestem = scattrib;
  61.     callstyle = oidl;
  62.     majorversion = 2;
  63.     minorversion = 1;
  64.  
  65.     somtSetSymbolsOnEntry: override;
  66.     somDumpSelfInt: override;
  67.  
  68.     somtIsReadonly: nodata;
  69.     somtAttribType: nodata;
  70.  
  71.   };
  72. #endif /* __SOMIDL__ */
  73. };
  74.  
  75. #endif  /* scattrib_idl */
  76.