#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 1194 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().
01195 { 01196 ACE_CDR::ULong len = 0; 01197 01198 if (x.val_ != 0) 01199 { 01200 len = static_cast<ACE_CDR::ULong> (ACE_OS::strlen (x.val_)); 01201 } 01202 01203 os.write_wstring (len, x.val_); 01204 return 01205 (ACE_CDR::Boolean) (os.good_bit () && (!x.bound_ || len <= x.bound_)); 01206 } |
|
Definition at line 1179 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().
01180 { 01181 ACE_CDR::ULong len = 0; 01182 01183 if (x.val_ != 0) 01184 { 01185 len = static_cast<ACE_CDR::ULong> (ACE_OS::strlen (x.val_)); 01186 } 01187 01188 os.write_string (len, x.val_); 01189 return 01190 (ACE_CDR::Boolean) (os.good_bit () && (!x.bound_ || len <= x.bound_)); 01191 } |
|
Definition at line 1172 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_octet::val_, and ACE_OutputCDR::write_octet().
01173 { 01174 os.write_octet (x.val_); 01175 return (ACE_CDR::Boolean) os.good_bit (); 01176 } |
|
Definition at line 1165 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_wchar::val_, and ACE_OutputCDR::write_wchar().
01166 { 01167 os.write_wchar (x.val_); 01168 return (ACE_CDR::Boolean) os.good_bit (); 01169 } |
|
Definition at line 1158 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_char::val_, and ACE_OutputCDR::write_char().
01159 { 01160 os.write_char (x.val_); 01161 return (ACE_CDR::Boolean) os.good_bit (); 01162 } |
|
Definition at line 1151 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_OutputCDR::from_boolean::val_, and ACE_OutputCDR::write_boolean().
01152 { 01153 (void) os.write_boolean (x.val_); 01154 return (ACE_CDR::Boolean) os.good_bit (); 01155 } |
|
Definition at line 1143 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::WChar, and ACE_OutputCDR::write_wstring().
01144 { 01145 os.write_wstring (x); 01146 return (ACE_CDR::Boolean) os.good_bit (); 01147 } |
|
Definition at line 1136 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_string().
01137 { 01138 os.write_string (x); 01139 return (ACE_CDR::Boolean) os.good_bit (); 01140 } |
|
Definition at line 1129 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_double().
01130 { 01131 os.write_double (x); 01132 return (ACE_CDR::Boolean) os.good_bit (); 01133 } |
|
Definition at line 1122 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_float().
01123 { 01124 os.write_float (x); 01125 return (ACE_CDR::Boolean) os.good_bit (); 01126 } |
|
Definition at line 1115 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_longdouble().
01116 { 01117 os.write_longdouble (x); 01118 return (ACE_CDR::Boolean) os.good_bit (); 01119 } |
|
Definition at line 1108 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::ULongLong, and ACE_OutputCDR::write_ulonglong().
01109 { 01110 os.write_ulonglong (x); 01111 return (ACE_CDR::Boolean) os.good_bit (); 01112 } |
|
Definition at line 1101 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::LongLong, and ACE_OutputCDR::write_longlong().
01102 { 01103 os.write_longlong (x); 01104 return (ACE_CDR::Boolean) os.good_bit (); 01105 } |
|
Definition at line 1094 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::ULong, and ACE_OutputCDR::write_ulong().
01095 { 01096 os.write_ulong (x); 01097 return (ACE_CDR::Boolean) os.good_bit (); 01098 } |
|
Definition at line 1087 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::Long, and ACE_OutputCDR::write_long().
01088 { 01089 os.write_long (x); 01090 return (ACE_CDR::Boolean) os.good_bit (); 01091 } |
|
Definition at line 1080 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::UShort, and ACE_OutputCDR::write_ushort().
01081 { 01082 os.write_ushort (x); 01083 return (ACE_CDR::Boolean) os.good_bit (); 01084 } |
|
Definition at line 1073 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_OutputCDR::good_bit(), ACE_CDR::Short, and ACE_OutputCDR::write_short().
01074 { 01075 os.write_short (x); 01076 return (ACE_CDR::Boolean) os.good_bit (); 01077 } |
|
Definition at line 1066 of file CDR_Stream.inl. References ACE_CDR::Boolean, ACE_CDR::Char, ACE_OutputCDR::good_bit(), and ACE_OutputCDR::write_char().
01067 { 01068 os.write_char (x); 01069 return (ACE_CDR::Boolean) os.good_bit (); 01070 } |
|
Definition at line 1319 of file CDR_Stream.inl. References ACE_InputCDR::to_wstring::bound_, ACE_InputCDR::good_bit(), ACE_InputCDR::read_wstring(), ACE_OS::strlen(), and ACE_InputCDR::to_wstring::val_.
01320 { 01321 // check if the bounds are satisfied 01322 return 01323 (is.read_wstring (const_cast<ACE_CDR::WChar *&> (x.val_)) 01324 && is.good_bit () 01325 && (!x.bound_ 01326 || ACE_OS::strlen (x.val_) <= x.bound_)); 01327 } |
|
Definition at line 1308 of file CDR_Stream.inl. References ACE_InputCDR::to_string::bound_, ACE_InputCDR::good_bit(), ACE_InputCDR::read_string(), ACE_OS::strlen(), and ACE_InputCDR::to_string::val_.
01309 { 01310 // check if the bounds are satisfied 01311 return 01312 (is.read_string (const_cast<char *&> (x.val_)) 01313 && is.good_bit () 01314 && (!x.bound_ 01315 || ACE_OS::strlen (x.val_) <= x.bound_)); 01316 } |
|
Definition at line 1302 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_octet(), and ACE_InputCDR::to_octet::ref_.
01303 { 01304 return is.read_octet (x.ref_) && is.good_bit (); 01305 } |
|
Definition at line 1296 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_wchar(), and ACE_InputCDR::to_wchar::ref_.
01297 { 01298 return is.read_wchar (x.ref_) && is.good_bit (); 01299 } |
|
Definition at line 1290 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_char(), and ACE_InputCDR::to_char::ref_.
|
|
Definition at line 1284 of file CDR_Stream.inl. References ACE_InputCDR::read_boolean(), and ACE_InputCDR::to_boolean::ref_.
01285 { 01286 return is.read_boolean (x.ref_); 01287 } |
|
Definition at line 1277 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_wstring(), and ACE_CDR::WChar.
01278 { 01279 return is.read_wstring (x) && is.good_bit (); 01280 } |
|
Definition at line 1271 of file CDR_Stream.inl. References ACE_CDR::Char, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_string().
01272 { 01273 return is.read_string (x) && is.good_bit (); 01274 } |
|
Definition at line 1265 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), and ACE_InputCDR::read_double().
01266 { 01267 return is.read_double (x) && is.good_bit (); 01268 } |
|
Definition at line 1259 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), and ACE_InputCDR::read_float().
01260 { 01261 return is.read_float (x) && is.good_bit (); 01262 } |
|
Definition at line 1253 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), and ACE_InputCDR::read_longdouble().
01254 { 01255 return is.read_longdouble (x) && is.good_bit (); 01256 } |
|
Definition at line 1247 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_ulonglong(), and ACE_CDR::ULongLong.
01248 { 01249 return is.read_ulonglong (x) && is.good_bit (); 01250 } |
|
Definition at line 1241 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_CDR::LongLong, and ACE_InputCDR::read_longlong().
01242 { 01243 return is.read_longlong (x) && is.good_bit (); 01244 } |
|
Definition at line 1235 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_ulong(), and ACE_CDR::ULong.
01236 { 01237 return is.read_ulong (x) && is.good_bit (); 01238 } |
|
Definition at line 1229 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_CDR::Long, and ACE_InputCDR::read_long().
|
|
Definition at line 1223 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_ushort(), and ACE_CDR::UShort.
01224 { 01225 return is.read_ushort (x) && is.good_bit (); 01226 } |
|
Definition at line 1217 of file CDR_Stream.inl. References ACE_InputCDR::good_bit(), ACE_InputCDR::read_short(), and ACE_CDR::Short.
01218 { 01219 return is.read_short (x) && is.good_bit (); 01220 } |
|
Definition at line 1211 of file CDR_Stream.inl. References ACE_CDR::Char, ACE_InputCDR::good_bit(), and ACE_InputCDR::read_char().
|