Cyclone ISO C++ API Reference Guide
InstanceHandle.hpp
Go to the documentation of this file.
1 #ifndef OMG_TDDS_CORE_INSTANCE_HANDLE_HPP_
2 #define OMG_TDDS_CORE_INSTANCE_HANDLE_HPP_
3 
4 /* Copyright 2010, Object Management Group, Inc.
5  * Copyright 2010, PrismTech, Corp.
6  * Copyright 2010, Real-Time Innovations, Inc.
7  * All rights reserved.
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  */
21 
22 #include <dds/core/types.hpp>
23 #include <dds/core/Value.hpp>
24 
25 
26 namespace dds
27 {
28 namespace core
29 {
30 
31 class InstanceHandle;
32 }
33 }
34 
41 {
42 public:
47 
53  InstanceHandle(const dds::core::null_type& nullHandle);
54 
60  InstanceHandle(const InstanceHandle& other);
61 
63  ~InstanceHandle();
72  template <typename ARG0>
73  InstanceHandle(const ARG0& arg0);
76 public:
83 
90  bool operator==(const InstanceHandle& that) const;
91 
98  bool operator<(const InstanceHandle& that) const;
99 
106  bool operator>(const InstanceHandle& that) const;
107 
108 public:
114  static const InstanceHandle nil();
115 
121  bool is_nil() const;
122 };
123 
124 
125 #endif // !defined(OMG_TDDS_CORE_INSTANCE_HANDLE_HPP_)
dds::core::InstanceHandle::operator==
bool operator==(const InstanceHandle &that) const
types.hpp
dds::core::InstanceHandle::InstanceHandle
InstanceHandle()
dds::core::InstanceHandle
Class to hold the handle associated with in sample instance.
Definition: InstanceHandle.hpp:40
dds::core::null_type
This class is used to create dds::core::null objects.
Definition: types.hpp:49
dds::core::InstanceHandle::is_nil
bool is_nil() const
dds
Definition: array.hpp:30
dds::core::InstanceHandle::operator<
bool operator<(const InstanceHandle &that) const
dds::core::InstanceHandle::operator=
InstanceHandle & operator=(const InstanceHandle &that)
dds::core::InstanceHandle::operator>
bool operator>(const InstanceHandle &that) const
Value.hpp
dds::core::InstanceHandle::nil
static const InstanceHandle nil()
dds::core::Value
This class is the base for various value-type dds objects.
Definition: Value.hpp:28