NAME
OTC_TString -
Temporary string resulting from addition of strings.
SYNOPSIS
#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
);
};
CLASS TYPE
Concrete
DESCRIPTION
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.
INITIALISATION
inline OTC_TString(OTC_RString const& theData);
Creates the string from the raw string
data.
STREAMS OUTPUT
friend ostream& operator<<(
ostream& outs,
OTC_TString const& theString
);
Dumps theString to the stream outs.
Width and justification specifications
are honoured.
SEE ALSO
OTC_String, OTC_RString
LIBRARY
OTC
AUTHOR(S)
Graham Dumpleton
COPYRIGHT
Copyright 1994 TELSTRA CORPORATION LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED