#include "ace/OS_NS_string.h"
#include "ace/OS_Memory.h"
Include dependency graph for CDR_Stream.inl:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Definition at line 1217 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::from_wstring::bound_, ACE_OutputCDR::good_bit(), ACE_OS::strlen(), ACE_CDR::ULong, ACE_OutputCDR::from_wstring::val_, and ACE_OutputCDR::write_wstring().
01218 { 01219 ACE_CDR::ULong len = 0; 01220 01221 if (x.val_ != 0) 01222 { 01223 len = static_cast<ACE_CDR::ULong> (ACE_OS::strlen (x.val_)); 01224 } 01225 01226 os.write_wstring (len, x.val_); 01227 return 01228 (ACE_CDR::Boolean) (os.good_bit () && (!x.bound_ || len <= x.bound_)); 01229 } |
|
Definition at line 1202 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::from_string::bound_, ACE_OutputCDR::good_bit(), ACE_OS::strlen(), ACE_CDR::ULong, ACE_OutputCDR::from_string::val_, and ACE_OutputCDR::write_string().
01203 { 01204 ACE_CDR::ULong len = 0; 01205 01206 if (x.val_ != 0) 01207 { 01208 len = static_cast<ACE_CDR::ULong> (ACE_OS::strlen (x.val_)); 01209 } 01210 01211 os.write_string (len, x.val_); 01212 return 01213 (ACE_CDR::Boolean) (os.good_bit () && (!x.bound_ || len <= x.bound_)); 01214 } |
|
Definition at line 1195 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_octet::val_, and ACE_OutputCDR::write_octet().
01196 { 01197 os.write_octet (x.val_); 01198 return (ACE_CDR::Boolean) os.good_bit (); 01199 } |
|
Definition at line 1188 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_wchar::val_, and ACE_OutputCDR::write_wchar().
01189 { 01190 os.write_wchar (x.val_); 01191 return (ACE_CDR::Boolean) os.good_bit (); 01192 } |
|
Definition at line 1181 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_char::val_, and ACE_OutputCDR::write_char().
01182 { 01183 os.write_char (x.val_); 01184 return (ACE_CDR::Boolean) os.good_bit (); 01185 } |
|
Definition at line 1174 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_boolean::val_, and ACE_OutputCDR::write_boolean().
01175 { 01176 os.write_boolean (x.val_); 01177 return (ACE_CDR::Boolean) os.good_bit (); 01178 } |
|
Definition at line 1166 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::WChar, and ACE_OutputCDR::write_wstring().
01167 { 01168 os.write_wstring (x); 01169 return (ACE_CDR::Boolean) os.good_bit (); 01170 } |
|
Definition at line 1159 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_string().
01160 { 01161 os.write_string (x); 01162 return (ACE_CDR::Boolean) os.good_bit (); 01163 } |
|
Definition at line 1152 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_double().
01153 { 01154 os.write_double (x); 01155 return (ACE_CDR::Boolean) os.good_bit (); 01156 } |
|
Definition at line 1145 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_float().
01146 { 01147 os.write_float (x); 01148 return (ACE_CDR::Boolean) os.good_bit (); 01149 } |
|
Definition at line 1138 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_longdouble().
01139 { 01140 os.write_longdouble (x); 01141 return (ACE_CDR::Boolean) os.good_bit (); 01142 } |
|
Definition at line 1131 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::ULongLong, and ACE_OutputCDR::write_ulonglong().
01132 { 01133 os.write_ulonglong (x); 01134 return (ACE_CDR::Boolean) os.good_bit (); 01135 } |
|
Definition at line 1124 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::LongLong, and ACE_OutputCDR::write_longlong().
01125 { 01126 os.write_longlong (x); 01127 return (ACE_CDR::Boolean) os.good_bit (); 01128 } |
|
Definition at line 1117 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::ULong, and ACE_OutputCDR::write_ulong().
01118 { 01119 os.write_ulong (x); 01120 return (ACE_CDR::Boolean) os.good_bit (); 01121 } |
|
Definition at line 1110 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::Long, and ACE_OutputCDR::write_long().
01111 { 01112 os.write_long (x); 01113 return (ACE_CDR::Boolean) os.good_bit (); 01114 } |
|
Definition at line 1103 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::UShort, and ACE_OutputCDR::write_ushort().
01104 { 01105 os.write_ushort (x); 01106 return (ACE_CDR::Boolean) os.good_bit (); 01107 } |
|
Definition at line 1096 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::Short, and ACE_OutputCDR::write_short().
01097 { 01098 os.write_short (x); 01099 return (ACE_CDR::Boolean) os.good_bit (); 01100 } |
|
Definition at line 1089 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_char().
01090 { 01091 os.write_char (x); 01092 return (ACE_CDR::Boolean) os.good_bit (); 01093 } |
|
Definition at line 1358 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::to_wstring::bound_, ACE_InputCDR::good_bit(), ACE_InputCDR::read_wstring(), ACE_OS::strlen(), and ACE_InputCDR::to_wstring::val_.
01359 { 01360 is.read_wstring (const_cast<ACE_CDR::WChar *&> (x.val_)); 01361 // check if the bounds are satisfied 01362 return 01363 (ACE_CDR::Boolean) (is.good_bit () 01364 && (!x.bound_ 01365 || ACE_OS::strlen (x.val_) <= x.bound_)); 01366 } |
|
Definition at line 1347 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::to_string::bound_, ACE_InputCDR::good_bit(), ACE_InputCDR::read_string(), ACE_OS::strlen(), and ACE_InputCDR::to_string::val_.
01348 { 01349 is.read_string (const_cast<char *&> (x.val_)); 01350 // check if the bounds are satisfied 01351 return 01352 (ACE_CDR::Boolean) (is.good_bit () 01353 && (!x.bound_ 01354 || ACE_OS::strlen (x.val_) <= x.bound_)); 01355 } |
|
Definition at line 1340 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_octet(), and ACE_InputCDR::to_octet::ref_.
01341 { 01342 is.read_octet (x.ref_); 01343 return (ACE_CDR::Boolean) is.good_bit (); 01344 } |
|
Definition at line 1333 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_wchar(), and ACE_InputCDR::to_wchar::ref_.
01334 { 01335 is.read_wchar (x.ref_); 01336 return (ACE_CDR::Boolean) is.good_bit (); 01337 } |
|
Definition at line 1326 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_char(), and ACE_InputCDR::to_char::ref_.
01327 { 01328 is.read_char (x.ref_); 01329 return (ACE_CDR::Boolean) is.good_bit (); 01330 } |
|
Definition at line 1319 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_boolean(), and ACE_InputCDR::to_boolean::ref_.
01320 { 01321 is.read_boolean (x.ref_); 01322 return (ACE_CDR::Boolean) is.good_bit (); 01323 } |
|
Definition at line 1311 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_wstring(), and ACE_CDR::WChar.
01312 { 01313 is.read_wstring (x); 01314 return (ACE_CDR::Boolean) is.good_bit (); 01315 } |
|
Definition at line 1304 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_string().
01305 { 01306 is.read_string (x); 01307 return (ACE_CDR::Boolean) is.good_bit (); 01308 } |
|
Definition at line 1297 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_double().
01298 { 01299 is.read_double (x); 01300 return (ACE_CDR::Boolean) is.good_bit (); 01301 } |
|
Definition at line 1290 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_float().
01291 { 01292 is.read_float (x); 01293 return (ACE_CDR::Boolean) is.good_bit (); 01294 } |
|
Definition at line 1283 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_longdouble().
01284 { 01285 is.read_longdouble (x); 01286 return (ACE_CDR::Boolean) is.good_bit (); 01287 } |
|
Definition at line 1276 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_ulonglong(), and ACE_CDR::ULongLong.
01277 { 01278 is.read_ulonglong (x); 01279 return (ACE_CDR::Boolean) is.good_bit (); 01280 } |
|
Definition at line 1269 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_CDR::LongLong, and ACE_InputCDR::read_longlong().
01270 { 01271 is.read_longlong (x); 01272 return (ACE_CDR::Boolean) is.good_bit (); 01273 } |
|
Definition at line 1262 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_ulong(), and ACE_CDR::ULong.
01263 { 01264 is.read_ulong (x); 01265 return (ACE_CDR::Boolean) is.good_bit (); 01266 } |
|
Definition at line 1255 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_CDR::Long, and ACE_InputCDR::read_long().
01256 { 01257 is.read_long (x); 01258 return (ACE_CDR::Boolean) is.good_bit (); 01259 } |
|
Definition at line 1248 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_ushort(), and ACE_CDR::UShort.
01249 { 01250 is.read_ushort (x); 01251 return (ACE_CDR::Boolean) is.good_bit (); 01252 } |
|
Definition at line 1241 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_InputCDR::good_bit(), ACE_InputCDR::read_short(), and ACE_CDR::Short.
01242 { 01243 is.read_short (x); 01244 return (ACE_CDR::Boolean) is.good_bit (); 01245 } |
|
Definition at line 1234 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_char().
01235 { 01236 is.read_char (x); 01237 return (ACE_CDR::Boolean) is.good_bit (); 01238 } |