#include "tao/Tagged_Components.h"
#include "tao/GIOP_Message_Version.h"
#include "tao/Refcounted_ObjectKey.h"
#include "tao/Service_Callbacks.h"
#include "tao/Profile.i"
Include dependency graph for Profile.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | CORBA |
Classes | |
class | TAO_Profile |
Defines the Profile interface. More... | |
class | TAO_Unknown_Profile |
A TAO_Profile class to handle foreign profiles. More... | |
Typedefs | |
typedef TAO::unbounded_value_sequence< CORBA::Octet > | TAO_opaque |
Functions | |
TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const TAO_opaque &) |
TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, TAO_opaque &) |
Variables | |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL class | ACE_Lock |
ACE_END_VERSIONED_NAMESPACE_DECL TAO_BEGIN_VERSIONED_NAMESPACE_DECL class | TAO_MProfile |
Definition in file Profile.h.
|
Definition at line 392 of file Profile.h. Referenced by operator<<(), and operator>>(). |
|
Definition at line 942 of file Profile.cpp. References TAO::unbounded_value_sequence< T >::get_buffer(), ACE_OutputCDR::good_bit(), TAO::unbounded_value_sequence< T >::length(), TAO_opaque, ACE_OutputCDR::write_octet_array(), ACE_OutputCDR::write_octet_array_mb(), and ACE_OutputCDR::write_ulong().
00943 { 00944 CORBA::ULong const length = x.length (); 00945 cdr.write_ulong (length); 00946 00947 #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) 00948 if (x.mb () != 0) 00949 { 00950 cdr.write_octet_array_mb (x.mb ()); 00951 } 00952 else 00953 #endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */ 00954 { 00955 cdr.write_octet_array (x.get_buffer (), length); 00956 } 00957 00958 return (CORBA::Boolean) cdr.good_bit (); 00959 } |
|
Definition at line 962 of file Profile.cpp. References ACE_BIT_DISABLED, ACE_Message_Block::flags(), TAO::unbounded_value_sequence< T >::get_buffer(), ACE_InputCDR::good_bit(), TAO::unbounded_value_sequence< T >::length(), TAO_InputCDR::orb_core(), ACE_InputCDR::read_octet_array(), ACE_InputCDR::read_ulong(), TAO::unbounded_value_sequence< T >::replace(), ACE_InputCDR::skip_bytes(), ACE_InputCDR::start(), and TAO_opaque.
00963 { 00964 CORBA::ULong length; 00965 cdr.read_ulong (length); 00966 00967 #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) 00968 if(ACE_BIT_DISABLED(cdr.start()->flags(), 00969 ACE_Message_Block::DONT_DELETE) 00970 && (cdr.orb_core() == 0 00971 || 1 == cdr.orb_core()-> 00972 resource_factory()-> 00973 input_cdr_allocator_type_locked() 00974 ) 00975 ) 00976 { 00977 x.replace (length, cdr.start ()); 00978 x.mb ()->wr_ptr (x.mb ()->rd_ptr () + length); 00979 cdr.skip_bytes (length); 00980 } 00981 else 00982 #endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ 00983 { 00984 x.length (length); 00985 cdr.read_octet_array (x.get_buffer (), length); 00986 } 00987 00988 return (CORBA::Boolean) cdr.good_bit (); 00989 } |
|
|
|
|