// -*- C++ -*-
//
// $Id$

// ****  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_IDL - Generated from
// be/be_visitor_union/union_ci.cpp:51

// *************************************************************
// Inline operations for union CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes
// *************************************************************

// TAO_IDL - Generated from
// be/be_visitor_union/discriminant_ci.cpp:71

// Accessor to set the discriminant.
ACE_INLINE
void
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::_d (CosTradingRepos::ServiceTypeRepository::ListOption discval)
{
  this->disc_ = discval;
}

// Accessor to get the discriminant.
ACE_INLINE
CosTradingRepos::ServiceTypeRepository::ListOption
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::_d (void) const
{
  return this->disc_;
}

// TAO_IDL - Generated from
// be/be_visitor_union_branch/public_ci.cpp:687

// Accessor to set the member.
ACE_INLINE
void
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::all_ (CORBA::Boolean val)
{
  // Set the discriminant value.
  this->_reset (CosTradingRepos::ServiceTypeRepository::all, 0);
  this->disc_ = CosTradingRepos::ServiceTypeRepository::all;
  // Set the value.
  this->u_.all__ = val;
}

// Retrieve the member.
ACE_INLINE
CORBA::Boolean
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::all_ (void) const
{
  return this->u_.all__;
}

// TAO_IDL - Generated from
// be/be_visitor_union_branch/public_ci.cpp:1208

// Accessor to set the member.
ACE_INLINE
void
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::incarnation (const CosTradingRepos::ServiceTypeRepository::IncarnationNumber &val)
{
  // Set the discriminant value.
  this->_reset (CosTradingRepos::ServiceTypeRepository::since, 0);
  this->disc_ = CosTradingRepos::ServiceTypeRepository::since;
  this->u_.incarnation_ = val;
}

// Readonly get method.
ACE_INLINE
const CosTradingRepos::ServiceTypeRepository::IncarnationNumber &
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::incarnation (void) const
{
  return this->u_.incarnation_;
}

// Read/write get method.
ACE_INLINE
CosTradingRepos::ServiceTypeRepository::IncarnationNumber &
CosTradingRepos::ServiceTypeRepository::SpecifiedServiceTypes::incarnation (void)
{
  return this->u_.incarnation_;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_ci.cpp:70

#if !defined (_COSTRADINGREPOS_SERVICETYPEREPOSITORY___CI_)
#define _COSTRADINGREPOS_SERVICETYPEREPOSITORY___CI_

ACE_INLINE
CosTradingRepos::ServiceTypeRepository::ServiceTypeRepository (
    TAO_Stub *objref,
    CORBA::Boolean _tao_collocated,
    TAO_Abstract_ServantBase *servant,
    TAO_ORB_Core *oc
  )
  : ACE_NESTED_CLASS (CORBA, Object) (
        objref,
        _tao_collocated,
        servant,
        oc
      ),
    the_TAO_ServiceTypeRepository_Proxy_Broker_ (0)
{
  this->CosTradingRepos_ServiceTypeRepository_setup_collocation ();
}

ACE_INLINE
CosTradingRepos::ServiceTypeRepository::ServiceTypeRepository (
    IOP::IOR *ior,
    TAO_ORB_Core *oc
  )
  : ACE_NESTED_CLASS (CORBA, Object) (ior, oc),
    the_TAO_ServiceTypeRepository_Proxy_Broker_ (0)
{
}

#endif /* end #if !defined */

