102 return new Str(*
this);
112 dynamic_cast<BaseType &
>(*this) = rhs;
122 return d_buf.length();
128 return sizeof(string);
136 DBG(cerr <<
"Entering (" << this->
name() <<
" [" <<
this <<
"])" << endl);
152 DBG(cerr <<
"Exiting: buf = " <<
d_buf << endl);
183 "No place to store a reference to the data.");
188 *val =
new string(
d_buf);
190 *
static_cast<string*
>(*val) =
d_buf;
192 return sizeof(
string*);
212 throw InternalErr(__FILE__, __LINE__,
"NULL pointer.");
214 d_buf = *
static_cast<string*
>(val);
216 return sizeof(
string*);
245 fwrite(oss.str().data(),
sizeof(char), oss.str().length(), out);
269 throw InternalErr(__FILE__, __LINE__,
"This value was not read!");
279 throw InternalErr(__FILE__, __LINE__,
"Argument value was not read!");
284 return StrCmp<string, string>(op,
d_buf,
static_cast<Str*
>(b)->
value());
286 return StrCmp<string, string>(op,
d_buf,
static_cast<Url*
>(b)->
value());
304 << (
void *)
this <<
")" << endl ;