Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

hyp.out.intern.h

00001 /*
00002 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00003  Ephydryne Components.
00004  Ephydryne is a part of the Hyperion Project.
00005 ----------------------------------------------------------
00006  Copyright (c) 2001 Pierre Rebours.
00007 
00008  This library is free software; you can redistribute it and/or
00009  modify it under the terms of the GNU Lesser General Public
00010  License as published by the Free Software Foundation; either
00011  version 2.1 of the License, or (at your option) any later version.
00012 
00013  This library is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  
00017  See hyp.license.txt file for more information about the license.
00018  
00019  Web: http://lagrandeporte.multimania.com/hyperion
00020  Email: pierre_rebours@yahoo.com
00021 ----------------------------------------------------------
00022  CVS
00023  $Log$
00024  
00025  Creation 24/03/01 Pierre Rebours
00026 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00027 */
00028 
00029 
00030 #ifndef _hyp_out_intern_h_
00031 #define _hyp_out_intern_h_
00032 
00033 //#define hypout_IMPL_ISERIALIZE
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 //MODIF
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 //DOXYTAG
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

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.