#include <OTC/text/tstring.hh> class OTC_TString {
public:
inline OTC_TString(OTC_TString const& theString);
inline OTC_TString(OTC_RString const& theData);
friend ostream& operator<<( ostream& outs, OTC_TString const& theString );
};
OTC_TString
is return by operator+()
when performed on
instances of OTC_String
. The only things which can be done with
this class are dump its value to a stream, and construct an
instance of OTC_String
. The result of this class being returned
from operator+()
is that automatic conversion to char const*
is not possible.
inline OTC_TString(OTC_RString const& theData);
friend ostream& operator<<(
ostream& outs,
OTC_TString const& theString
);
theString
to the stream outs
.
Width and justification specifications
are honoured.
OTC_String
, OTC_RString