#include "tao/SystemException.h"
Go to the source code of this file.
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::Short | x | |||
) |
Definition at line 335 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::SHORT_ALIGN, sizeof (CORBA::Short)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::UShort | x | |||
) |
Definition at line 344 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::SHORT_ALIGN, sizeof (CORBA::UShort)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::ULong | x | |||
) |
Definition at line 362 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONG_ALIGN, sizeof (CORBA::ULong)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::Float | x | |||
) |
Definition at line 398 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONG_ALIGN, sizeof (CORBA::Float)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::Double | x | |||
) |
Definition at line 407 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONGLONG_ALIGN, sizeof (CORBA::Double)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::LongLong | x | |||
) |
Definition at line 371 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONGLONG_ALIGN, sizeof (CORBA::LongLong)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
const char * | x | |||
) |
Definition at line 416 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::OCTET_ALIGN, sizeof (char)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
const CORBA::WChar * | x | |||
) |
Definition at line 425 of file CDR.inl.
{ return os.fragment_stream ((sizeof (CORBA::WChar) == 2 ? ACE_CDR::SHORT_ALIGN : ACE_CDR::LONG_ALIGN), sizeof (CORBA::WChar)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::Long | x | |||
) |
Definition at line 353 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONG_ALIGN, sizeof (CORBA::Long)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::ULongLong | x | |||
) |
Definition at line 380 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONGLONG_ALIGN, sizeof (CORBA::ULongLong)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
ACE_OutputCDR::from_string | x | |||
) |
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
ACE_OutputCDR::from_wstring | x | |||
) |
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
CORBA::LongDouble | x | |||
) |
Definition at line 389 of file CDR.inl.
{ return os.fragment_stream (ACE_CDR::LONGDOUBLE_ALIGN, sizeof (CORBA::LongDouble)) && static_cast<ACE_OutputCDR &> (os) << x; }
CORBA::Boolean operator<< | ( | TAO_OutputCDR & | os, | |
const std::string & | x | |||
) |
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::Short & | x | |||
) |
Definition at line 466 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::ULong & | x | |||
) |
Definition at line 484 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::ULongLong & | x | |||
) |
Definition at line 496 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::LongDouble & | x | |||
) |
Definition at line 502 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::Char *& | x | |||
) |
Definition at line 520 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::WChar *& | x | |||
) |
Definition at line 526 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
ACE_InputCDR::to_wstring | x | |||
) |
Definition at line 545 of file CDR.inl.
{ CORBA::Boolean const marshal_flag = is >> const_cast<ACE_CDR::WChar *&> (x.val_); if (marshal_flag && x.bound_ != 0 && x.val_ != 0 && ACE_OS::strlen (x.val_) > x.bound_) { throw ::CORBA::BAD_PARAM (); } return marshal_flag; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
std::string & | x | |||
) |
Definition at line 558 of file CDR.inl.
{ char *buf = 0; CORBA::Boolean const marshal_flag = is >> buf; x.assign (buf); ACE::strdelete (buf); return marshal_flag; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::Long & | x | |||
) |
Definition at line 478 of file CDR.inl.
{ return static_cast<ACE_InputCDR&> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::LongLong & | x | |||
) |
Definition at line 490 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::Double & | x | |||
) |
Definition at line 514 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
ACE_InputCDR::to_string | x | |||
) |
Definition at line 532 of file CDR.inl.
{ CORBA::Boolean const marshal_flag = is >> const_cast<ACE_CDR::Char *&> (x.val_); if (marshal_flag && x.bound_ != 0 && x.val_ != 0 && ACE_OS::strlen (x.val_) > x.bound_) { throw ::CORBA::BAD_PARAM (); } return marshal_flag; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::UShort & | x | |||
) |
Definition at line 472 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }
CORBA::Boolean operator>> | ( | TAO_InputCDR & | is, | |
CORBA::Float & | x | |||
) |
Definition at line 508 of file CDR.inl.
{ return static_cast<ACE_InputCDR &> (is) >> x; }