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

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: somperrd.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emitxh: 2.47
  8.  */
  9.  
  10. #ifndef SOM_Module_somperrd_SOMPError_defined
  11. #define SOM_Module_somperrd_SOMPError_defined 1
  12. #include <som.xh>
  13.  
  14. /*
  15.  * Start of bindings for IDL types
  16.  */
  17.  
  18. class SOMClass;
  19. class SOMObject;
  20. #define ex_SOMPError_sompException "::SOMPError::sompException"
  21. typedef
  22. struct SOMPError_sompException {
  23. long  primary;
  24. /*
  25.  *  See below for primary error values
  26.  */
  27.  
  28. long  secondary;
  29. /*
  30.  *  primary=1, see errno.h,  primary=2, see below...
  31.  */
  32.  
  33. } SOMPError_sompException;
  34. #define SOMPError_SOMPERROR_SYSTEM_ERROR 1 /* 1 */
  35. /*
  36.  *  Errors reported by the system. See errno.h for secondary value
  37.  */
  38.  
  39. #define SOMPError_SOMPERROR_FRAMEWORK_ERROR 2 /* 2 */
  40. /*
  41.  *  Framework specific error. See below for secondary value
  42.  */
  43.  
  44. #define SOMPError_SR_BASE 10 /* 10 */
  45. /*
  46.  *  Base for secondary error values
  47.  */
  48.  
  49. #define SOMPError_SOMPERROR_OBJ_ALREADY_REGISTERED 10 /* 10+0 */
  50. /*
  51.  *    Attempt to register an object that was already registered.
  52.  *    This is an internal error and should not be user visible.
  53.  */
  54.  
  55. #define SOMPError_SOMPERROR_COULD_NOT_FIND_DIR 11 /* 10+1 */
  56. /*
  57.  *    The system ID assigner attempted to use the path specified in
  58.  *    the environment variable SOMP_PERSIST to find the file containing
  59.  *    the last assigned ID, and the path did not exist.  Check the value
  60.  *    of SOMP_PERSIST and make sure it points to a valid pathname.
  61.  */
  62.  
  63. #define SOMPError_SOMPERROR_IOGROUP_EMPTY 12 /* 10+2 */
  64. /*
  65.  *    One of the IO Group Managers was asked to write an empty IOGroup.
  66.  *    This is an internal error and should not be user visible.
  67.  */
  68.  
  69. #define SOMPError_SOMPERROR_COULD_NOT_RESTORE_OBJ 13 /* 10+3 */
  70. /*
  71.  *    A request was made to restore an object.  The ID indicated
  72.  *    a valid file, but the requested object was not in the file.
  73.  */
  74.  
  75. #define SOMPError_SOMPERROR_OBJ_IS_NOT_PERSISTENT 14 /* 10+4 */
  76. /*
  77.  *    Attempted to store an object that is not derived from PersistentObject.
  78.  *    Only objects derived from PersistentObject can be stored.
  79.  */
  80.  
  81. #define SOMPError_SOMPERROR_IOGROUP_NEWOBJ 15 /* 10+5 */
  82. /*
  83.  *    Attempted to restore object, but the appropriate class object
  84.  *    could not be found. Users with SOMPERROR_IOGROUP_NEWOBJ errors
  85.  *    should put their object in a dynamically loadable file or use
  86.  *    their "<className>NewClass" function to create their class object
  87.  *    before attempt to restore objects.
  88.  * 
  89.  *    If the objects are already in a DLL, ensure that:
  90.  *    - The SOMInitModule function for the DLL executes the
  91.  *      <className>NewClass function for the class which can not
  92.  *      be restored.
  93.  *    - On OS/2, ensure that the SOMInitModule entry point uses
  94.  *      the "system" linkage convention. (see samples)
  95.  *    - The class definiation in question has the "dllname" modifier.
  96.  *      For example, if your dll was named foo.dll you should have
  97.  *      dllname="foo.dll"; in your .idl file.
  98.  *    - That you have updated the interface repository for your class.
  99.  *      Assuming foo.idl, you can run "sc -sir -u foo.idl" to update
  100.  *      the IR.
  101.  *    - Ensure environment variable SOMIR points to the correct IR
  102.  *      file.
  103.  * 
  104.  *    When all else fails, explicitly call the <className>NewClass
  105.  *    function of your class before attempting to restore it.
  106.  * 
  107.  */
  108.  
  109. #define SOMPError_SOMPERROR_IOGROUP_NOTREAD 16 /* 10+6 */
  110. /*
  111.  *    Attempted to read an object whose I/O Group has never been
  112.  *    read.  This is an internal error, and should not be user
  113.  *    visible.
  114.  */
  115.  
  116. #define SOMPError_SOMPERROR_OBJ_IS_NOT_INITIALIZED 17 /* 10+7 */
  117. /*
  118.  *    Attempted to store an object which was not properly initialized.
  119.  *    Code needs to initialize a persistent object with a PersistentID
  120.  *    before saving.
  121.  * 
  122.  *    Ensure that you have done one of :
  123.  *    - sompInitGivenId
  124.  *    - sompInitNextAvail
  125.  *    - sompInitNearObject
  126.  *    on the persistent object.
  127.  * 
  128.  */
  129.  
  130. #define SOMPError_SOMPERROR_PFW_INIT_FAILED 18 /* 10+8 */
  131. /*
  132.  *    Failure to instantiate either the PersistentStorageMgr or
  133.  *    the NameSpaceMgr.  This is an internal error, and should not
  134.  *    be user visible.
  135.  */
  136.  
  137. #define SOMPError_SOMPERROR_ED_INVALID_DATA_TYPE 19 /* 10+9 */
  138. /*
  139.  *    Default Encoder/Decoder attempted to read in some data, but
  140.  *    could not recognize the data type.  This could indicate a
  141.  *    corrupted data file or an internal error.
  142.  */
  143.  
  144. #define SOMPError_SOMPERROR_BAD_OBJECT_ID_STRING 20 /* 10+10 */
  145. /*
  146.  *    You have attempted to initialize a persistent ID with a
  147.  *    string that is not of the appropriate syntax.
  148.  * 
  149.  *    The correct form of a persistent ID is:
  150.  * 
  151.  *      <IOGroupMgrClassName>:<IOGroupName>:<GroupKey>
  152.  * 
  153.  *     where:
  154.  * 
  155.  *       <IOGroupMgrClassName> is the class name of an IO Group Manager
  156.  *       class. The framework supplies two: SOMPAscii and SOMPBinary
  157.  * 
  158.  *       <IOGroupName> is a name understandable to the IOGroupMgrClass.
  159.  *       SOMPAscii and SOMPBinary expect this name to be a file name.
  160.  * 
  161.  *       <GroupKey> is a key number
  162.  * 
  163.  *    If this error occurs during restore, either the ID you have
  164.  *    passed to the Persistent Storage Mgr is incorrect, or possibly
  165.  *    the ID of an object embedded in the object you are attempting
  166.  *    to restore is incorrect. The string ID read from storage may
  167.  *    have been corrupted on disk.
  168.  */
  169.  
  170. #define SOMPError_SOMPERROR_INVALID_OBJECT_TYPE 21 /* 10+11 */
  171. /*
  172.  *    One of the media interfaces attempted to determine the type
  173.  *    of an object and couldn't.  This could indicate a corrupted
  174.  *    data file or an internal error.
  175.  */
  176.  
  177. #define SOMPError_SOMPERROR_ENC_DEC_NOT_FOUND 22 /* 10+12 */
  178. /*
  179.  *    The class object of the encoder/decoder you are attempting to
  180.  *    use can not be found.  To determine what class the framework
  181.  *    is attempting to find you can invoke the method
  182.  * 
  183.  *       sompGetEncoderDecoderName
  184.  * 
  185.  *    on the objects of the class you are attempting to save/restore.
  186.  * 
  187.  *    This error is typically the result of specifying a user written
  188.  *    encoder/decoder class (via either sompSetEncoderDecoderName
  189.  *    or sompSetClassLevelEncoderDecoderName) without first ensuring
  190.  *    that its class object exists. Execute either the "NewClass"
  191.  *    function of the encoder/decoder class or ensure that it is
  192.  *    installed correctly in a DLL. (see SOMPERROR_IOGROUP_NEWOBJ)
  193.  * 
  194.  *    If the the encoder/decoder class name is SOMPAttrEncodeDecoder,
  195.  *    then there is a problem with the framework.
  196.  * 
  197.  */
  198.  
  199. #define SOMPError_SOMPERROR_IOGROUP_DOES_NOT_EXIST 23 /* 10+13 */
  200. /*
  201.  *    PersistentStorageMgr was trying to read or delete an object, but couldn't
  202.  *    find the IOGroup. For SOMPAscii and SOMPBinary, this means that
  203.  *    the file could not be found.
  204.  * 
  205.  *    This error is the result of sompGroupExists method returning FALSE.
  206.  * 
  207.  */
  208.  
  209. #define SOMPError_SOMPERROR_OBJECT_NOT_FOUND 24 /* 10+14 */
  210. /*
  211.  *    The object could not be restored or deleted because it could
  212.  *    not be found.
  213.  * 
  214.  *    Ensure that the SOMP_PERSIST environment variable is set
  215.  *    the same as when you stored the object.
  216.  * 
  217.  *    If the file appears to be there but you still can't restore,
  218.  *    perhaps the upper/lower case difference in the name of the file.
  219.  *    The framework is case sensitive.
  220.  */
  221.  
  222. #define SOMPError_SOMPERROR_INTERFACE_NOT_FOUND 25 /* 10+15 */
  223. /*
  224.  *    One of the IOGroupManagers was attempting to copy a group
  225.  *    and could not find the appropriate MediaInterface.  This is an
  226.  *    internal error and should not be user visible.
  227.  */
  228.  
  229. #define SOMPError_SOMPERROR_NOT_STORING_OBJECTS 26 /* 10+16 */
  230. /*
  231.  *    sompAddObjectToWriteSet has been called but since the
  232.  *    PersistentStorageMgr is not currently storing objects there
  233.  *    is no write set.
  234.  * 
  235.  *    The sompAddObjectToWriteSet method is intended to be used
  236.  *    by encoder/decoder objects which are run during a save/restore.
  237.  */
  238.  
  239. #define SOMPError_SOMPERROR_POINTER_NOT_REGISTERED 27 /* 10+17 */
  240. /*
  241.  *    Undocumented method was invoked.  This is an internal error,
  242.  *    and should not be user visible.
  243.  */
  244.  
  245. #define SOMPError_SOMPERROR_MEDIA_FORMAT_ERROR 28 /* 10+18 */
  246. /*
  247.  *    Attempt was made to read a file with a particular IOGroupMgr,
  248.  *    but the file was incompatible with the requested IOGroupMgr.
  249.  *    Make sure the IOGroupMgr specified in the PersistentID is
  250.  *    compatible with the IOGroupMgr that wrote the file.
  251.  * 
  252.  *    This error may also occur if you attempt to restore an object
  253.  *    from a file produced by an aborted store. If the store attempt
  254.  *    failed, the file may have been left in an invalid format.
  255.  * 
  256.  */
  257.  
  258. #define SOMPError_SOMPERROR_BAD_IOGROUP_MANAGER 29 /* 10+19 */
  259. /*
  260.  *    Attempted to restore an object with a nonexistent IOGroupMgr.
  261.  *    Check the name of the IOGroupMgr in the Persistent ID.
  262.  * 
  263.  *    The IOGroupMgr class name is the first part of a peristent ID.
  264.  *    The class object of the IOGroupMgr must exist prior to invoking
  265.  *    store/restore requests to it. Ensure that you have either called
  266.  *    the <className>NewClass procedure of your IOGroupMgr class or
  267.  *    have properly installed your class into a dynamically loadable
  268.  *    library. (see SOMPERROR_IOGROUP_NEWOBJ)
  269.  */
  270.  
  271. #define SOMPError_SOMPERROR_NOT_RESTORING_OBJECTS 30 /* 10+20 */
  272. /*
  273.  *    sompAddIdToReadSet has been called but since the
  274.  *    PersistentStorageMgr is not currently restoring objects there
  275.  *    is no read set.
  276.  * 
  277.  *    The sompAddIdToReadSet method is intended to be used by encoder/decoder
  278.  *    objects which are run during a save/restore.
  279.  */
  280.  
  281. #define SOMPError_SOMPERROR_ED_AGGREGATE_TYPE_CHG 31 /* 10+21 */
  282. /*
  283.  *    An object has been redefined in a way that one of its aggregate
  284.  *    data types is no longer compatible with its stored data.
  285.  *    Typically this means that either
  286.  *    - A new member has been added to a structure.
  287.  *    - A sequence's type has been changed, i.e. what had been a sequence
  288.  *      of reals is now a sequence of strings.
  289.  *    - An array's type has been changed, i.e. what had been an array
  290.  *      of reals is now an array of strings.
  291.  */
  292.  
  293. #define SOMPError_SOMPERROR_ED_ATTR_NOT_DEFINED 32 /* 10+22 */
  294. /*
  295.  *    An object has been redefined such that one of its attributes
  296.  *    is no longer valid.
  297.  * 
  298.  *    During the restore of an object, data for an nonexistent attribute
  299.  *    was found. The restore has been aborted.
  300.  */
  301.  
  302. #define SOMPError_SOMPERROR_ED_TC_RESTORE_FAILED 33 /* 10+23 */
  303. /*
  304.  *    An attempt to read a type code failed.  This could indicate
  305.  *    corrupted data file or an internal error.
  306.  */
  307.  
  308. #define SOMPError_SOMPERROR_ED_TYPECHG 34 /* 10+24 */
  309. /*
  310.  *    The definition for an attribute has changed its type.
  311.  * 
  312.  *    During the restore of an object, the data type of an attribute
  313.  *    has been found to be different than stored data type.
  314.  *    The restore has been aborted.
  315.  */
  316.  
  317. #define SOMPError_SOMPERROR_ED_TYPE_SIZE_CHG 35 /* 10+25 */
  318. /*
  319.  *    The definition for a sequence has changed such that the amount
  320.  *    of data stored in the sequence exceeds the new maximum.
  321.  */
  322.  
  323. #define SOMPError_SOMPERROR_ED_UNSUPPORTED_TYPE 36 /* 10+26 */
  324. /*
  325.  *    Attempted to store a non supported type code.  The type of the
  326.  *    data was not a recognized CORBA data type.
  327.  */
  328.  
  329. #define SOMPError_SOMPERROR_ED_CLASS_NOT_DEFINED 37 /* 10+27 */
  330. /*
  331.  *    An attempt was made to read an object that is not registered
  332.  *    in the inteface repository.
  333.  */
  334.  
  335. #define SOMPError_SOMPERROR_DUPLICATE_OBJECT_ID 38 /* 10+28 */
  336. /*
  337.  *    Attempted to initialize an object with the same ID as another
  338.  *    object already initialized.
  339.  */
  340.  
  341. #define SOMPError_SOMPERROR_SOMDISPATCH_FAILED 39 /* 10+29 */
  342. /*
  343.  *    In the process of storing or restoring an object, the dispatch
  344.  *    of the _get or _set method of an attribute failed. This is
  345.  *    usually a problem with the SOMInitModule.
  346.  */
  347.  
  348. #define SOMPError_SOMPERROR_TEST_ERROR 109 /* 10+99 */
  349. /*
  350.  *  for testing purposes
  351.  */
  352.  
  353. #define SOMPError_SOMPINFO_END_OF_ATTRIBUTES 44 /* 10+34 */
  354. /*
  355.  *  defedidl - internal use
  356.  */
  357.  
  358. #define SOMPError_SOMPERROR_MAX 4096 /* 4096 */
  359. /*
  360.  *    Error numbers 1 through 4096 are reserved by the framework.
  361.  *    Error numbers above 4096 are available for use by extensions of the
  362.  *    framework.
  363.  */
  364.  
  365.  
  366. #ifndef SOM_DONT_USE_SHORT_NAMES
  367. #ifndef SOMTGD_ex_sompException
  368.     #ifdef ex_sompException
  369.         #undef ex_sompException
  370.         #define SOMTGD_ex_sompException 1
  371.     #else
  372.         #define ex_sompException ex_SOMPError_sompException
  373.     #endif /* ex_sompException */
  374. #endif /* SOMTGD_ex_sompException */
  375. #ifndef SOMTGD_sompException
  376.     #ifdef sompException
  377.         #undef sompException
  378.         #define SOMTGD_sompException 1
  379.     #else
  380.         #define sompException SOMPError_sompException
  381.     #endif /* sompException */
  382. #endif /* SOMTGD_sompException */
  383. #ifndef SOMTGD_SOMPERROR_SYSTEM_ERROR
  384.     #ifdef SOMPERROR_SYSTEM_ERROR
  385.         #undef SOMPERROR_SYSTEM_ERROR
  386.         #define SOMTGD_SOMPERROR_SYSTEM_ERROR 1
  387.     #else
  388.         #define SOMPERROR_SYSTEM_ERROR SOMPError_SOMPERROR_SYSTEM_ERROR
  389.     #endif /* SOMPERROR_SYSTEM_ERROR */
  390. #endif /* SOMTGD_SOMPERROR_SYSTEM_ERROR */
  391. #ifndef SOMTGD_SOMPERROR_FRAMEWORK_ERROR
  392.     #ifdef SOMPERROR_FRAMEWORK_ERROR
  393.         #undef SOMPERROR_FRAMEWORK_ERROR
  394.         #define SOMTGD_SOMPERROR_FRAMEWORK_ERROR 1
  395.     #else
  396.         #define SOMPERROR_FRAMEWORK_ERROR SOMPError_SOMPERROR_FRAMEWORK_ERROR
  397.     #endif /* SOMPERROR_FRAMEWORK_ERROR */
  398. #endif /* SOMTGD_SOMPERROR_FRAMEWORK_ERROR */
  399. #ifndef SOMTGD_SR_BASE
  400.     #ifdef SR_BASE
  401.         #undef SR_BASE
  402.         #define SOMTGD_SR_BASE 1
  403.     #else
  404.         #define SR_BASE SOMPError_SR_BASE
  405.     #endif /* SR_BASE */
  406. #endif /* SOMTGD_SR_BASE */
  407. #ifndef SOMTGD_SOMPERROR_OBJ_ALREADY_REGISTERED
  408.     #ifdef SOMPERROR_OBJ_ALREADY_REGISTERED
  409.         #undef SOMPERROR_OBJ_ALREADY_REGISTERED
  410.         #define SOMTGD_SOMPERROR_OBJ_ALREADY_REGISTERED 1
  411.     #else
  412.         #define SOMPERROR_OBJ_ALREADY_REGISTERED SOMPError_SOMPERROR_OBJ_ALREADY_REGISTERED
  413.     #endif /* SOMPERROR_OBJ_ALREADY_REGISTERED */
  414. #endif /* SOMTGD_SOMPERROR_OBJ_ALREADY_REGISTERED */
  415. #ifndef SOMTGD_SOMPERROR_COULD_NOT_FIND_DIR
  416.     #ifdef SOMPERROR_COULD_NOT_FIND_DIR
  417.         #undef SOMPERROR_COULD_NOT_FIND_DIR
  418.         #define SOMTGD_SOMPERROR_COULD_NOT_FIND_DIR 1
  419.     #else
  420.         #define SOMPERROR_COULD_NOT_FIND_DIR SOMPError_SOMPERROR_COULD_NOT_FIND_DIR
  421.     #endif /* SOMPERROR_COULD_NOT_FIND_DIR */
  422. #endif /* SOMTGD_SOMPERROR_COULD_NOT_FIND_DIR */
  423. #ifndef SOMTGD_SOMPERROR_IOGROUP_EMPTY
  424.     #ifdef SOMPERROR_IOGROUP_EMPTY
  425.         #undef SOMPERROR_IOGROUP_EMPTY
  426.         #define SOMTGD_SOMPERROR_IOGROUP_EMPTY 1
  427.     #else
  428.         #define SOMPERROR_IOGROUP_EMPTY SOMPError_SOMPERROR_IOGROUP_EMPTY
  429.     #endif /* SOMPERROR_IOGROUP_EMPTY */
  430. #endif /* SOMTGD_SOMPERROR_IOGROUP_EMPTY */
  431. #ifndef SOMTGD_SOMPERROR_COULD_NOT_RESTORE_OBJ
  432.     #ifdef SOMPERROR_COULD_NOT_RESTORE_OBJ
  433.         #undef SOMPERROR_COULD_NOT_RESTORE_OBJ
  434.         #define SOMTGD_SOMPERROR_COULD_NOT_RESTORE_OBJ 1
  435.     #else
  436.         #define SOMPERROR_COULD_NOT_RESTORE_OBJ SOMPError_SOMPERROR_COULD_NOT_RESTORE_OBJ
  437.     #endif /* SOMPERROR_COULD_NOT_RESTORE_OBJ */
  438. #endif /* SOMTGD_SOMPERROR_COULD_NOT_RESTORE_OBJ */
  439. #ifndef SOMTGD_SOMPERROR_OBJ_IS_NOT_PERSISTENT
  440.     #ifdef SOMPERROR_OBJ_IS_NOT_PERSISTENT
  441.         #undef SOMPERROR_OBJ_IS_NOT_PERSISTENT
  442.         #define SOMTGD_SOMPERROR_OBJ_IS_NOT_PERSISTENT 1
  443.     #else
  444.         #define SOMPERROR_OBJ_IS_NOT_PERSISTENT SOMPError_SOMPERROR_OBJ_IS_NOT_PERSISTENT
  445.     #endif /* SOMPERROR_OBJ_IS_NOT_PERSISTENT */
  446. #endif /* SOMTGD_SOMPERROR_OBJ_IS_NOT_PERSISTENT */
  447. #ifndef SOMTGD_SOMPERROR_IOGROUP_NEWOBJ
  448.     #ifdef SOMPERROR_IOGROUP_NEWOBJ
  449.         #undef SOMPERROR_IOGROUP_NEWOBJ
  450.         #define SOMTGD_SOMPERROR_IOGROUP_NEWOBJ 1
  451.     #else
  452.         #define SOMPERROR_IOGROUP_NEWOBJ SOMPError_SOMPERROR_IOGROUP_NEWOBJ
  453.     #endif /* SOMPERROR_IOGROUP_NEWOBJ */
  454. #endif /* SOMTGD_SOMPERROR_IOGROUP_NEWOBJ */
  455. #ifndef SOMTGD_SOMPERROR_IOGROUP_NOTREAD
  456.     #ifdef SOMPERROR_IOGROUP_NOTREAD
  457.         #undef SOMPERROR_IOGROUP_NOTREAD
  458.         #define SOMTGD_SOMPERROR_IOGROUP_NOTREAD 1
  459.     #else
  460.         #define SOMPERROR_IOGROUP_NOTREAD SOMPError_SOMPERROR_IOGROUP_NOTREAD
  461.     #endif /* SOMPERROR_IOGROUP_NOTREAD */
  462. #endif /* SOMTGD_SOMPERROR_IOGROUP_NOTREAD */
  463. #ifndef SOMTGD_SOMPERROR_OBJ_IS_NOT_INITIALIZED
  464.     #ifdef SOMPERROR_OBJ_IS_NOT_INITIALIZED
  465.         #undef SOMPERROR_OBJ_IS_NOT_INITIALIZED
  466.         #define SOMTGD_SOMPERROR_OBJ_IS_NOT_INITIALIZED 1
  467.     #else
  468.         #define SOMPERROR_OBJ_IS_NOT_INITIALIZED SOMPError_SOMPERROR_OBJ_IS_NOT_INITIALIZED
  469.     #endif /* SOMPERROR_OBJ_IS_NOT_INITIALIZED */
  470. #endif /* SOMTGD_SOMPERROR_OBJ_IS_NOT_INITIALIZED */
  471. #ifndef SOMTGD_SOMPERROR_PFW_INIT_FAILED
  472.     #ifdef SOMPERROR_PFW_INIT_FAILED
  473.         #undef SOMPERROR_PFW_INIT_FAILED
  474.         #define SOMTGD_SOMPERROR_PFW_INIT_FAILED 1
  475.     #else
  476.         #define SOMPERROR_PFW_INIT_FAILED SOMPError_SOMPERROR_PFW_INIT_FAILED
  477.     #endif /* SOMPERROR_PFW_INIT_FAILED */
  478. #endif /* SOMTGD_SOMPERROR_PFW_INIT_FAILED */
  479. #ifndef SOMTGD_SOMPERROR_ED_INVALID_DATA_TYPE
  480.     #ifdef SOMPERROR_ED_INVALID_DATA_TYPE
  481.         #undef SOMPERROR_ED_INVALID_DATA_TYPE
  482.         #define SOMTGD_SOMPERROR_ED_INVALID_DATA_TYPE 1
  483.     #else
  484.         #define SOMPERROR_ED_INVALID_DATA_TYPE SOMPError_SOMPERROR_ED_INVALID_DATA_TYPE
  485.     #endif /* SOMPERROR_ED_INVALID_DATA_TYPE */
  486. #endif /* SOMTGD_SOMPERROR_ED_INVALID_DATA_TYPE */
  487. #ifndef SOMTGD_SOMPERROR_BAD_OBJECT_ID_STRING
  488.     #ifdef SOMPERROR_BAD_OBJECT_ID_STRING
  489.         #undef SOMPERROR_BAD_OBJECT_ID_STRING
  490.         #define SOMTGD_SOMPERROR_BAD_OBJECT_ID_STRING 1
  491.     #else
  492.         #define SOMPERROR_BAD_OBJECT_ID_STRING SOMPError_SOMPERROR_BAD_OBJECT_ID_STRING
  493.     #endif /* SOMPERROR_BAD_OBJECT_ID_STRING */
  494. #endif /* SOMTGD_SOMPERROR_BAD_OBJECT_ID_STRING */
  495. #ifndef SOMTGD_SOMPERROR_INVALID_OBJECT_TYPE
  496.     #ifdef SOMPERROR_INVALID_OBJECT_TYPE
  497.         #undef SOMPERROR_INVALID_OBJECT_TYPE
  498.         #define SOMTGD_SOMPERROR_INVALID_OBJECT_TYPE 1
  499.     #else
  500.         #define SOMPERROR_INVALID_OBJECT_TYPE SOMPError_SOMPERROR_INVALID_OBJECT_TYPE
  501.     #endif /* SOMPERROR_INVALID_OBJECT_TYPE */
  502. #endif /* SOMTGD_SOMPERROR_INVALID_OBJECT_TYPE */
  503. #ifndef SOMTGD_SOMPERROR_ENC_DEC_NOT_FOUND
  504.     #ifdef SOMPERROR_ENC_DEC_NOT_FOUND
  505.         #undef SOMPERROR_ENC_DEC_NOT_FOUND
  506.         #define SOMTGD_SOMPERROR_ENC_DEC_NOT_FOUND 1
  507.     #else
  508.         #define SOMPERROR_ENC_DEC_NOT_FOUND SOMPError_SOMPERROR_ENC_DEC_NOT_FOUND
  509.     #endif /* SOMPERROR_ENC_DEC_NOT_FOUND */
  510. #endif /* SOMTGD_SOMPERROR_ENC_DEC_NOT_FOUND */
  511. #ifndef SOMTGD_SOMPERROR_IOGROUP_DOES_NOT_EXIST
  512.     #ifdef SOMPERROR_IOGROUP_DOES_NOT_EXIST
  513.         #undef SOMPERROR_IOGROUP_DOES_NOT_EXIST
  514.         #define SOMTGD_SOMPERROR_IOGROUP_DOES_NOT_EXIST 1
  515.     #else
  516.         #define SOMPERROR_IOGROUP_DOES_NOT_EXIST SOMPError_SOMPERROR_IOGROUP_DOES_NOT_EXIST
  517.     #endif /* SOMPERROR_IOGROUP_DOES_NOT_EXIST */
  518. #endif /* SOMTGD_SOMPERROR_IOGROUP_DOES_NOT_EXIST */
  519. #ifndef SOMTGD_SOMPERROR_OBJECT_NOT_FOUND
  520.     #ifdef SOMPERROR_OBJECT_NOT_FOUND
  521.         #undef SOMPERROR_OBJECT_NOT_FOUND
  522.         #define SOMTGD_SOMPERROR_OBJECT_NOT_FOUND 1
  523.     #else
  524.         #define SOMPERROR_OBJECT_NOT_FOUND SOMPError_SOMPERROR_OBJECT_NOT_FOUND
  525.     #endif /* SOMPERROR_OBJECT_NOT_FOUND */
  526. #endif /* SOMTGD_SOMPERROR_OBJECT_NOT_FOUND */
  527. #ifndef SOMTGD_SOMPERROR_INTERFACE_NOT_FOUND
  528.     #ifdef SOMPERROR_INTERFACE_NOT_FOUND
  529.         #undef SOMPERROR_INTERFACE_NOT_FOUND
  530.         #define SOMTGD_SOMPERROR_INTERFACE_NOT_FOUND 1
  531.     #else
  532.         #define SOMPERROR_INTERFACE_NOT_FOUND SOMPError_SOMPERROR_INTERFACE_NOT_FOUND
  533.     #endif /* SOMPERROR_INTERFACE_NOT_FOUND */
  534. #endif /* SOMTGD_SOMPERROR_INTERFACE_NOT_FOUND */
  535. #ifndef SOMTGD_SOMPERROR_NOT_STORING_OBJECTS
  536.     #ifdef SOMPERROR_NOT_STORING_OBJECTS
  537.         #undef SOMPERROR_NOT_STORING_OBJECTS
  538.         #define SOMTGD_SOMPERROR_NOT_STORING_OBJECTS 1
  539.     #else
  540.         #define SOMPERROR_NOT_STORING_OBJECTS SOMPError_SOMPERROR_NOT_STORING_OBJECTS
  541.     #endif /* SOMPERROR_NOT_STORING_OBJECTS */
  542. #endif /* SOMTGD_SOMPERROR_NOT_STORING_OBJECTS */
  543. #ifndef SOMTGD_SOMPERROR_POINTER_NOT_REGISTERED
  544.     #ifdef SOMPERROR_POINTER_NOT_REGISTERED
  545.         #undef SOMPERROR_POINTER_NOT_REGISTERED
  546.         #define SOMTGD_SOMPERROR_POINTER_NOT_REGISTERED 1
  547.     #else
  548.         #define SOMPERROR_POINTER_NOT_REGISTERED SOMPError_SOMPERROR_POINTER_NOT_REGISTERED
  549.     #endif /* SOMPERROR_POINTER_NOT_REGISTERED */
  550. #endif /* SOMTGD_SOMPERROR_POINTER_NOT_REGISTERED */
  551. #ifndef SOMTGD_SOMPERROR_MEDIA_FORMAT_ERROR
  552.     #ifdef SOMPERROR_MEDIA_FORMAT_ERROR
  553.         #undef SOMPERROR_MEDIA_FORMAT_ERROR
  554.         #define SOMTGD_SOMPERROR_MEDIA_FORMAT_ERROR 1
  555.     #else
  556.         #define SOMPERROR_MEDIA_FORMAT_ERROR SOMPError_SOMPERROR_MEDIA_FORMAT_ERROR
  557.     #endif /* SOMPERROR_MEDIA_FORMAT_ERROR */
  558. #endif /* SOMTGD_SOMPERROR_MEDIA_FORMAT_ERROR */
  559. #ifndef SOMTGD_SOMPERROR_BAD_IOGROUP_MANAGER
  560.     #ifdef SOMPERROR_BAD_IOGROUP_MANAGER
  561.         #undef SOMPERROR_BAD_IOGROUP_MANAGER
  562.         #define SOMTGD_SOMPERROR_BAD_IOGROUP_MANAGER 1
  563.     #else
  564.         #define SOMPERROR_BAD_IOGROUP_MANAGER SOMPError_SOMPERROR_BAD_IOGROUP_MANAGER
  565.     #endif /* SOMPERROR_BAD_IOGROUP_MANAGER */
  566. #endif /* SOMTGD_SOMPERROR_BAD_IOGROUP_MANAGER */
  567. #ifndef SOMTGD_SOMPERROR_NOT_RESTORING_OBJECTS
  568.     #ifdef SOMPERROR_NOT_RESTORING_OBJECTS
  569.         #undef SOMPERROR_NOT_RESTORING_OBJECTS
  570.         #define SOMTGD_SOMPERROR_NOT_RESTORING_OBJECTS 1
  571.     #else
  572.         #define SOMPERROR_NOT_RESTORING_OBJECTS SOMPError_SOMPERROR_NOT_RESTORING_OBJECTS
  573.     #endif /* SOMPERROR_NOT_RESTORING_OBJECTS */
  574. #endif /* SOMTGD_SOMPERROR_NOT_RESTORING_OBJECTS */
  575. #ifndef SOMTGD_SOMPERROR_ED_AGGREGATE_TYPE_CHG
  576.     #ifdef SOMPERROR_ED_AGGREGATE_TYPE_CHG
  577.         #undef SOMPERROR_ED_AGGREGATE_TYPE_CHG
  578.         #define SOMTGD_SOMPERROR_ED_AGGREGATE_TYPE_CHG 1
  579.     #else
  580.         #define SOMPERROR_ED_AGGREGATE_TYPE_CHG SOMPError_SOMPERROR_ED_AGGREGATE_TYPE_CHG
  581.     #endif /* SOMPERROR_ED_AGGREGATE_TYPE_CHG */
  582. #endif /* SOMTGD_SOMPERROR_ED_AGGREGATE_TYPE_CHG */
  583. #ifndef SOMTGD_SOMPERROR_ED_ATTR_NOT_DEFINED
  584.     #ifdef SOMPERROR_ED_ATTR_NOT_DEFINED
  585.         #undef SOMPERROR_ED_ATTR_NOT_DEFINED
  586.         #define SOMTGD_SOMPERROR_ED_ATTR_NOT_DEFINED 1
  587.     #else
  588.         #define SOMPERROR_ED_ATTR_NOT_DEFINED SOMPError_SOMPERROR_ED_ATTR_NOT_DEFINED
  589.     #endif /* SOMPERROR_ED_ATTR_NOT_DEFINED */
  590. #endif /* SOMTGD_SOMPERROR_ED_ATTR_NOT_DEFINED */
  591. #ifndef SOMTGD_SOMPERROR_ED_TC_RESTORE_FAILED
  592.     #ifdef SOMPERROR_ED_TC_RESTORE_FAILED
  593.         #undef SOMPERROR_ED_TC_RESTORE_FAILED
  594.         #define SOMTGD_SOMPERROR_ED_TC_RESTORE_FAILED 1
  595.     #else
  596.         #define SOMPERROR_ED_TC_RESTORE_FAILED SOMPError_SOMPERROR_ED_TC_RESTORE_FAILED
  597.     #endif /* SOMPERROR_ED_TC_RESTORE_FAILED */
  598. #endif /* SOMTGD_SOMPERROR_ED_TC_RESTORE_FAILED */
  599. #ifndef SOMTGD_SOMPERROR_ED_TYPECHG
  600.     #ifdef SOMPERROR_ED_TYPECHG
  601.         #undef SOMPERROR_ED_TYPECHG
  602.         #define SOMTGD_SOMPERROR_ED_TYPECHG 1
  603.     #else
  604.         #define SOMPERROR_ED_TYPECHG SOMPError_SOMPERROR_ED_TYPECHG
  605.     #endif /* SOMPERROR_ED_TYPECHG */
  606. #endif /* SOMTGD_SOMPERROR_ED_TYPECHG */
  607. #ifndef SOMTGD_SOMPERROR_ED_TYPE_SIZE_CHG
  608.     #ifdef SOMPERROR_ED_TYPE_SIZE_CHG
  609.         #undef SOMPERROR_ED_TYPE_SIZE_CHG
  610.         #define SOMTGD_SOMPERROR_ED_TYPE_SIZE_CHG 1
  611.     #else
  612.         #define SOMPERROR_ED_TYPE_SIZE_CHG SOMPError_SOMPERROR_ED_TYPE_SIZE_CHG
  613.     #endif /* SOMPERROR_ED_TYPE_SIZE_CHG */
  614. #endif /* SOMTGD_SOMPERROR_ED_TYPE_SIZE_CHG */
  615. #ifndef SOMTGD_SOMPERROR_ED_UNSUPPORTED_TYPE
  616.     #ifdef SOMPERROR_ED_UNSUPPORTED_TYPE
  617.         #undef SOMPERROR_ED_UNSUPPORTED_TYPE
  618.         #define SOMTGD_SOMPERROR_ED_UNSUPPORTED_TYPE 1
  619.     #else
  620.         #define SOMPERROR_ED_UNSUPPORTED_TYPE SOMPError_SOMPERROR_ED_UNSUPPORTED_TYPE
  621.     #endif /* SOMPERROR_ED_UNSUPPORTED_TYPE */
  622. #endif /* SOMTGD_SOMPERROR_ED_UNSUPPORTED_TYPE */
  623. #ifndef SOMTGD_SOMPERROR_ED_CLASS_NOT_DEFINED
  624.     #ifdef SOMPERROR_ED_CLASS_NOT_DEFINED
  625.         #undef SOMPERROR_ED_CLASS_NOT_DEFINED
  626.         #define SOMTGD_SOMPERROR_ED_CLASS_NOT_DEFINED 1
  627.     #else
  628.         #define SOMPERROR_ED_CLASS_NOT_DEFINED SOMPError_SOMPERROR_ED_CLASS_NOT_DEFINED
  629.     #endif /* SOMPERROR_ED_CLASS_NOT_DEFINED */
  630. #endif /* SOMTGD_SOMPERROR_ED_CLASS_NOT_DEFINED */
  631. #ifndef SOMTGD_SOMPERROR_DUPLICATE_OBJECT_ID
  632.     #ifdef SOMPERROR_DUPLICATE_OBJECT_ID
  633.         #undef SOMPERROR_DUPLICATE_OBJECT_ID
  634.         #define SOMTGD_SOMPERROR_DUPLICATE_OBJECT_ID 1
  635.     #else
  636.         #define SOMPERROR_DUPLICATE_OBJECT_ID SOMPError_SOMPERROR_DUPLICATE_OBJECT_ID
  637.     #endif /* SOMPERROR_DUPLICATE_OBJECT_ID */
  638. #endif /* SOMTGD_SOMPERROR_DUPLICATE_OBJECT_ID */
  639. #ifndef SOMTGD_SOMPERROR_SOMDISPATCH_FAILED
  640.     #ifdef SOMPERROR_SOMDISPATCH_FAILED
  641.         #undef SOMPERROR_SOMDISPATCH_FAILED
  642.         #define SOMTGD_SOMPERROR_SOMDISPATCH_FAILED 1
  643.     #else
  644.         #define SOMPERROR_SOMDISPATCH_FAILED SOMPError_SOMPERROR_SOMDISPATCH_FAILED
  645.     #endif /* SOMPERROR_SOMDISPATCH_FAILED */
  646. #endif /* SOMTGD_SOMPERROR_SOMDISPATCH_FAILED */
  647. #ifndef SOMTGD_SOMPERROR_TEST_ERROR
  648.     #ifdef SOMPERROR_TEST_ERROR
  649.         #undef SOMPERROR_TEST_ERROR
  650.         #define SOMTGD_SOMPERROR_TEST_ERROR 1
  651.     #else
  652.         #define SOMPERROR_TEST_ERROR SOMPError_SOMPERROR_TEST_ERROR
  653.     #endif /* SOMPERROR_TEST_ERROR */
  654. #endif /* SOMTGD_SOMPERROR_TEST_ERROR */
  655. #ifndef SOMTGD_SOMPINFO_END_OF_ATTRIBUTES
  656.     #ifdef SOMPINFO_END_OF_ATTRIBUTES
  657.         #undef SOMPINFO_END_OF_ATTRIBUTES
  658.         #define SOMTGD_SOMPINFO_END_OF_ATTRIBUTES 1
  659.     #else
  660.         #define SOMPINFO_END_OF_ATTRIBUTES SOMPError_SOMPINFO_END_OF_ATTRIBUTES
  661.     #endif /* SOMPINFO_END_OF_ATTRIBUTES */
  662. #endif /* SOMTGD_SOMPINFO_END_OF_ATTRIBUTES */
  663. #ifndef SOMTGD_SOMPERROR_MAX
  664.     #ifdef SOMPERROR_MAX
  665.         #undef SOMPERROR_MAX
  666.         #define SOMTGD_SOMPERROR_MAX 1
  667.     #else
  668.         #define SOMPERROR_MAX SOMPError_SOMPERROR_MAX
  669.     #endif /* SOMPERROR_MAX */
  670. #endif /* SOMTGD_SOMPERROR_MAX */
  671. #endif /* SOM_DONT_USE_SHORT_NAMES */
  672.  
  673. /*
  674.  * End of bindings for IDL types.
  675.  */
  676. #endif /* SOM_Module_somperrd_SOMPError_defined */
  677.