#include "tao/Tagged_Components.h"
#include "tao/GIOP_Message_Version.h"
#include "tao/Refcounted_ObjectKey.h"
#include "tao/Service_Callbacks.h"
#include "tao/Configurable_Refcount.h"
#include "tao/Profile.inl"
Go to the source code of this file.
Classes | |
class | TAO_Profile |
Defines the Profile interface. More... | |
class | TAO_Unknown_Profile |
A TAO_Profile class to handle foreign profiles. More... | |
Namespaces | |
namespace | CORBA |
FUZZ: disable check_for_include/. | |
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 &) |
Definition in file Profile.h.
typedef TAO::unbounded_value_sequence<CORBA::Octet> TAO_opaque |
TAO_Export CORBA::Boolean operator<< | ( | TAO_OutputCDR & | , | |
const TAO_opaque & | ||||
) |
Definition at line 901 of file Profile.cpp.
{ CORBA::ULong const length = x.length (); cdr.write_ulong (length); #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) if (x.mb () != 0) { cdr.write_octet_array_mb (x.mb ()); } else #endif /* TAO_NO_COPY_OCTET_SEQUENCES == 1 */ { cdr.write_octet_array (x.get_buffer (), length); } return (CORBA::Boolean) cdr.good_bit (); }
TAO_Export CORBA::Boolean operator>> | ( | TAO_InputCDR & | , | |
TAO_opaque & | ||||
) |
Definition at line 921 of file Profile.cpp.
{ CORBA::ULong length; cdr.read_ulong (length); #if (TAO_NO_COPY_OCTET_SEQUENCES == 1) if(ACE_BIT_DISABLED(cdr.start()->flags(), ACE_Message_Block::DONT_DELETE) && (cdr.orb_core() == 0 || 1 == cdr.orb_core()-> resource_factory()-> input_cdr_allocator_type_locked() ) ) { x.replace (length, cdr.start ()); x.mb ()->wr_ptr (x.mb ()->rd_ptr () + length); cdr.skip_bytes (length); } else #endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */ { x.length (length); cdr.read_octet_array (x.get_buffer (), length); } return (CORBA::Boolean) cdr.good_bit (); }