Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
usServiceProperties.cpp
Go to the documentation of this file.
1 /*=============================================================================
2 
3  Library: CppMicroServices
4 
5  Copyright (c) German Cancer Research Center,
6  Division of Medical and Biological Informatics
7 
8  Licensed under the Apache License, Version 2.0 (the "License");
9  you may not use this file except in compliance with the License.
10  You may obtain a copy of the License at
11 
12  http://www.apache.org/licenses/LICENSE-2.0
13 
14  Unless required by applicable law or agreed to in writing, software
15  distributed under the License is distributed on an "AS IS" BASIS,
16  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  See the License for the specific language governing permissions and
18  limitations under the License.
19 
20 =============================================================================*/
21 
22 #include "usServiceProperties.h"
23 
24 #include <algorithm>
25 
26 US_BEGIN_NAMESPACE
27 
28 const std::string& ServiceConstants::OBJECTCLASS()
29 {
30  static const std::string s("objectclass");
31  return s;
32 }
33 
34 const std::string& ServiceConstants::SERVICE_ID()
35 {
36  static const std::string s("service.id");
37  return s;
38 }
39 
41 {
42  static const std::string s("service.ranking");
43  return s;
44 }
45 
46 const std::string& ServiceConstants::SERVICE_SCOPE()
47 {
48  static const std::string s("service.scope");
49  return s;
50 }
51 
53 {
54  static const std::string s("singleton");
55  return s;
56 }
57 
58 const std::string& ServiceConstants::SCOPE_MODULE()
59 {
60  static const std::string s("module");
61  return s;
62 }
63 
65 {
66  static const std::string s("prototype");
67  return s;
68 }
69 
70 US_END_NAMESPACE
71 
72 US_USE_NAMESPACE
73 
74 // make sure all static locals get constructed, so that they
75 // can be used in destructors of global statics.
std::string tmp3
std::string tmp7
US_Core_EXPORT const std::string & SERVICE_RANKING()
std::string tmp2
std::string tmp4
US_Core_EXPORT const std::string & SCOPE_MODULE()
US_Core_EXPORT const std::string & SCOPE_PROTOTYPE()
US_Core_EXPORT const std::string & SERVICE_SCOPE()
std::string tmp6
US_Core_EXPORT const std::string & SCOPE_SINGLETON()
US_Core_EXPORT const std::string & OBJECTCLASS()
std::string tmp5
US_USE_NAMESPACE std::string tmp1
US_Core_EXPORT const std::string & SERVICE_ID()