Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PortableInterceptor::ObjectReferenceTemplate_var Class Reference

#include <ObjectReferenceTemplateC.h>

Collaboration diagram for PortableInterceptor::ObjectReferenceTemplate_var:

Collaboration graph
[legend]
List of all members.

Public Methods

 ObjectReferenceTemplate_var (void)
 ObjectReferenceTemplate_var (ObjectReferenceTemplate *)
 ObjectReferenceTemplate_var (const ObjectReferenceTemplate *)
 ObjectReferenceTemplate_var (const ObjectReferenceTemplate_var &)
 ~ObjectReferenceTemplate_var (void)
ObjectReferenceTemplate_var & operator= (ObjectReferenceTemplate *)
ObjectReferenceTemplate_var & operator= (const ObjectReferenceTemplate_var &)
ObjectReferenceTemplateoperator-> (void) const
 operator const ObjectReferenceTemplate * () const
 operator ObjectReferenceTemplate * ()
ObjectReferenceTemplatein (void) const
ObjectReferenceTemplate *& inout (void)
ObjectReferenceTemplate *& out (void)
ObjectReferenceTemplate_retn (void)
ObjectReferenceTemplateptr (void) const

Static Public Methods

void tao_add_ref (ObjectReferenceTemplate *)
void tao_remove_ref (ObjectReferenceTemplate *)

Private Attributes

ObjectReferenceTemplateptr_

Constructor & Destructor Documentation

PortableInterceptor::ObjectReferenceTemplate_var::ObjectReferenceTemplate_var void   
 

Definition at line 630 of file ObjectReferenceTemplateC.cpp.

00631   : ptr_ (0)
00632 {}

PortableInterceptor::ObjectReferenceTemplate_var::ObjectReferenceTemplate_var ObjectReferenceTemplate  
 

Definition at line 634 of file ObjectReferenceTemplateC.cpp.

00635   : ptr_ (p)
00636 {}

PortableInterceptor::ObjectReferenceTemplate_var::ObjectReferenceTemplate_var const ObjectReferenceTemplate  
 

Definition at line 638 of file ObjectReferenceTemplateC.cpp.

00639   : ptr_ (ACE_const_cast(ObjectReferenceTemplate*, p))
00640 {}

PortableInterceptor::ObjectReferenceTemplate_var::ObjectReferenceTemplate_var const ObjectReferenceTemplate_var &   
 

Definition at line 648 of file ObjectReferenceTemplateC.cpp.

References CORBA::add_ref.

00649 {
00650   CORBA::add_ref (p.ptr ());
00651   this->ptr_ = p.ptr ();
00652 }

PortableInterceptor::ObjectReferenceTemplate_var::~ObjectReferenceTemplate_var void   
 

Definition at line 654 of file ObjectReferenceTemplateC.cpp.

References CORBA::remove_ref.

00655 {
00656   CORBA::remove_ref (this->ptr_);
00657 }


Member Function Documentation

PortableInterceptor::ObjectReferenceTemplate * PortableInterceptor::ObjectReferenceTemplate_var::_retn void   
 

Definition at line 717 of file ObjectReferenceTemplateC.cpp.

References ptr_.

00718 {
00719   // yield ownership of managed obj reference
00720   ObjectReferenceTemplate* tmp = this->ptr_;
00721   this->ptr_ = 0;
00722   return tmp;
00723 }

PortableInterceptor::ObjectReferenceTemplate * PortableInterceptor::ObjectReferenceTemplate_var::in void    const
 

Definition at line 697 of file ObjectReferenceTemplateC.cpp.

References ptr_.

00698 {
00699   return this->ptr_;
00700 }

PortableInterceptor::ObjectReferenceTemplate *& PortableInterceptor::ObjectReferenceTemplate_var::inout void   
 

Definition at line 703 of file ObjectReferenceTemplateC.cpp.

References ptr_.

00704 {
00705   return this->ptr_;
00706 }

PortableInterceptor::ObjectReferenceTemplate_var::operator const ObjectReferenceTemplate *   const
 

PortableInterceptor::ObjectReferenceTemplate_var::operator ObjectReferenceTemplate *  
 

PortableInterceptor::ObjectReferenceTemplate * PortableInterceptor::ObjectReferenceTemplate_var::operator-> void    const
 

Definition at line 691 of file ObjectReferenceTemplateC.cpp.

References ptr_.

00692 {
00693   return this->ptr_;
00694 }

PortableInterceptor::ObjectReferenceTemplate_var & PortableInterceptor::ObjectReferenceTemplate_var::operator= const ObjectReferenceTemplate_var &   
 

Definition at line 668 of file ObjectReferenceTemplateC.cpp.

References CORBA::add_ref, ptr_, and CORBA::remove_ref.

00669 {
00670   if (this != &p)
00671   {
00672     CORBA::remove_ref (this->ptr_);
00673     ObjectReferenceTemplate* tmp = p.ptr ();
00674     CORBA::add_ref (tmp);
00675     this->ptr_ = tmp;
00676   }
00677   return *this;
00678 }

PortableInterceptor::ObjectReferenceTemplate_var & PortableInterceptor::ObjectReferenceTemplate_var::operator= ObjectReferenceTemplate  
 

Definition at line 660 of file ObjectReferenceTemplateC.cpp.

References ptr_, and CORBA::remove_ref.

00661 {
00662   CORBA::remove_ref (this->ptr_);
00663   this->ptr_ = p;
00664   return *this;
00665 }

PortableInterceptor::ObjectReferenceTemplate *& PortableInterceptor::ObjectReferenceTemplate_var::out void   
 

Definition at line 709 of file ObjectReferenceTemplateC.cpp.

References ptr_, and CORBA::remove_ref.

00710 {
00711   CORBA::remove_ref (this->ptr_);
00712   this->ptr_ = 0;
00713   return this->ptr_;
00714 }

PortableInterceptor::ObjectReferenceTemplate * PortableInterceptor::ObjectReferenceTemplate_var::ptr void    const
 

Definition at line 643 of file ObjectReferenceTemplateC.cpp.

References ptr_.

00644 {
00645   return this->ptr_;
00646 }

void PortableInterceptor::ObjectReferenceTemplate_var::tao_add_ref ObjectReferenceTemplate   [static]
 

Definition at line 726 of file ObjectReferenceTemplateC.cpp.

References CORBA::add_ref.

00729 {
00730   CORBA::add_ref (p);
00731 }

void PortableInterceptor::ObjectReferenceTemplate_var::tao_remove_ref ObjectReferenceTemplate   [static]
 

Definition at line 734 of file ObjectReferenceTemplateC.cpp.

References CORBA::remove_ref.

00737 {
00738   CORBA::remove_ref (p);
00739 }


Member Data Documentation

ObjectReferenceTemplate* PortableInterceptor::ObjectReferenceTemplate_var::ptr_ [private]
 

Definition at line 253 of file ObjectReferenceTemplateC.h.

Referenced by _retn, in, inout, operator->, operator=, out, and ptr.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 16:11:35 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002