OpenSplice ISO C++ 2 DCPS  v6.x
ISO C++ 2 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
Annotations.hpp
Go to the documentation of this file.
1 /* Copyright 2010, Object Management Group, Inc.
2 * Copyright 2010, PrismTech, Corp.
3 * Copyright 2010, Real-Time Innovations, Inc.
4 * All rights reserved.
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18 #ifndef OMG_DDS_CORE_XTYPES_ANNOTATIONS_HPP_
19 #define OMG_DDS_CORE_XTYPES_ANNOTATIONS_HPP_
20 
21 #include <dds/core/xtypes/TAnnotation.hpp>
23 
24 namespace dds
25 {
26 namespace core
27 {
28 namespace xtypes
29 {
30 typedef TAnnotation<detail::Annotation> Annotation;
31 
32 
33 typedef TIdAnnotation<detail::IdAnnotation> IdAnnotation;
34 
35 typedef TKeyAnnotation<detail::KeyAnnotation> KeyAnnotation;
36 
37 typedef TSharedAnnotation<detail::SharedAnnotation> SharedAnnotation;
38 
39 typedef TNestedAnnotation<detail::NestedAnnotation> NestedAnnotation;
40 
41 typedef TExtensibilityAnnotation<detail::ExtensibilityAnnotation> ExtensibilityAnnotation;
42 
43 typedef TMustUnderstandAnnotation<detail::MustUnderstandAnnotation> MustUnderstandAnnotation;
44 
45 typedef TVerbatimAnnotation<detail::VerbatimAnnotation> VerbatimAnnotation;
46 
47 typedef TBitsetAnnotation<detail::BitsetAnnotation> BitsetAnnotation;
48 
49 typedef TBitBoundAnnotation<detail::BitBoundAnnotation> BitBoundAnnotation;
50 
51 namespace annotation
52 {
53 // These functions can be used to get cached instances,
54 // to avoid the proliferation of small annotation objects.
59 dds::core::xtypes::ExtensibilityAnnotation Extensibility(dds::core::xtypes::ExtensibilityAnnotation::ExtensibilityKind kind);
64 dds::core::xtypes::VerbatimAnnotation Verbatim(const std::string& text);
67 
68 }
69 }
70 }
71 }
72 #endif /* OMG_DDS_CORE_XTYPES_ANNOTATIONS_HPP_ */
dds::core::xtypes::MustUnderstandAnnotation MustUnderstand()
dds::core::xtypes::BitsetAnnotation BitBound(uint32_t bound)
dds::core::xtypes::ExtensibilityAnnotation Final()
dds::core::xtypes::ExtensibilityAnnotation Extensibility(dds::core::xtypes::ExtensibilityAnnotation::ExtensibilityKind kind)
TExtensibilityAnnotation< detail::ExtensibilityAnnotation > ExtensibilityAnnotation
Definition: Annotations.hpp:41
TSharedAnnotation< detail::SharedAnnotation > SharedAnnotation
Definition: Annotations.hpp:37
TMustUnderstandAnnotation< detail::MustUnderstandAnnotation > MustUnderstandAnnotation
Definition: Annotations.hpp:43
dds::core::xtypes::ExtensibilityAnnotation Mutable()
dds::core::xtypes::NestedAnnotation Nested()
TKeyAnnotation< detail::KeyAnnotation > KeyAnnotation
Definition: Annotations.hpp:35
Definition: array.hpp:23
dds::core::xtypes::BitsetAnnotation Bitset()
TNestedAnnotation< detail::NestedAnnotation > NestedAnnotation
Definition: Annotations.hpp:39
TBitBoundAnnotation< detail::BitBoundAnnotation > BitBoundAnnotation
Definition: Annotations.hpp:49
dds::core::xtypes::SharedAnnotation Shared()
dds::core::xtypes::VerbatimAnnotation Verbatim(const std::string &text)
dds::core::xtypes::ExtensibilityAnnotation Extensible()
dds::core::xtypes::IdAnnotation Id(uint32_t)
TBitsetAnnotation< detail::BitsetAnnotation > BitsetAnnotation
Definition: Annotations.hpp:47
TIdAnnotation< detail::IdAnnotation > IdAnnotation
Definition: Annotations.hpp:33
TAnnotation< detail::Annotation > Annotation
Definition: Annotations.hpp:30
dds::core::xtypes::KeyAnnotation Key()
TVerbatimAnnotation< detail::VerbatimAnnotation > VerbatimAnnotation
Definition: Annotations.hpp:45