00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _hyp_out_intern_h_
00031 #define _hyp_out_intern_h_
00032
00033
00034
00035 #include<windows.h>
00036 #include<objbase.h>
00037 #include<d3drmwin.h>
00038 #include<dxfile.h>
00039 #include<rmxfguid.h>
00040 #include<comdef.h>
00041
00042
00043 #include"hyp.out.extern.h"
00044
00045
00046 #define hyp_CATCH_ITOR catch(hyp_ker::CComException error) { \
00047 if(hyp_ker::Failed(error.GetResult())) { \
00048 throw error; \
00049 } \
00050 }
00051
00052
00053 hyp_NAMESPACE_BEGIN_HYPOUT
00054
00055 #include"hyp.out.facade.h"
00056 #include"hyp.file.base.h"
00057
00058
00059 #ifndef hypfem_DOXYGEN
00060
00061 namespace stdfile {
00062 #include"hyp.file.formatstd.h"
00063 #include"hyp.file.implstd.h"
00064 }
00065
00066
00067
00068 namespace dxfile {
00069 extern char* g_XTemplates;
00070
00071 #include"hyp.file.xguid.h"
00072 #include"hyp.file.chunkx.h"
00073 #include"hyp.file.implx.h"
00074
00075 std::string GetErrorInfoForXFile(HRESULT);
00076
00077 #define hyp_THROW_DXFILE( hr ) hyp_THROW_COM2(hyp_ker::com_directxfile,\
00078 ( "DXFile error : %s",GetErrorInfoForXFile(hr).c_str()) )
00079 #define hyp_CHECK_HR( hr ) if(FAILED(hr)) hyp_THROW_DXFILE(hr)
00080
00081 }
00082
00083 #endif
00084
00085
00086 hyp_NAMESPACE_END_HYPOUT
00087
00088
00089 #endif