OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var > Struct Template Reference

This struct holds both object reference and the corresponding servant. More...

#include <Definitions.h>

Collaboration diagram for OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Objref_Servant_Pair ()
 Objref_Servant_Pair (T_impl *svt, T_ptr obj, bool dup)
 ~Objref_Servant_Pair ()
bool operator== (const Objref_Servant_Pair &pair) const
bool operator< (const Objref_Servant_Pair &pair) const

Public Attributes

T_impl * svt_
T_var obj_

Detailed Description

template<typename T_impl, typename T, typename T_ptr, typename T_var>
struct OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >

This struct holds both object reference and the corresponding servant.

Definition at line 239 of file Definitions.h.


Constructor & Destructor Documentation

template<typename T_impl, typename T, typename T_ptr, typename T_var>
OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::Objref_Servant_Pair (  )  [inline]

Definition at line 240 of file Definitions.h.

00241     : svt_(0)
00242   {}

template<typename T_impl, typename T, typename T_ptr, typename T_var>
OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::Objref_Servant_Pair ( T_impl *  svt,
T_ptr  obj,
bool  dup 
) [inline]

Definition at line 244 of file Definitions.h.

References OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::obj_.

00245     : svt_(svt)
00246   {
00247     if (dup) {
00248       obj_ = T::_duplicate(obj);
00249 
00250     } else {
00251       obj_ = obj;
00252     }
00253   }

template<typename T_impl, typename T, typename T_ptr, typename T_var>
OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::~Objref_Servant_Pair (  )  [inline]

Definition at line 255 of file Definitions.h.

00256   {}


Member Function Documentation

template<typename T_impl, typename T, typename T_ptr, typename T_var>
bool OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::operator< ( const Objref_Servant_Pair< T_impl, T, T_ptr, T_var > &  pair  )  const [inline]

Definition at line 262 of file Definitions.h.

References OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::svt_.

00262                                                          {
00263     return this->svt_ < pair.svt_;
00264   }

template<typename T_impl, typename T, typename T_ptr, typename T_var>
bool OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::operator== ( const Objref_Servant_Pair< T_impl, T, T_ptr, T_var > &  pair  )  const [inline]

Definition at line 258 of file Definitions.h.

References OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::svt_.

00258                                                           {
00259     return pair.svt_ == this->svt_;
00260   }


Member Data Documentation

template<typename T_impl, typename T, typename T_ptr, typename T_var>
T_var OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::obj_

Definition at line 267 of file Definitions.h.

Referenced by OpenDDS::DCPS::DomainParticipantImpl::create_new_topic(), and OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::Objref_Servant_Pair().

template<typename T_impl, typename T, typename T_ptr, typename T_var>
T_impl* OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::svt_

Definition at line 266 of file Definitions.h.

Referenced by OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::operator<(), and OpenDDS::DCPS::Objref_Servant_Pair< T_impl, T, T_ptr, T_var >::operator==().


The documentation for this struct was generated from the following file:
Generated on Fri Feb 12 20:06:14 2016 for OpenDDS by  doxygen 1.4.7