// -*- C++ -*-
//
// $Id: IFR_ExtendedS_T.inl 81955 2008-06-15 13:36:52Z sowayaa $

// ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
//       Center for Distributed Object Computing
//       Washington University
//       St. Louis, MO
//       USA
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
// and
//       Distributed Object Computing Laboratory
//       University of California at Irvine
//       Irvine, CA
//       USA
//       http://doc.ece.uci.edu/
// and
//       Institute for Software Integrated Systems
//       Vanderbilt University
//       Nashville, TN
//       USA
//       http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
//     http://www.cs.wustl.edu/~schmidt/TAO.html


TAO_BEGIN_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// be\be_visitor_interface/tie_si.cpp:96

template <class T> ACE_INLINE
POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T &t)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T &t, PortableServer::POA_ptr poa)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::FixedDef_tie<T>::FixedDef_tie (T *tp, PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::FixedDef_tie<T>::~FixedDef_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_CORBA::FixedDef_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_CORBA::FixedDef_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = &obj;
  this->rel_ = 0;
}

template <class T> ACE_INLINE void
POA_CORBA::FixedDef_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T> ACE_INLINE ::CORBA::Boolean
POA_CORBA::FixedDef_tie<T>::_is_owner (void)
{
  return this->rel_;
}

template <class T> ACE_INLINE void
POA_CORBA::FixedDef_tie<T>::_is_owner ( ::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_CORBA::FixedDef_tie<T>::_default_POA (void)
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }

  return this->FixedDef::_default_POA ();
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::DefinitionKind POA_CORBA::FixedDef_tie<T>::def_kind  (
  )
{
  return this->ptr_->def_kind (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::FixedDef_tie<T>::destroy  (
  )
{
  this->ptr_->destroy (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::TypeCode_ptr POA_CORBA::FixedDef_tie<T>::type  (
  )
{
  return this->ptr_->type (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::UShort POA_CORBA::FixedDef_tie<T>::digits  (
  )
{
  return this->ptr_->digits (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::FixedDef_tie<T>::digits  (
    ::CORBA::UShort digits
  )
{
  this->ptr_->digits (
    digits
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Short POA_CORBA::FixedDef_tie<T>::scale  (
  )
{
  return this->ptr_->scale (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::FixedDef_tie<T>::scale  (
    ::CORBA::Short scale
  )
{
  this->ptr_->scale (
    scale
  );
}

// TAO_IDL - Generated from
// be\be_visitor_interface/tie_si.cpp:96

template <class T> ACE_INLINE
POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T &t)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T &t, PortableServer::POA_ptr poa)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueMemberDef_tie<T>::ValueMemberDef_tie (T *tp, PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueMemberDef_tie<T>::~ValueMemberDef_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_CORBA::ValueMemberDef_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueMemberDef_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = &obj;
  this->rel_ = 0;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueMemberDef_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T> ACE_INLINE ::CORBA::Boolean
POA_CORBA::ValueMemberDef_tie<T>::_is_owner (void)
{
  return this->rel_;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueMemberDef_tie<T>::_is_owner ( ::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_CORBA::ValueMemberDef_tie<T>::_default_POA (void)
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }

  return this->ValueMemberDef::_default_POA ();
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::DefinitionKind POA_CORBA::ValueMemberDef_tie<T>::def_kind  (
  )
{
  return this->ptr_->def_kind (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::destroy  (
  )
{
  this->ptr_->destroy (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueMemberDef_tie<T>::id  (
  )
{
  return this->ptr_->id (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::id  (
    const char * id
  )
{
  this->ptr_->id (
    id
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueMemberDef_tie<T>::name  (
  )
{
  return this->ptr_->name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::name  (
    const char * name
  )
{
  this->ptr_->name (
    name
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueMemberDef_tie<T>::version  (
  )
{
  return this->ptr_->version (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::version  (
    const char * version
  )
{
  this->ptr_->version (
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Container_ptr POA_CORBA::ValueMemberDef_tie<T>::defined_in  (
  )
{
  return this->ptr_->defined_in (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueMemberDef_tie<T>::absolute_name  (
  )
{
  return this->ptr_->absolute_name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Repository_ptr POA_CORBA::ValueMemberDef_tie<T>::containing_repository  (
  )
{
  return this->ptr_->containing_repository (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Contained::Description * POA_CORBA::ValueMemberDef_tie<T>::describe  (
  )
{
  return this->ptr_->describe (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::move  (
    ::CORBA::Container_ptr new_container,
    const char * new_name,
    const char * new_version
  )
{
  this->ptr_->move (
    new_container,
    new_name,
    new_version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::TypeCode_ptr POA_CORBA::ValueMemberDef_tie<T>::type  (
  )
{
  return this->ptr_->type (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::IDLType_ptr POA_CORBA::ValueMemberDef_tie<T>::type_def  (
  )
{
  return this->ptr_->type_def (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::type_def  (
    ::CORBA::IDLType_ptr type_def
  )
{
  this->ptr_->type_def (
    type_def
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Visibility POA_CORBA::ValueMemberDef_tie<T>::access  (
  )
{
  return this->ptr_->access (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueMemberDef_tie<T>::access  (
    ::CORBA::Visibility access
  )
{
  this->ptr_->access (
    access
  );
}

// TAO_IDL - Generated from
// be\be_visitor_interface/tie_si.cpp:96

template <class T> ACE_INLINE
POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T &t)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T &t, PortableServer::POA_ptr poa)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueDef_tie<T>::ValueDef_tie (T *tp, PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueDef_tie<T>::~ValueDef_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_CORBA::ValueDef_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueDef_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = &obj;
  this->rel_ = 0;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueDef_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T> ACE_INLINE ::CORBA::Boolean
POA_CORBA::ValueDef_tie<T>::_is_owner (void)
{
  return this->rel_;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueDef_tie<T>::_is_owner ( ::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_CORBA::ValueDef_tie<T>::_default_POA (void)
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }

  return this->ValueDef::_default_POA ();
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::DefinitionKind POA_CORBA::ValueDef_tie<T>::def_kind  (
  )
{
  return this->ptr_->def_kind (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::destroy  (
  )
{
  this->ptr_->destroy (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Contained_ptr POA_CORBA::ValueDef_tie<T>::lookup  (
    const char * search_name
  )
{
  return this->ptr_->lookup (
    search_name
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ContainedSeq * POA_CORBA::ValueDef_tie<T>::contents  (
    ::CORBA::DefinitionKind limit_type,
    ::CORBA::Boolean exclude_inherited
  )
{
  return this->ptr_->contents (
    limit_type,
    exclude_inherited
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ContainedSeq * POA_CORBA::ValueDef_tie<T>::lookup_name  (
    const char * search_name,
    ::CORBA::Long levels_to_search,
    ::CORBA::DefinitionKind limit_type,
    ::CORBA::Boolean exclude_inherited
  )
{
  return this->ptr_->lookup_name (
    search_name,
    levels_to_search,
    limit_type,
    exclude_inherited
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Container::DescriptionSeq * POA_CORBA::ValueDef_tie<T>::describe_contents  (
    ::CORBA::DefinitionKind limit_type,
    ::CORBA::Boolean exclude_inherited,
    ::CORBA::Long max_returned_objs
  )
{
  return this->ptr_->describe_contents (
    limit_type,
    exclude_inherited,
    max_returned_objs
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ModuleDef_ptr POA_CORBA::ValueDef_tie<T>::create_module  (
    const char * id,
    const char * name,
    const char * version
  )
{
  return this->ptr_->create_module (
    id,
    name,
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ConstantDef_ptr POA_CORBA::ValueDef_tie<T>::create_constant  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    const ::CORBA::Any & value
  )
{
  return this->ptr_->create_constant (
    id,
    name,
    version,
    type,
    value
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::StructDef_ptr POA_CORBA::ValueDef_tie<T>::create_struct  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::StructMemberSeq & members
  )
{
  return this->ptr_->create_struct (
    id,
    name,
    version,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::UnionDef_ptr POA_CORBA::ValueDef_tie<T>::create_union  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr discriminator_type,
    const ::CORBA::UnionMemberSeq & members
  )
{
  return this->ptr_->create_union (
    id,
    name,
    version,
    discriminator_type,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::EnumDef_ptr POA_CORBA::ValueDef_tie<T>::create_enum  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::EnumMemberSeq & members
  )
{
  return this->ptr_->create_enum (
    id,
    name,
    version,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::AliasDef_ptr POA_CORBA::ValueDef_tie<T>::create_alias  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr original_type
  )
{
  return this->ptr_->create_alias (
    id,
    name,
    version,
    original_type
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::InterfaceDef_ptr POA_CORBA::ValueDef_tie<T>::create_interface  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::InterfaceDefSeq & base_interfaces
  )
{
  return this->ptr_->create_interface (
    id,
    name,
    version,
    base_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDef_ptr POA_CORBA::ValueDef_tie<T>::create_value  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::Boolean is_custom,
    ::CORBA::Boolean is_abstract,
    ::CORBA::ValueDef_ptr base_value,
    ::CORBA::Boolean is_truncatable,
    const ::CORBA::ValueDefSeq & abstract_base_values,
    const ::CORBA::InterfaceDefSeq & supported_interfaces,
    const ::CORBA::InitializerSeq & initializers
  )
{
  return this->ptr_->create_value (
    id,
    name,
    version,
    is_custom,
    is_abstract,
    base_value,
    is_truncatable,
    abstract_base_values,
    supported_interfaces,
    initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueBoxDef_ptr POA_CORBA::ValueDef_tie<T>::create_value_box  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr original_type_def
  )
{
  return this->ptr_->create_value_box (
    id,
    name,
    version,
    original_type_def
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExceptionDef_ptr POA_CORBA::ValueDef_tie<T>::create_exception  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::StructMemberSeq & members
  )
{
  return this->ptr_->create_exception (
    id,
    name,
    version,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::NativeDef_ptr POA_CORBA::ValueDef_tie<T>::create_native  (
    const char * id,
    const char * name,
    const char * version
  )
{
  return this->ptr_->create_native (
    id,
    name,
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::AbstractInterfaceDef_ptr POA_CORBA::ValueDef_tie<T>::create_abstract_interface  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::AbstractInterfaceDefSeq & base_interfaces
  )
{
  return this->ptr_->create_abstract_interface (
    id,
    name,
    version,
    base_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::LocalInterfaceDef_ptr POA_CORBA::ValueDef_tie<T>::create_local_interface  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::InterfaceDefSeq & base_interfaces
  )
{
  return this->ptr_->create_local_interface (
    id,
    name,
    version,
    base_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExtValueDef_ptr POA_CORBA::ValueDef_tie<T>::create_ext_value  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::Boolean is_custom,
    ::CORBA::Boolean is_abstract,
    ::CORBA::ValueDef_ptr base_value,
    ::CORBA::Boolean is_truncatable,
    const ::CORBA::ValueDefSeq & abstract_base_values,
    const ::CORBA::InterfaceDefSeq & supported_interfaces,
    const ::CORBA::ExtInitializerSeq & initializers
  )
{
  return this->ptr_->create_ext_value (
    id,
    name,
    version,
    is_custom,
    is_abstract,
    base_value,
    is_truncatable,
    abstract_base_values,
    supported_interfaces,
    initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueDef_tie<T>::id  (
  )
{
  return this->ptr_->id (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::id  (
    const char * id
  )
{
  this->ptr_->id (
    id
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueDef_tie<T>::name  (
  )
{
  return this->ptr_->name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::name  (
    const char * name
  )
{
  this->ptr_->name (
    name
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueDef_tie<T>::version  (
  )
{
  return this->ptr_->version (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::version  (
    const char * version
  )
{
  this->ptr_->version (
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Container_ptr POA_CORBA::ValueDef_tie<T>::defined_in  (
  )
{
  return this->ptr_->defined_in (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueDef_tie<T>::absolute_name  (
  )
{
  return this->ptr_->absolute_name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Repository_ptr POA_CORBA::ValueDef_tie<T>::containing_repository  (
  )
{
  return this->ptr_->containing_repository (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Contained::Description * POA_CORBA::ValueDef_tie<T>::describe  (
  )
{
  return this->ptr_->describe (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::move  (
    ::CORBA::Container_ptr new_container,
    const char * new_name,
    const char * new_version
  )
{
  this->ptr_->move (
    new_container,
    new_name,
    new_version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::TypeCode_ptr POA_CORBA::ValueDef_tie<T>::type  (
  )
{
  return this->ptr_->type (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::InterfaceDefSeq * POA_CORBA::ValueDef_tie<T>::supported_interfaces  (
  )
{
  return this->ptr_->supported_interfaces (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::supported_interfaces  (
    const ::CORBA::InterfaceDefSeq & supported_interfaces
  )
{
  this->ptr_->supported_interfaces (
    supported_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::InitializerSeq * POA_CORBA::ValueDef_tie<T>::initializers  (
  )
{
  return this->ptr_->initializers (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::initializers  (
    const ::CORBA::InitializerSeq & initializers
  )
{
  this->ptr_->initializers (
    initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDef_ptr POA_CORBA::ValueDef_tie<T>::base_value  (
  )
{
  return this->ptr_->base_value (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::base_value  (
    ::CORBA::ValueDef_ptr base_value
  )
{
  this->ptr_->base_value (
    base_value
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDefSeq * POA_CORBA::ValueDef_tie<T>::abstract_base_values  (
  )
{
  return this->ptr_->abstract_base_values (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::abstract_base_values  (
    const ::CORBA::ValueDefSeq & abstract_base_values
  )
{
  this->ptr_->abstract_base_values (
    abstract_base_values
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_abstract  (
  )
{
  return this->ptr_->is_abstract (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::is_abstract  (
    ::CORBA::Boolean is_abstract
  )
{
  this->ptr_->is_abstract (
    is_abstract
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_custom  (
  )
{
  return this->ptr_->is_custom (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::is_custom  (
    ::CORBA::Boolean is_custom
  )
{
  this->ptr_->is_custom (
    is_custom
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_truncatable  (
  )
{
  return this->ptr_->is_truncatable (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueDef_tie<T>::is_truncatable  (
    ::CORBA::Boolean is_truncatable
  )
{
  this->ptr_->is_truncatable (
    is_truncatable
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ValueDef_tie<T>::is_a  (
    const char * id
  )
{
  return this->ptr_->is_a (
    id
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDef::FullValueDescription * POA_CORBA::ValueDef_tie<T>::describe_value  (
  )
{
  return this->ptr_->describe_value (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueMemberDef_ptr POA_CORBA::ValueDef_tie<T>::create_value_member  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    ::CORBA::Visibility access
  )
{
  return this->ptr_->create_value_member (
    id,
    name,
    version,
    type,
    access
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::AttributeDef_ptr POA_CORBA::ValueDef_tie<T>::create_attribute  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    ::CORBA::AttributeMode mode
  )
{
  return this->ptr_->create_attribute (
    id,
    name,
    version,
    type,
    mode
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::OperationDef_ptr POA_CORBA::ValueDef_tie<T>::create_operation  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr result,
    ::CORBA::OperationMode mode,
    const ::CORBA::ParDescriptionSeq & params,
    const ::CORBA::ExceptionDefSeq & exceptions,
    const ::CORBA::ContextIdSeq & contexts
  )
{
  return this->ptr_->create_operation (
    id,
    name,
    version,
    result,
    mode,
    params,
    exceptions,
    contexts
  );
}

// TAO_IDL - Generated from
// be\be_visitor_interface/tie_si.cpp:96

template <class T> ACE_INLINE
POA_CORBA::ExtValueDef_tie<T>::ExtValueDef_tie (T &t)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ExtValueDef_tie<T>::ExtValueDef_tie (T &t, PortableServer::POA_ptr poa)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ExtValueDef_tie<T>::ExtValueDef_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ExtValueDef_tie<T>::ExtValueDef_tie (T *tp, PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ExtValueDef_tie<T>::~ExtValueDef_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_CORBA::ExtValueDef_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_CORBA::ExtValueDef_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = &obj;
  this->rel_ = 0;
}

template <class T> ACE_INLINE void
POA_CORBA::ExtValueDef_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T> ACE_INLINE ::CORBA::Boolean
POA_CORBA::ExtValueDef_tie<T>::_is_owner (void)
{
  return this->rel_;
}

template <class T> ACE_INLINE void
POA_CORBA::ExtValueDef_tie<T>::_is_owner ( ::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_CORBA::ExtValueDef_tie<T>::_default_POA (void)
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }

  return this->ExtValueDef::_default_POA ();
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::DefinitionKind POA_CORBA::ExtValueDef_tie<T>::def_kind  (
  )
{
  return this->ptr_->def_kind (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::destroy  (
  )
{
  this->ptr_->destroy (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Contained_ptr POA_CORBA::ExtValueDef_tie<T>::lookup  (
    const char * search_name
  )
{
  return this->ptr_->lookup (
    search_name
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ContainedSeq * POA_CORBA::ExtValueDef_tie<T>::contents  (
    ::CORBA::DefinitionKind limit_type,
    ::CORBA::Boolean exclude_inherited
  )
{
  return this->ptr_->contents (
    limit_type,
    exclude_inherited
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ContainedSeq * POA_CORBA::ExtValueDef_tie<T>::lookup_name  (
    const char * search_name,
    ::CORBA::Long levels_to_search,
    ::CORBA::DefinitionKind limit_type,
    ::CORBA::Boolean exclude_inherited
  )
{
  return this->ptr_->lookup_name (
    search_name,
    levels_to_search,
    limit_type,
    exclude_inherited
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Container::DescriptionSeq * POA_CORBA::ExtValueDef_tie<T>::describe_contents  (
    ::CORBA::DefinitionKind limit_type,
    ::CORBA::Boolean exclude_inherited,
    ::CORBA::Long max_returned_objs
  )
{
  return this->ptr_->describe_contents (
    limit_type,
    exclude_inherited,
    max_returned_objs
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ModuleDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_module  (
    const char * id,
    const char * name,
    const char * version
  )
{
  return this->ptr_->create_module (
    id,
    name,
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ConstantDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_constant  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    const ::CORBA::Any & value
  )
{
  return this->ptr_->create_constant (
    id,
    name,
    version,
    type,
    value
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::StructDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_struct  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::StructMemberSeq & members
  )
{
  return this->ptr_->create_struct (
    id,
    name,
    version,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::UnionDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_union  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr discriminator_type,
    const ::CORBA::UnionMemberSeq & members
  )
{
  return this->ptr_->create_union (
    id,
    name,
    version,
    discriminator_type,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::EnumDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_enum  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::EnumMemberSeq & members
  )
{
  return this->ptr_->create_enum (
    id,
    name,
    version,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::AliasDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_alias  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr original_type
  )
{
  return this->ptr_->create_alias (
    id,
    name,
    version,
    original_type
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::InterfaceDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_interface  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::InterfaceDefSeq & base_interfaces
  )
{
  return this->ptr_->create_interface (
    id,
    name,
    version,
    base_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_value  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::Boolean is_custom,
    ::CORBA::Boolean is_abstract,
    ::CORBA::ValueDef_ptr base_value,
    ::CORBA::Boolean is_truncatable,
    const ::CORBA::ValueDefSeq & abstract_base_values,
    const ::CORBA::InterfaceDefSeq & supported_interfaces,
    const ::CORBA::InitializerSeq & initializers
  )
{
  return this->ptr_->create_value (
    id,
    name,
    version,
    is_custom,
    is_abstract,
    base_value,
    is_truncatable,
    abstract_base_values,
    supported_interfaces,
    initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueBoxDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_value_box  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr original_type_def
  )
{
  return this->ptr_->create_value_box (
    id,
    name,
    version,
    original_type_def
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExceptionDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_exception  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::StructMemberSeq & members
  )
{
  return this->ptr_->create_exception (
    id,
    name,
    version,
    members
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::NativeDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_native  (
    const char * id,
    const char * name,
    const char * version
  )
{
  return this->ptr_->create_native (
    id,
    name,
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::AbstractInterfaceDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_abstract_interface  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::AbstractInterfaceDefSeq & base_interfaces
  )
{
  return this->ptr_->create_abstract_interface (
    id,
    name,
    version,
    base_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::LocalInterfaceDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_local_interface  (
    const char * id,
    const char * name,
    const char * version,
    const ::CORBA::InterfaceDefSeq & base_interfaces
  )
{
  return this->ptr_->create_local_interface (
    id,
    name,
    version,
    base_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExtValueDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_ext_value  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::Boolean is_custom,
    ::CORBA::Boolean is_abstract,
    ::CORBA::ValueDef_ptr base_value,
    ::CORBA::Boolean is_truncatable,
    const ::CORBA::ValueDefSeq & abstract_base_values,
    const ::CORBA::InterfaceDefSeq & supported_interfaces,
    const ::CORBA::ExtInitializerSeq & initializers
  )
{
  return this->ptr_->create_ext_value (
    id,
    name,
    version,
    is_custom,
    is_abstract,
    base_value,
    is_truncatable,
    abstract_base_values,
    supported_interfaces,
    initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ExtValueDef_tie<T>::id  (
  )
{
  return this->ptr_->id (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::id  (
    const char * id
  )
{
  this->ptr_->id (
    id
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ExtValueDef_tie<T>::name  (
  )
{
  return this->ptr_->name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::name  (
    const char * name
  )
{
  this->ptr_->name (
    name
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ExtValueDef_tie<T>::version  (
  )
{
  return this->ptr_->version (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::version  (
    const char * version
  )
{
  this->ptr_->version (
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Container_ptr POA_CORBA::ExtValueDef_tie<T>::defined_in  (
  )
{
  return this->ptr_->defined_in (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ExtValueDef_tie<T>::absolute_name  (
  )
{
  return this->ptr_->absolute_name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Repository_ptr POA_CORBA::ExtValueDef_tie<T>::containing_repository  (
  )
{
  return this->ptr_->containing_repository (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Contained::Description * POA_CORBA::ExtValueDef_tie<T>::describe  (
  )
{
  return this->ptr_->describe (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::move  (
    ::CORBA::Container_ptr new_container,
    const char * new_name,
    const char * new_version
  )
{
  this->ptr_->move (
    new_container,
    new_name,
    new_version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::TypeCode_ptr POA_CORBA::ExtValueDef_tie<T>::type  (
  )
{
  return this->ptr_->type (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::InterfaceDefSeq * POA_CORBA::ExtValueDef_tie<T>::supported_interfaces  (
  )
{
  return this->ptr_->supported_interfaces (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::supported_interfaces  (
    const ::CORBA::InterfaceDefSeq & supported_interfaces
  )
{
  this->ptr_->supported_interfaces (
    supported_interfaces
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::InitializerSeq * POA_CORBA::ExtValueDef_tie<T>::initializers  (
  )
{
  return this->ptr_->initializers (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::initializers  (
    const ::CORBA::InitializerSeq & initializers
  )
{
  this->ptr_->initializers (
    initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDef_ptr POA_CORBA::ExtValueDef_tie<T>::base_value  (
  )
{
  return this->ptr_->base_value (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::base_value  (
    ::CORBA::ValueDef_ptr base_value
  )
{
  this->ptr_->base_value (
    base_value
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDefSeq * POA_CORBA::ExtValueDef_tie<T>::abstract_base_values  (
  )
{
  return this->ptr_->abstract_base_values (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::abstract_base_values  (
    const ::CORBA::ValueDefSeq & abstract_base_values
  )
{
  this->ptr_->abstract_base_values (
    abstract_base_values
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ExtValueDef_tie<T>::is_abstract  (
  )
{
  return this->ptr_->is_abstract (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::is_abstract  (
    ::CORBA::Boolean is_abstract
  )
{
  this->ptr_->is_abstract (
    is_abstract
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ExtValueDef_tie<T>::is_custom  (
  )
{
  return this->ptr_->is_custom (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::is_custom  (
    ::CORBA::Boolean is_custom
  )
{
  this->ptr_->is_custom (
    is_custom
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ExtValueDef_tie<T>::is_truncatable  (
  )
{
  return this->ptr_->is_truncatable (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::is_truncatable  (
    ::CORBA::Boolean is_truncatable
  )
{
  this->ptr_->is_truncatable (
    is_truncatable
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Boolean POA_CORBA::ExtValueDef_tie<T>::is_a  (
    const char * id
  )
{
  return this->ptr_->is_a (
    id
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueDef::FullValueDescription * POA_CORBA::ExtValueDef_tie<T>::describe_value  (
  )
{
  return this->ptr_->describe_value (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ValueMemberDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_value_member  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    ::CORBA::Visibility access
  )
{
  return this->ptr_->create_value_member (
    id,
    name,
    version,
    type,
    access
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::AttributeDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_attribute  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    ::CORBA::AttributeMode mode
  )
{
  return this->ptr_->create_attribute (
    id,
    name,
    version,
    type,
    mode
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::OperationDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_operation  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr result,
    ::CORBA::OperationMode mode,
    const ::CORBA::ParDescriptionSeq & params,
    const ::CORBA::ExceptionDefSeq & exceptions,
    const ::CORBA::ContextIdSeq & contexts
  )
{
  return this->ptr_->create_operation (
    id,
    name,
    version,
    result,
    mode,
    params,
    exceptions,
    contexts
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExtInitializerSeq * POA_CORBA::ExtValueDef_tie<T>::ext_initializers  (
  )
{
  return this->ptr_->ext_initializers (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ExtValueDef_tie<T>::ext_initializers  (
    const ::CORBA::ExtInitializerSeq & ext_initializers
  )
{
  this->ptr_->ext_initializers (
    ext_initializers
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExtValueDef::ExtFullValueDescription * POA_CORBA::ExtValueDef_tie<T>::describe_ext_value  (
  )
{
  return this->ptr_->describe_ext_value (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::ExtAttributeDef_ptr POA_CORBA::ExtValueDef_tie<T>::create_ext_attribute  (
    const char * id,
    const char * name,
    const char * version,
    ::CORBA::IDLType_ptr type,
    ::CORBA::AttributeMode mode,
    const ::CORBA::ExceptionDefSeq & get_exceptions,
    const ::CORBA::ExceptionDefSeq & set_exceptions
  )
{
  return this->ptr_->create_ext_attribute (
    id,
    name,
    version,
    type,
    mode,
    get_exceptions,
    set_exceptions
  );
}

// TAO_IDL - Generated from
// be\be_visitor_interface/tie_si.cpp:96

template <class T> ACE_INLINE
POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T &t)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T &t, PortableServer::POA_ptr poa)
  : ptr_ (&t),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (0)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueBoxDef_tie<T>::ValueBoxDef_tie (T *tp, PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T> ACE_INLINE
POA_CORBA::ValueBoxDef_tie<T>::~ValueBoxDef_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_CORBA::ValueBoxDef_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueBoxDef_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = &obj;
  this->rel_ = 0;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueBoxDef_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }

  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T> ACE_INLINE ::CORBA::Boolean
POA_CORBA::ValueBoxDef_tie<T>::_is_owner (void)
{
  return this->rel_;
}

template <class T> ACE_INLINE void
POA_CORBA::ValueBoxDef_tie<T>::_is_owner ( ::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_CORBA::ValueBoxDef_tie<T>::_default_POA (void)
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }

  return this->ValueBoxDef::_default_POA ();
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::DefinitionKind POA_CORBA::ValueBoxDef_tie<T>::def_kind  (
  )
{
  return this->ptr_->def_kind (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueBoxDef_tie<T>::destroy  (
  )
{
  this->ptr_->destroy (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueBoxDef_tie<T>::id  (
  )
{
  return this->ptr_->id (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueBoxDef_tie<T>::id  (
    const char * id
  )
{
  this->ptr_->id (
    id
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueBoxDef_tie<T>::name  (
  )
{
  return this->ptr_->name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueBoxDef_tie<T>::name  (
    const char * name
  )
{
  this->ptr_->name (
    name
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueBoxDef_tie<T>::version  (
  )
{
  return this->ptr_->version (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueBoxDef_tie<T>::version  (
    const char * version
  )
{
  this->ptr_->version (
    version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Container_ptr POA_CORBA::ValueBoxDef_tie<T>::defined_in  (
  )
{
  return this->ptr_->defined_in (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
char * POA_CORBA::ValueBoxDef_tie<T>::absolute_name  (
  )
{
  return this->ptr_->absolute_name (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Repository_ptr POA_CORBA::ValueBoxDef_tie<T>::containing_repository  (
  )
{
  return this->ptr_->containing_repository (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::Contained::Description * POA_CORBA::ValueBoxDef_tie<T>::describe  (
  )
{
  return this->ptr_->describe (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueBoxDef_tie<T>::move  (
    ::CORBA::Container_ptr new_container,
    const char * new_name,
    const char * new_version
  )
{
  this->ptr_->move (
    new_container,
    new_name,
    new_version
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::TypeCode_ptr POA_CORBA::ValueBoxDef_tie<T>::type  (
  )
{
  return this->ptr_->type (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
::CORBA::IDLType_ptr POA_CORBA::ValueBoxDef_tie<T>::original_type_def  (
  )
{
  return this->ptr_->original_type_def (
  );
}

// TAO_IDL - Generated from
// be\be_visitor_operation/tie_si.cpp:101

template <class T> ACE_INLINE
void POA_CORBA::ValueBoxDef_tie<T>::original_type_def  (
    ::CORBA::IDLType_ptr original_type_def
  )
{
  this->ptr_->original_type_def (
    original_type_def
  );
}


TAO_END_VERSIONED_NAMESPACE_DECL
