Classes | Namespaces | Defines | Typedefs | Functions | Variables

PolicyC.cpp File Reference

#include "tao/PolicyC.h"
#include "tao/CDR.h"
#include "tao/SystemException.h"
#include "tao/Invocation_Adapter.h"
#include "tao/Object_T.h"
#include "tao/Basic_Arguments.h"
#include "tao/Object_Argument_T.h"
#include "ace/OS_NS_string.h"
#include "tao/AnyTypeCode_Adapter.h"
#include "ace/Dynamic_Service.h"
Include dependency graph for PolicyC.cpp:

Go to the source code of this file.

Classes

class  TAO::Arg_Traits< CORBA::Policy >

Namespaces

namespace  CORBA
 

FUZZ: disable check_for_include/.


namespace  TAO
 

Define symbolic names for the ORB collocation strategies.


Defines

#define _CORBA_POLICY__ARG_TRAITS_CS_

Typedefs

typedef TAO_Objref_Var_T< Policy > CORBA::Policy_var
typedef TAO_Objref_Out_T< Policy > CORBA::Policy_out

Functions

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::PolicyError &_tao_aggregate)
CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::PolicyError &_tao_aggregate)
CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::InvalidPolicies &_tao_aggregate)
CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::InvalidPolicies &_tao_aggregate)
CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::Policy_ptr _tao_objref)
CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::Policy_ptr &_tao_objref)

Variables

TAO::Collocation_Proxy_Broker *(* CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer )(CORBA::Object_ptr obj)=0

Define Documentation

#define _CORBA_POLICY__ARG_TRAITS_CS_

Definition at line 75 of file PolicyC.cpp.


Function Documentation

CORBA::Boolean operator<< ( TAO_OutputCDR strm,
const CORBA::PolicyError _tao_aggregate 
)

Definition at line 630 of file PolicyC.cpp.

{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      return (
        (strm << _tao_aggregate.reason)
       );
    }
  else
    {
      return false;
    }
}

CORBA::Boolean operator<< ( TAO_OutputCDR strm,
const CORBA::Policy_ptr  _tao_objref 
)

Definition at line 724 of file PolicyC.cpp.

{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator<< ( TAO_OutputCDR strm,
const CORBA::InvalidPolicies _tao_aggregate 
)

Definition at line 663 of file PolicyC.cpp.

{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      return (
        (strm << _tao_aggregate.indices)
       );
    }
  else
    {
      return false;
    }
}

CORBA::Boolean operator>> ( TAO_InputCDR strm,
CORBA::InvalidPolicies _tao_aggregate 
)

Definition at line 682 of file PolicyC.cpp.

{
  // Demarshal the members.
  return (
    (strm >> _tao_aggregate.indices)
  );
}

CORBA::Boolean operator>> ( TAO_InputCDR strm,
CORBA::PolicyError _tao_aggregate 
)

Definition at line 649 of file PolicyC.cpp.

{
  // Demarshal the members.
  return (
    (strm >> _tao_aggregate.reason)
  );
}

CORBA::Boolean operator>> ( TAO_InputCDR strm,
CORBA::Policy_ptr _tao_objref 
)

Definition at line 733 of file PolicyC.cpp.

{
  CORBA::Object_var obj;

  if (!(strm >> obj.inout ()))
    {
      return false;
    }

  typedef ::CORBA::Policy RHS_SCOPED_NAME;

  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CORBA__TAO_Policy_Proxy_Broker_Factory_function_pointer
      );

  return 1;
}


Variable Documentation

Definition at line 398 of file PolicyC.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines