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>

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 79 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 80 of file Definitions.h.

00081     : svt_(0)
00082   {}

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 84 of file Definitions.h.

00085     : svt_(svt)
00086   {
00087     if (dup) {
00088       obj_ = T::_duplicate(obj);
00089 
00090     } else {
00091       obj_ = obj;
00092     }
00093   }

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 95 of file Definitions.h.

00096   {}


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 102 of file Definitions.h.

00102                                                          {
00103     return this->svt_ < pair.svt_;
00104   }

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 98 of file Definitions.h.

00098                                                           {
00099     return pair.svt_ == this->svt_;
00100   }


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_
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_

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for OpenDDS by  doxygen 1.6.1