00001 // -*- C++ -*- 00002 #ifndef LCIO_NAMESPACE_H 00003 #define LCIO_NAMESPACE_H 1 00004 00005 00006 /*Declaration of the namespace lcio. Also serves as a source for package/namespace 00007 * documentation with doxygen. 00008 * 00009 * @author gaede 00010 * @version $Id: lcio.h,v 1.27 2006/12/08 15:38:15 gaede Exp $ 00011 * @see LCEvent 00012 */ 00013 #include "EVENT/LCIO.h" 00014 #include "IOIMPL/LCFactory.h" 00015 #include "IMPL/LCIOExceptionHandler.h" 00016 00017 00018 /** The namespace DATA has been removed from LCIO all data entities are now defined in EVENT. 00019 */ 00020 namespace DATA{} 00021 /** The namespace EVENT holds all base interfaces of the event entities. 00022 */ 00023 namespace EVENT{} 00024 00025 /** The namespace IO holds the base interfaces for io of data. 00026 */ 00027 namespace IO{} 00028 00029 /** The namespace IMPL holds the implementations of 00030 * the base interfaces that are defined in EVENT. 00031 */ 00032 namespace IMPL{} 00033 00034 /** The namespace UTIL holds convenient and support classes and 00035 * methods for the LCIO objects. 00036 */ 00037 namespace UTIL{} 00038 00039 00040 /** The namespace lcrtrel holds classes and functions for runtime extensions and relations 00041 * see LCRTRelations for more detailed documentation. 00042 * 00043 */ 00044 namespace lcrtrel{} 00045 00046 00047 /** The LCIO namespace combines EVENT, IO, IMPL and UTIL for user convenience. 00048 */ 00049 namespace lcio{ 00050 00051 using namespace EVENT ; 00052 00053 using namespace IO ; 00054 00055 using namespace IMPL ; 00056 00057 using namespace UTIL ; 00058 00059 using namespace lcrtrel ; 00060 00061 using IOIMPL::LCFactory ; 00062 00063 } 00064 00065 /** The IOIMPL namespace holds extensions to the default implementations 00066 * needed for IO. For internal use only - with the exception of IOIMPL::LCFactory. 00067 */ 00068 namespace IOIMPL{} 00069 00070 00071 /** The SIO namespace holds the persistency implementation using SIO. 00072 * Users should not use any of the classes defined here explicitly but through their 00073 * base interfaces defined in IO. 00074 */ 00075 namespace SIO{} 00076 00077 00078 /** Use this macro to catch uncaught exceptions before aborting the program. 00079 * Only needed if LCIO is used without LCWRiter or LCReader. 00080 */ 00081 #define HANDLE_LCIO_EXCEPTIONS lcio::LCIOExceptionHandler::createInstance() ; 00082 00083 00084 #endif // LCIO_NAMESPACE_H
1.3.9.1