#include "ace/OS_NS_string.h"
Include dependency graph for CDR_Size.inl:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Definition at line 405 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_OutputCDR::from_wstring::bound_, ACE_SizeCDR::good_bit(), ACE_OS::strlen(), ACE_CDR::ULong, ACE_OutputCDR::from_wstring::val_, and ACE_SizeCDR::write_wstring().
00406 { 00407 ACE_CDR::ULong len = 0; 00408 00409 if (x.val_ != 0) 00410 { 00411 len = static_cast<ACE_CDR::ULong> (ACE_OS::strlen (x.val_)); 00412 } 00413 00414 ss.write_wstring (len, x.val_); 00415 return 00416 (ACE_CDR::Boolean) (ss.good_bit () && (!x.bound_ || len <= x.bound_)); 00417 } |
|
Definition at line 390 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_OutputCDR::from_string::bound_, ACE_SizeCDR::good_bit(), ACE_OS::strlen(), ACE_CDR::ULong, ACE_OutputCDR::from_string::val_, and ACE_SizeCDR::write_string().
00391 { 00392 ACE_CDR::ULong len = 0; 00393 00394 if (x.val_ != 0) 00395 { 00396 len = static_cast<ACE_CDR::ULong> (ACE_OS::strlen (x.val_)); 00397 } 00398 00399 ss.write_string (len, x.val_); 00400 return 00401 (ACE_CDR::Boolean) (ss.good_bit () && (!x.bound_ || len <= x.bound_)); 00402 } |
|
Definition at line 383 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_OutputCDR::from_octet::val_, and ACE_SizeCDR::write_octet().
00384 { 00385 ss.write_octet (x.val_); 00386 return (ACE_CDR::Boolean) ss.good_bit (); 00387 } |
|
Definition at line 376 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_OutputCDR::from_wchar::val_, and ACE_SizeCDR::write_wchar().
00377 { 00378 ss.write_wchar (x.val_); 00379 return (ACE_CDR::Boolean) ss.good_bit (); 00380 } |
|
Definition at line 369 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_OutputCDR::from_char::val_, and ACE_SizeCDR::write_char().
00370 { 00371 ss.write_char (x.val_); 00372 return (ACE_CDR::Boolean) ss.good_bit (); 00373 } |
|
Definition at line 362 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_OutputCDR::from_boolean::val_, and ACE_SizeCDR::write_boolean().
00363 { 00364 ss.write_boolean (x.val_); 00365 return (ACE_CDR::Boolean) ss.good_bit (); 00366 } |
|
Definition at line 354 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::WChar, and ACE_SizeCDR::write_wstring().
00355 { 00356 ss.write_wstring (x); 00357 return (ACE_CDR::Boolean) ss.good_bit (); 00358 } |
|
Definition at line 347 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_SizeCDR::good_bit(), and ACE_SizeCDR::write_string().
00348 { 00349 ss.write_string (x); 00350 return (ACE_CDR::Boolean) ss.good_bit (); 00351 } |
|
Definition at line 340 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), and ACE_SizeCDR::write_double().
00341 { 00342 ss.write_double (x); 00343 return (ACE_CDR::Boolean) ss.good_bit (); 00344 } |
|
Definition at line 333 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), and ACE_SizeCDR::write_float().
00334 { 00335 ss.write_float (x); 00336 return (ACE_CDR::Boolean) ss.good_bit (); 00337 } |
|
Definition at line 326 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), and ACE_SizeCDR::write_longdouble().
00327 { 00328 ss.write_longdouble (x); 00329 return (ACE_CDR::Boolean) ss.good_bit (); 00330 } |
|
Definition at line 319 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::ULongLong, and ACE_SizeCDR::write_ulonglong().
00320 { 00321 ss.write_ulonglong (x); 00322 return (ACE_CDR::Boolean) ss.good_bit (); 00323 } |
|
Definition at line 312 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::LongLong, and ACE_SizeCDR::write_longlong().
00313 { 00314 ss.write_longlong (x); 00315 return (ACE_CDR::Boolean) ss.good_bit (); 00316 } |
|
Definition at line 305 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::ULong, and ACE_SizeCDR::write_ulong().
00306 { 00307 ss.write_ulong (x); 00308 return (ACE_CDR::Boolean) ss.good_bit (); 00309 } |
|
Definition at line 298 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::Long, and ACE_SizeCDR::write_long().
00299 { 00300 ss.write_long (x); 00301 return (ACE_CDR::Boolean) ss.good_bit (); 00302 } |
|
Definition at line 291 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::UShort, and ACE_SizeCDR::write_ushort().
00292 { 00293 ss.write_ushort (x); 00294 return (ACE_CDR::Boolean) ss.good_bit (); 00295 } |
|
Definition at line 284 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_SizeCDR::good_bit(), ACE_CDR::Short, and ACE_SizeCDR::write_short().
00285 { 00286 ss.write_short (x); 00287 return (ACE_CDR::Boolean) ss.good_bit (); 00288 } |
|
Definition at line 277 of file CDR_Size.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_SizeCDR::good_bit(), and ACE_SizeCDR::write_char().
00278 { 00279 ss.write_char (x); 00280 return (ACE_CDR::Boolean) ss.good_bit (); 00281 } |