Savarese Software Research
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

packages.h

Go to the documentation of this file.
00001 /*
00002  * $Id: packages.h 5870 2005-10-28 02:08:08Z dfs $
00003  *
00004  * Copyright 2003-2005 Daniel F. Savarese
00005  * Copyright 2005 Savarese Software Research
00006  *
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  *
00011  *     https://www.savarese.com/software/ApacheLicense-2.0
00012  *
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00031 #ifndef __SAVA_PACKAGE_H
00032 #define __SAVA_PACKAGE_H
00033 
00034 #include <libsava/libsava-config.h>
00035 
00036 // Begin namespace definitions.
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 // End namespace definitions.
00091 
00092 // Begin namespace aliases
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 // End namespace aliases
00129 
00130 #endif // __SAVA_PACKAGE_H

Savarese Software Research
Copyright © 2003-2005 Savarese Software Research and Daniel F. Savarese. All rights reserved.