summaryrefslogtreecommitdiff
path: root/TAO/tao/IORTable/IORTableC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IORTable/IORTableC.cpp')
-rw-r--r--TAO/tao/IORTable/IORTableC.cpp507
1 files changed, 96 insertions, 411 deletions
diff --git a/TAO/tao/IORTable/IORTableC.cpp b/TAO/tao/IORTable/IORTableC.cpp
index 79c6d54b828..10d75a0b896 100644
--- a/TAO/tao/IORTable/IORTableC.cpp
+++ b/TAO/tao/IORTable/IORTableC.cpp
@@ -35,7 +35,6 @@
#endif /* TAO_HAS_INTERCEPTORS == 1 */
-
#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */
@@ -120,7 +119,7 @@ void IORTable::AlreadyBound::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -133,7 +132,7 @@ void IORTable::AlreadyBound::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -215,7 +214,7 @@ void IORTable::NotFound::_tao_encode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -228,7 +227,7 @@ void IORTable::NotFound::_tao_decode (
{
return;
}
-
+
ACE_THROW (CORBA::MARSHAL ());
}
@@ -240,7 +239,7 @@ void IORTable::NotFound::_tao_decode (
int IORTable::Table::_tao_class_id = 0;
IORTable::Table_ptr
-tao_IORTable_Table_duplicate (
+IORTable::tao_Table_life::tao_duplicate (
IORTable::Table_ptr p
)
{
@@ -248,7 +247,7 @@ tao_IORTable_Table_duplicate (
}
void
-tao_IORTable_Table_release (
+IORTable::tao_Table_life::tao_release (
IORTable::Table_ptr p
)
{
@@ -256,231 +255,67 @@ tao_IORTable_Table_release (
}
IORTable::Table_ptr
-tao_IORTable_Table_nil (
+IORTable::tao_Table_life::tao_nil (
void
)
{
return IORTable::Table::_nil ();
}
-IORTable::Table_ptr
-tao_IORTable_Table_narrow (
- CORBA::Object *p
- ACE_ENV_ARG_DECL
- )
-{
- return IORTable::Table::_narrow (p ACE_ENV_ARG_PARAMETER);
-}
-
-CORBA::Object *
-tao_IORTable_Table_upcast (
- void *src
- )
-{
- IORTable::Table **tmp =
- ACE_static_cast (IORTable::Table **, src);
- return *tmp;
-}
-
CORBA::Boolean
-tao_IORTable_Table_marshal (
+IORTable::tao_Table_life::tao_marshal (
IORTable::Table_ptr p,
- TAO_OutputCDR &strm
+ TAO_OutputCDR &cdr
)
{
- return p->marshal (strm);
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
-
-// *************************************************************
-// IORTable::Table_var
-// *************************************************************
-
-IORTable::Table_var::Table_var (void)
- : ptr_ (Table::_nil ())
-{}
-
-::IORTable::Table_ptr
-IORTable::Table_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-IORTable::Table_var::Table_var (const ::IORTable::Table_var &p)
- : TAO_Base_var (),
- ptr_ (Table::_duplicate (p.ptr ()))
-{}
-
-IORTable::Table_var::~Table_var (void)
-{
- CORBA::release (this->ptr_);
-}
-
-IORTable::Table_var &
-IORTable::Table_var::operator= (Table_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-IORTable::Table_var &
-IORTable::Table_var::operator= (const ::IORTable::Table_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::IORTable::Table::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-IORTable::Table_var::operator const ::IORTable::Table_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-IORTable::Table_var::operator ::IORTable::Table_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IORTable::Table_ptr
-IORTable::Table_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-::IORTable::Table_ptr
-IORTable::Table_var::in (void) const
-{
- return this->ptr_;
+ return p->marshal (cdr);
}
-::IORTable::Table_ptr &
-IORTable::Table_var::inout (void)
-{
- return this->ptr_;
-}
-
-::IORTable::Table_ptr &
-IORTable::Table_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IORTable::Table::_nil ();
- return this->ptr_;
-}
-
-::IORTable::Table_ptr
-IORTable::Table_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::IORTable::Table_ptr val = this->ptr_;
- this->ptr_ = ::IORTable::Table::_nil ();
- return val;
-}
-
-::IORTable::Table_ptr
-IORTable::Table_var::tao_duplicate (Table_ptr p)
-{
- return ::IORTable::Table::_duplicate (p);
-}
-
-void
-IORTable::Table_var::tao_release (Table_ptr p)
-{
- CORBA::release (p);
-}
-
-::IORTable::Table_ptr
-IORTable::Table_var::tao_nil (void)
-{
- return ::IORTable::Table::_nil ();
-}
-
-::IORTable::Table_ptr
-IORTable::Table_var::tao_narrow (
+IORTable::Table_ptr
+IORTable::tao_Table_cast::tao_narrow (
CORBA::Object *p
ACE_ENV_ARG_DECL
)
{
- return ::IORTable::Table::_narrow (p ACE_ENV_ARG_PARAMETER);
+ return IORTable::Table::_narrow (p ACE_ENV_ARG_PARAMETER);
}
CORBA::Object *
-IORTable::Table_var::tao_upcast (void *src)
+IORTable::tao_Table_cast::tao_upcast (
+ void *src
+ )
{
- Table **tmp =
- ACE_static_cast (Table **, src);
+ IORTable::Table **tmp =
+ ACE_static_cast (IORTable::Table **, src);
return *tmp;
}
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
-
-// *************************************************************
-// IORTable::Table_out
-// *************************************************************
-
-IORTable::Table_out::Table_out (Table_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::IORTable::Table::_nil ();
-}
-
-IORTable::Table_out::Table_out (Table_var &p)
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IORTable::Table::_nil ();
-}
-
-IORTable::Table_out::Table_out (const ::IORTable::Table_out &p)
- : ptr_ (ACE_const_cast (Table_out &, p).ptr_)
-{}
-
-::IORTable::Table_out &
-IORTable::Table_out::operator= (const ::IORTable::Table_out &p)
-{
- this->ptr_ = ACE_const_cast (Table_out&, p).ptr_;
- return *this;
-}
-
-IORTable::Table_out &
-IORTable::Table_out::operator= (const ::IORTable::Table_var &p)
-{
- this->ptr_ = ::IORTable::Table::_duplicate (p.ptr ());
- return *this;
-}
-
-IORTable::Table_out &
-IORTable::Table_out::operator= (Table_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-IORTable::Table_out::operator ::IORTable::Table_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IORTable::Table_ptr &
-IORTable::Table_out::ptr (void)
-{
- return this->ptr_;
-}
-
-::IORTable::Table_ptr
-IORTable::Table_out::operator-> (void)
-{
- return this->ptr_;
-}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class
+ TAO_Objref_Var_T<
+ IORTable::Table,
+ IORTable::tao_Table_life
+ >;
+ template class
+ TAO_Objref_Out_T<
+ IORTable::Table,
+ IORTable::tao_Table_life
+ >;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate \
+ TAO_Objref_Var_T< \
+ IORTable::Table, \
+ IORTable::tao_Table_life \
+ >
+# pragma instantiate \
+ TAO_Objref_Out_T< \
+ IORTable::Table, \
+ IORTable::tao_Table_life \
+ >
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232
IORTable::Table::Table (void)
{}
@@ -497,7 +332,7 @@ IORTable::Table::_narrow (
return Table::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-IORTable::Table_ptr
+IORTable::Table_ptr
IORTable::Table::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
@@ -567,13 +402,19 @@ const char* IORTable::Table::_interface_repository_id (void) const
return "IDL:IORTable/Table:1.0";
}
+CORBA::Boolean
+IORTable::Table::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
+
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:61
int IORTable::Locator::_tao_class_id = 0;
IORTable::Locator_ptr
-tao_IORTable_Locator_duplicate (
+IORTable::tao_Locator_life::tao_duplicate (
IORTable::Locator_ptr p
)
{
@@ -581,7 +422,7 @@ tao_IORTable_Locator_duplicate (
}
void
-tao_IORTable_Locator_release (
+IORTable::tao_Locator_life::tao_release (
IORTable::Locator_ptr p
)
{
@@ -589,231 +430,68 @@ tao_IORTable_Locator_release (
}
IORTable::Locator_ptr
-tao_IORTable_Locator_nil (
+IORTable::tao_Locator_life::tao_nil (
void
)
{
return IORTable::Locator::_nil ();
}
-IORTable::Locator_ptr
-tao_IORTable_Locator_narrow (
- CORBA::Object *p
- ACE_ENV_ARG_DECL
- )
-{
- return IORTable::Locator::_narrow (p ACE_ENV_ARG_PARAMETER);
-}
-
-CORBA::Object *
-tao_IORTable_Locator_upcast (
- void *src
- )
-{
- IORTable::Locator **tmp =
- ACE_static_cast (IORTable::Locator **, src);
- return *tmp;
-}
-
CORBA::Boolean
-tao_IORTable_Locator_marshal (
+IORTable::tao_Locator_life::tao_marshal (
IORTable::Locator_ptr p,
- TAO_OutputCDR &strm
+ TAO_OutputCDR &cdr
)
{
- return p->marshal (strm);
-}
-
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:721
-
-// *************************************************************
-// IORTable::Locator_var
-// *************************************************************
-
-IORTable::Locator_var::Locator_var (void)
- : ptr_ (Locator::_nil ())
-{}
-
-::IORTable::Locator_ptr
-IORTable::Locator_var::ptr (void) const
-{
- return this->ptr_;
-}
-
-IORTable::Locator_var::Locator_var (const ::IORTable::Locator_var &p)
- : TAO_Base_var (),
- ptr_ (Locator::_duplicate (p.ptr ()))
-{}
-
-IORTable::Locator_var::~Locator_var (void)
-{
- CORBA::release (this->ptr_);
-}
-
-IORTable::Locator_var &
-IORTable::Locator_var::operator= (Locator_ptr p)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = p;
- return *this;
-}
-
-IORTable::Locator_var &
-IORTable::Locator_var::operator= (const ::IORTable::Locator_var &p)
-{
- if (this != &p)
- {
- CORBA::release (this->ptr_);
- this->ptr_ = ::IORTable::Locator::_duplicate (p.ptr ());
- }
- return *this;
-}
-
-IORTable::Locator_var::operator const ::IORTable::Locator_ptr &() const // cast
-{
- return this->ptr_;
-}
-
-IORTable::Locator_var::operator ::IORTable::Locator_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr
-IORTable::Locator_var::operator-> (void) const
-{
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr
-IORTable::Locator_var::in (void) const
-{
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr &
-IORTable::Locator_var::inout (void)
-{
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr &
-IORTable::Locator_var::out (void)
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IORTable::Locator::_nil ();
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr
-IORTable::Locator_var::_retn (void)
-{
- // yield ownership of managed obj reference
- ::IORTable::Locator_ptr val = this->ptr_;
- this->ptr_ = ::IORTable::Locator::_nil ();
- return val;
-}
-
-::IORTable::Locator_ptr
-IORTable::Locator_var::tao_duplicate (Locator_ptr p)
-{
- return ::IORTable::Locator::_duplicate (p);
-}
-
-void
-IORTable::Locator_var::tao_release (Locator_ptr p)
-{
- CORBA::release (p);
-}
-
-::IORTable::Locator_ptr
-IORTable::Locator_var::tao_nil (void)
-{
- return ::IORTable::Locator::_nil ();
+ return p->marshal (cdr);
}
-::IORTable::Locator_ptr
-IORTable::Locator_var::tao_narrow (
+IORTable::Locator_ptr
+IORTable::tao_Locator_cast::tao_narrow (
CORBA::Object *p
ACE_ENV_ARG_DECL
)
{
- return ::IORTable::Locator::_narrow (p ACE_ENV_ARG_PARAMETER);
+ return IORTable::Locator::_narrow (p ACE_ENV_ARG_PARAMETER);
}
CORBA::Object *
-IORTable::Locator_var::tao_upcast (void *src)
+IORTable::tao_Locator_cast::tao_upcast (
+ void *src
+ )
{
- Locator **tmp =
- ACE_static_cast (Locator **, src);
+ IORTable::Locator **tmp =
+ ACE_static_cast (IORTable::Locator **, src);
return *tmp;
}
-// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:1030
-
-// *************************************************************
-// IORTable::Locator_out
-// *************************************************************
-
-IORTable::Locator_out::Locator_out (Locator_ptr &p)
- : ptr_ (p)
-{
- this->ptr_ = ::IORTable::Locator::_nil ();
-}
-
-IORTable::Locator_out::Locator_out (Locator_var &p)
- : ptr_ (p.out ())
-{
- CORBA::release (this->ptr_);
- this->ptr_ = ::IORTable::Locator::_nil ();
-}
-
-IORTable::Locator_out::Locator_out (const ::IORTable::Locator_out &p)
- : ptr_ (ACE_const_cast (Locator_out &, p).ptr_)
-{}
-
-::IORTable::Locator_out &
-IORTable::Locator_out::operator= (const ::IORTable::Locator_out &p)
-{
- this->ptr_ = ACE_const_cast (Locator_out&, p).ptr_;
- return *this;
-}
-
-IORTable::Locator_out &
-IORTable::Locator_out::operator= (const ::IORTable::Locator_var &p)
-{
- this->ptr_ = ::IORTable::Locator::_duplicate (p.ptr ());
- return *this;
-}
-
-IORTable::Locator_out &
-IORTable::Locator_out::operator= (Locator_ptr p)
-{
- this->ptr_ = p;
- return *this;
-}
-
-IORTable::Locator_out::operator ::IORTable::Locator_ptr &() // cast
-{
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr &
-IORTable::Locator_out::ptr (void)
-{
- return this->ptr_;
-}
-
-::IORTable::Locator_ptr
-IORTable::Locator_out::operator-> (void)
-{
- return this->ptr_;
-}
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+ template class
+ TAO_Objref_Var_T<
+ IORTable::Locator,
+ IORTable::tao_Locator_life
+ >;
+ template class
+ TAO_Objref_Out_T<
+ IORTable::Locator,
+ IORTable::tao_Locator_life
+ >;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+# pragma instantiate \
+ TAO_Objref_Var_T< \
+ IORTable::Locator, \
+ IORTable::tao_Locator_life \
+ >
+# pragma instantiate \
+ TAO_Objref_Out_T< \
+ IORTable::Locator, \
+ IORTable::tao_Locator_life \
+ >
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
// TAO_IDL - Generated from
-// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:235
+// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_cs.cpp:232
+
IORTable::Locator::Locator (void)
{}
@@ -829,7 +507,7 @@ IORTable::Locator::_narrow (
return Locator::_unchecked_narrow (obj ACE_ENV_ARG_PARAMETER);
}
-IORTable::Locator_ptr
+IORTable::Locator_ptr
IORTable::Locator::_unchecked_narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_NOT_USED
@@ -898,3 +576,10 @@ const char* IORTable::Locator::_interface_repository_id (void) const
{
return "IDL:IORTable/Locator:1.0";
}
+
+CORBA::Boolean
+IORTable::Locator::marshal (TAO_OutputCDR &)
+{
+ return 0;
+}
+