Savarese Software Research Corporation
wisp-packages.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006-2008 Savarese Software Research Corporation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.savarese.com/software/ApacheLicense-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
28 #ifndef __SSRC_WISP_PACKAGES_H
29 #define __SSRC_WISP_PACKAGES_H
30 
31 #include <ssrc/wisp-config.h>
32 
33 // Begin namespace definitions.
34 
35 #define NS_SSRC_WISP NS_WISP
36 #define NS_SSRC_WISP_PROTOCOL WISP_DEFINE_NAMESPACE(protocol)
37 #define NS_SSRC_WISP_SERVICE WISP_DEFINE_NAMESPACE(service)
38 #define NS_SSRC_WISP_TEST WISP_DEFINE_NAMESPACE(test)
39 #define NS_SSRC_WISP_UTILITY WISP_DEFINE_NAMESPACE(utility)
40 
41 #define NS_WISP_INTERNAL_DECL_PREFIX NS_WISP_DECL_PREFIX
42 #define NS_WISP_INTERNAL_DECL_SUFFIX NS_WISP_DECL_SUFFIX
43 
44 #define NS_WISP_EXTERNAL_DECL_PREFIX \
45 namespace ssrc {
46 #define NS_WISP_EXTERNAL_DECL_SUFFIX \
47 }
48 
49 #define __END_NS_WISP \
50  } \
51 NS_WISP_DECL_SUFFIX
52 
53 #define __END_NS_WISP2 \
54  } \
55  } \
56 NS_WISP_DECL_SUFFIX
57 
58 #define WISP_BEGIN_NS(name) \
59  NS_WISP_DECL_PREFIX \
60  namespace name {
61 
62 #define WISP_BEGIN_NS2(name1,name2) \
63  NS_WISP_DECL_PREFIX \
64  namespace name1 { \
65  namespace name2 {
66 
67 #define __BEGIN_NS_SSRC_WISP NS_WISP_DECL_PREFIX
68 #define __END_NS_SSRC_WISP NS_WISP_DECL_SUFFIX
69 
70 #define __BEGIN_NS_SSRC_WISP_PROTOCOL WISP_BEGIN_NS(protocol)
71 #define __END_NS_SSRC_WISP_PROTOCOL __END_NS_WISP
72 
73 #define __BEGIN_NS_SSRC_WISP_SERVICE WISP_BEGIN_NS(service)
74 #define __END_NS_SSRC_WISP_SERVICE __END_NS_WISP
75 
76 #define __BEGIN_NS_SSRC_WISP_TEST WISP_BEGIN_NS(test)
77 #define __END_NS_SSRC_WISP_TEST __END_NS_WISP
78 
79 #define __BEGIN_NS_SSRC_WISP_UTILITY WISP_BEGIN_NS(utility)
80 #define __END_NS_SSRC_WISP_UTILITY __END_NS_WISP
81 
82 // End namespace definitions.
83 
84 // Document namespaces
85 
86 
93 
103 namespace detail { }
104 
109 namespace protocol { }
110 
115 namespace service { }
116 
120 namespace test { }
121 
125 namespace utility { }
126 
128 
129 // Create aliases
130 
139 
140  namespace wisp = NS_SSRC_WISP;
141 
143 
144 // End namespace aliases
145 
146 #endif

Savarese Software Research Corporation
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.