home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / OPEND_HH.ZIP / SUVIEW.HH < prev    next >
Text File  |  1995-04-13  |  5KB  |  149 lines

  1. #ifndef _DTS_HH_INCLUDED_SUVIEW
  2. #define _DTS_HH_INCLUDED_SUVIEW
  3. /* Start Interface ODStorageUnitView */
  4.  
  5. // This file was generated by the IBM "DirectToSOM" emitter for C++ (V1.71)
  6. // Generated at 04/13/95 11:47:35 EDT
  7.  
  8. #include <som.hh>
  9.  
  10.      #pragma SOMAsDefault(on)
  11. class SOMClass;
  12.      #pragma SOMAsDefault(pop)
  13.      #pragma SOMAsDefault(on)
  14. class SOMObject;
  15.      #pragma SOMAsDefault(pop)
  16.      #pragma SOMAsDefault(on)
  17. class ODObject;
  18.      #pragma SOMAsDefault(pop)
  19.      #pragma SOMAsDefault(on)
  20. class ODExtension;
  21.      #pragma SOMAsDefault(pop)
  22.      #pragma SOMAsDefault(on)
  23. class ODStorageUnitView;
  24.      #pragma SOMAsDefault(pop)
  25.      #pragma SOMAsDefault(on)
  26. class ODStorageUnit;
  27.      #pragma SOMAsDefault(pop)
  28.      #pragma SOMAsDefault(on)
  29. class ODStorageUnitCursor;
  30.      #pragma SOMAsDefault(pop)
  31.      #pragma SOMAsDefault(on)
  32. class ODDraft;
  33.      #pragma SOMAsDefault(pop)
  34.      #pragma SOMAsDefault(on)
  35. class ODStorageUnitRefIterator;
  36.      #pragma SOMAsDefault(pop)
  37.      #pragma SOMAsDefault(on)
  38. class ODPart;
  39.      #pragma SOMAsDefault(pop)
  40. #include <ODObject.hh>
  41. #include <somcls.hh>
  42. #pragma SOMNonDTS(on)
  43.  
  44. #pragma SOMAsDefault(on)
  45. class ODStorageUnitView : public ODObject {
  46.  
  47.     #pragma SOMClassName(*, "ODStorageUnitView")
  48.     #pragma SOMNoMangling(*)
  49.     #pragma SOMNoDataDirect(*)
  50.     #pragma SOMNonDTS(*)
  51.  
  52.      #pragma SOMCallstyle (idl)
  53.      #pragma SOMAsDefault(off)
  54.      #pragma SOMAsDefault(pop)
  55.   public :
  56.      virtual void InitStorageUnitView(ODStorageUnit* storageUnit, 
  57.                                       ODStorageUnitCursor* cursor);
  58.      virtual ODStorageUnit* GetStorageUnit();
  59.      virtual ODStorageUnitCursor* GetCursor();
  60.      virtual ODStorageUnitView* Externalize();
  61.      virtual ODStorageUnitView* Internalize();
  62.      virtual ODID GetID();
  63.      virtual ODStorageUnitName GetName();
  64.      virtual void SetName(ODStorageUnitName name);
  65.      virtual ODStorageUnitView* AddProperty(ODPropertyName propertyName);
  66.      virtual ODStorageUnitView* AddValue(ODValueType type);
  67.      virtual ODStorageUnitView* Remove();
  68.      virtual void CopyTo(ODStorageUnit* toSU);
  69.      virtual ODStorageUnit* CloneTo(ODDraftKey key, ODDraft* destDraft, 
  70.                                     ODStorageUnit* initiatingFrameSU);
  71.      virtual void CloneInto(ODDraftKey key, ODStorageUnit* destStorageUnit, 
  72.                             ODStorageUnit* initiatingFrameSU);
  73.      virtual ODPropertyName GetProperty();
  74.      virtual ODValueType GetType();
  75.      virtual void SetType(ODValueType valueType);
  76.      virtual void SetOffset(ODULong offset);
  77.      virtual ODULong GetOffset();
  78.      virtual ODULong GetValue(ODULong length, ODValue value);
  79.      virtual void SetValue(ODULong length, ODValue value);
  80.      virtual void InsertValue(ODULong length, ODValue value);
  81.      virtual void DeleteValue(ODULong length);
  82.      virtual ODULong GetSize();
  83.      virtual ODBoolean IsValidStorageUnitRef(ODStorageUnitRef ref);
  84.      virtual ODStorageUnitRef GetStrongStorageUnitRef(ODStorageUnit* embeddedSU);
  85.      virtual ODStorageUnitRef GetWeakStorageUnitRef(ODStorageUnit* embeddedSU);
  86.      virtual ODBoolean IsStrongStorageUnitRef(ODStorageUnitRef ref);
  87.      virtual ODBoolean IsWeakStorageUnitRef(ODStorageUnitRef ref);
  88.      virtual ODStorageUnitView* RemoveStorageUnitRef(ODStorageUnitRef aRef);
  89.      virtual ODStorageUnitID GetIDFromStorageUnitRef(ODStorageUnitRef aRef);
  90.      virtual ODStorageUnitRefIterator* GetStorageUnitRefIterator();
  91.      virtual ODULong GetGenerationNumber();
  92.      virtual ODULong IncrementGenerationNumber();
  93.      virtual ODBoolean IsPromiseValue();
  94.      virtual void SetPromiseValue(ODValueType valueType, ODULong offset, 
  95.                                   ODULong length, ODValue value, 
  96.                                   ODPart* sourcePart);
  97.      virtual ODULong GetPromiseValue(ODValueType valueType, ODULong offset, 
  98.                                      ODULong length, ODValue value, 
  99.                                      ODPart** sourcePart);
  100.      ODStorageUnitView();  
  101.      virtual ~ODStorageUnitView();  
  102.      virtual ODSize Purge(ODSize size);
  103.      #pragma SOMReleaseOrder ( \
  104.                   "InitStorageUnitView", \
  105.                   "GetStorageUnit", \
  106.                   "GetCursor", \
  107.                   "Externalize", \
  108.                   "Internalize", \
  109.                   "GetID", \
  110.                   "GetName", \
  111.                   "SetName", \
  112.                   "AddProperty", \
  113.                   "AddValue", \
  114.                   "Remove", \
  115.                   "CopyTo", \
  116.                   "CloneTo", \
  117.                   "CloneInto", \
  118.                   "GetProperty", \
  119.                   "GetType", \
  120.                   "SetType", \
  121.                   "SetOffset", \
  122.                   "GetOffset", \
  123.                   "GetValue", \
  124.                   "SetValue", \
  125.                   "InsertValue", \
  126.                   "DeleteValue", \
  127.                   "GetSize", \
  128.                   "IsValidStorageUnitRef", \
  129.                   "GetStrongStorageUnitRef", \
  130.                   "GetWeakStorageUnitRef", \
  131.                   "IsStrongStorageUnitRef", \
  132.                   "IsWeakStorageUnitRef", \
  133.                   "RemoveStorageUnitRef", \
  134.                   "GetIDFromStorageUnitRef", \
  135.                   "GetStorageUnitRefIterator", \
  136.                   "GetGenerationNumber", \
  137.                   "IncrementGenerationNumber", \
  138.                   "IsPromiseValue", \
  139.                   "SetPromiseValue", \
  140.                   "GetPromiseValue", \
  141.                   *, \
  142.                   *)
  143. };
  144. #pragma SOMAsDefault(pop)
  145.  
  146.      #pragma SOMNonDTS(pop)
  147. /* End ODStorageUnitView */
  148. #endif /* _DTS_HH_INCLUDED_SUVIEW */
  149.