6 #ifndef OPENDDS_DCPS_XTYPES_EXTERNAL_H 7 #define OPENDDS_DCPS_XTYPES_EXTERNAL_H 29 explicit External(T* p,
bool locked =
false);
43 const T*
get()
const {
return ptr_.
get(); }
52 operator bool()
const {
return ptr_; }
83 ptr_.reset(
new T(*other));
90 ptr_.reset(
new T(value));
99 #endif // OPENDDS_DCPS_XTYPES_EXTERNAL_H
bool operator!=(const External &other) const
const LogLevel::Value value
DCPS::unique_ptr< T > ptr_
bool operator==(const External &other) const
const T * operator->() const
const T & operator*() const
External & operator=(const External &other)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
bool operator<(const External &other) const
The Internal API and Implementation of OpenDDS.