00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00031 #ifndef __SAVA_PACKAGE_H
00032 #define __SAVA_PACKAGE_H
00033
00034 #include <libsava/libsava-config.h>
00035
00036
00037
00038 # define PACKAGE_SAVA_DECL_PREFIX \
00039 namespace com {\
00040 namespace savarese {\
00041 namespace algorithms {\
00042
00043 # define PACKAGE_SAVA_DECL_SUFFIX \
00044 }\
00045 }\
00046 }
00047
00048 #define PACKAGE_SAVA_EXCEPTIONS LIBSAVA_DEFINE_NAMESPACE(com::savarese::algorithms::exceptions)
00049 #define PACKAGE_SAVA_GRAPH LIBSAVA_DEFINE_NAMESPACE(com::savarese::algorithms::graph)
00050 #define PACKAGE_SAVA_SPATIAL LIBSAVA_DEFINE_NAMESPACE(com::savarese::algorithms::spatial)
00051 #define PACKAGE_SAVA_TIME LIBSAVA_DEFINE_NAMESPACE(com::savarese::algorithms::time)
00052
00053 #define PACKAGE_SAVA_INTERNAL_DECL_PREFIX PACKAGE_SAVA_DECL_PREFIX
00054 #define PACKAGE_SAVA_INTERNAL_DECL_SUFFIX PACKAGE_SAVA_DECL_SUFFIX
00055
00056 #define PACKAGE_SAVA_EXTERNAL_DECL_PREFIX \
00057 namespace sava {\
00058
00059 #define PACKAGE_SAVA_EXTERNAL_DECL_SUFFIX \
00060 }
00061
00062 #define __END_PACKAGE_SAVA \
00063 } \
00064 PACKAGE_SAVA_DECL_SUFFIX
00065
00066 #define __BEGIN_PACKAGE_SAVA_EXCEPTIONS \
00067 PACKAGE_SAVA_DECL_PREFIX \
00068 namespace LIBSAVA_DEFINE_NAMESPACE(exceptions) {
00069
00070 #define __END_PACKAGE_SAVA_EXCEPTIONS __END_PACKAGE_SAVA
00071
00072 #define __BEGIN_PACKAGE_SAVA_GRAPH \
00073 PACKAGE_SAVA_DECL_PREFIX \
00074 namespace LIBSAVA_DEFINE_NAMESPACE(graph) {
00075
00076 #define __END_PACKAGE_SAVA_GRAPH __END_PACKAGE_SAVA
00077
00078 #define __BEGIN_PACKAGE_SAVA_SPATIAL \
00079 PACKAGE_SAVA_DECL_PREFIX \
00080 namespace LIBSAVA_DEFINE_NAMESPACE(spatial) {
00081
00082 #define __END_PACKAGE_SAVA_SPATIAL __END_PACKAGE_SAVA
00083
00084 #define __BEGIN_PACKAGE_SAVA_TIME \
00085 PACKAGE_SAVA_DECL_PREFIX \
00086 namespace LIBSAVA_DEFINE_NAMESPACE(time) {
00087
00088 #define __END_PACKAGE_SAVA_TIME __END_PACKAGE_SAVA
00089
00090
00091
00092
00093
00094 PACKAGE_SAVA_INTERNAL_DECL_PREFIX
00100 namespace LIBSAVA_DEFINE_NAMESPACE(spatial) { }
00101 namespace spatial = PACKAGE_SAVA_SPATIAL;
00102
00107 namespace LIBSAVA_DEFINE_NAMESPACE(time) { }
00108 namespace time = PACKAGE_SAVA_TIME;
00109
00110 PACKAGE_SAVA_INTERNAL_DECL_SUFFIX
00111
00121 PACKAGE_SAVA_EXTERNAL_DECL_PREFIX
00122
00123 namespace spatial = PACKAGE_SAVA_SPATIAL;
00124 namespace time = PACKAGE_SAVA_TIME;
00125
00126 PACKAGE_SAVA_EXTERNAL_DECL_SUFFIX
00127
00128
00129
00130 #endif // __SAVA_PACKAGE_H
Copyright © 2003-2005 Savarese Software Research and Daniel F. Savarese. All rights reserved.