summaryrefslogtreecommitdiff
path: root/TAO/tao/ObjRefTemplate
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2006-04-25 17:53:53 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2006-04-25 17:53:53 +0000
commitd16afaa259ffe242da4699b3bbf32d554af78309 (patch)
tree695add741bd28ce418e8b6ad67a85e7a7eb832ec /TAO/tao/ObjRefTemplate
parent8e89140ea4d88916c3981b359338b8f5f81686be (diff)
downloadATCD-d16afaa259ffe242da4699b3bbf32d554af78309.tar.gz
ChangeLog tag: Tue Apr 25 17:38:34 UTC 2006 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'TAO/tao/ObjRefTemplate')
-rw-r--r--TAO/tao/ObjRefTemplate/Default_ORTC.cpp6
-rw-r--r--TAO/tao/ObjRefTemplate/Default_ORTC.h1
-rw-r--r--TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp10
-rw-r--r--TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h1
4 files changed, 17 insertions, 1 deletions
diff --git a/TAO/tao/ObjRefTemplate/Default_ORTC.cpp b/TAO/tao/ObjRefTemplate/Default_ORTC.cpp
index 3f6aea58e32..ef7dde2671c 100644
--- a/TAO/tao/ObjRefTemplate/Default_ORTC.cpp
+++ b/TAO/tao/ObjRefTemplate/Default_ORTC.cpp
@@ -118,6 +118,12 @@ CORBA::Boolean TAO_Default_ORT::ObjectReferenceTemplate::_tao_unmarshal_v (TAO_I
return this->_tao_unmarshal__TAO_Default_ORT_ObjectReferenceTemplate (strm);
}
+CORBA::Boolean TAO_Default_ORT::ObjectReferenceTemplate::_tao_match_formal_type (ptrdiff_t formal_type_id) const
+{
+ return formal_type_id ==
+ reinterpret_cast<ptrdiff_t>(&TAO_Default_ORT::ObjectReferenceTemplate::_downcast);
+}
+
CORBA::Boolean TAO_Default_ORT::ObjectReferenceTemplate::_tao_unmarshal (
TAO_InputCDR &strm,
ObjectReferenceTemplate *&new_object
diff --git a/TAO/tao/ObjRefTemplate/Default_ORTC.h b/TAO/tao/ObjRefTemplate/Default_ORTC.h
index 0500d24c41e..aaa7789cdda 100644
--- a/TAO/tao/ObjRefTemplate/Default_ORTC.h
+++ b/TAO/tao/ObjRefTemplate/Default_ORTC.h
@@ -133,6 +133,7 @@ namespace TAO_Default_ORT
virtual CORBA::Boolean _tao_marshal_v (TAO_OutputCDR &) const;
virtual CORBA::Boolean _tao_unmarshal_v (TAO_InputCDR &);
+ virtual CORBA::Boolean _tao_match_formal_type (ptrdiff_t ) const;
private:
ObjectReferenceTemplate (const ObjectReferenceTemplate &);
diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp
index 9dffb88e09d..8672196c8f2 100644
--- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp
+++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.cpp
@@ -134,7 +134,8 @@ PortableInterceptor::ObjectReferenceFactory::_tao_any_destructor (void *_tao_voi
PortableInterceptor::ObjectReferenceFactory::~ObjectReferenceFactory (void)
{}
-CORBA::Boolean PortableInterceptor::ObjectReferenceFactory::_tao_unmarshal (
+CORBA::Boolean
+PortableInterceptor::ObjectReferenceFactory::_tao_unmarshal (
TAO_InputCDR &strm,
ObjectReferenceFactory *&new_object
)
@@ -240,6 +241,13 @@ CORBA::Boolean PortableInterceptor::ObjectReferenceTemplate::_tao_unmarshal (
return 1;
}
+CORBA::Boolean
+PortableInterceptor::ObjectReferenceFactory::_tao_match_formal_type (ptrdiff_t formal_type_id) const
+{
+ return formal_type_id ==
+ reinterpret_cast<ptrdiff_t>(&PortableInterceptor::ObjectReferenceFactory::_downcast);
+}
+
// TAO_IDL - Generated from
// be\be_visitor_sequence/sequence_cs.cpp:65
diff --git a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h
index 3e134c09da0..ed453afe5c0 100644
--- a/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h
+++ b/TAO/tao/ObjRefTemplate/ObjectReferenceTemplateC.h
@@ -147,6 +147,7 @@ namespace PortableInterceptor
virtual ~ObjectReferenceFactory (void);
+ virtual CORBA::Boolean _tao_match_formal_type(ptrdiff_t ) const;
private:
ObjectReferenceFactory (const ObjectReferenceFactory &);