This namespace documents compatibility features of ALib Strings and the standard C++ class library found in namespace std
.
Classes | |
struct | equal_to< aworx::lib::strings::TString< TChar > > |
struct | equal_to_string_ignore_case |
struct | hash< aworx::lib::strings::TString< TChar > > |
struct | hash_string_ignore_case |
struct | less< aworx::lib::strings::TString< TChar > > |
struct | less_string_ignore_case |
class | StringReader |
class | StringWriter |
struct | T_SuppressStdOstreamOperator |
struct | TISReadLine |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const aworx::NString &string) |
ALIB_API std::ostream & | operator<< (std::ostream &stream, const aworx::WString &string) |
template<typename TAppendable , typename TEnableIf = typename std::enable_if< aworx::lib::strings::TT_IsAppendable<TAppendable,aworx::nchar>::value && !aworx::lib::strings::compatibility::std::T_SuppressStdOstreamOperator<TAppendable>::value >::type> | |
std::ostream & | operator<< (std::ostream &stream, const TAppendable &appendable) |
std::ostream * | operator<< (std::ostream *stream, const aworx::NString &string) |
std::ostream * | operator<< (std::ostream *stream, const aworx::WString &string) |
template<typename TAppendable , typename TEnableIf = typename std::enable_if< aworx::lib::strings::TT_IsAppendable<TAppendable,aworx::nchar>::value && !aworx::lib::strings::compatibility::std::T_SuppressStdOstreamOperator<TAppendable>::value >::type> | |
std::ostream * | operator<< (std::ostream *stream, const TAppendable &appendable) |
ALIB_API std::wostream & | operator<< (std::wostream &stream, const aworx::NString &string) |
std::wostream & | operator<< (std::wostream &stream, const aworx::WString &string) |
template<typename TAppendable , typename TEnableIf = typename std::enable_if< aworx::lib::strings::TT_IsAppendable<TAppendable,aworx::wchar>::value && !aworx::lib::strings::compatibility::std::T_SuppressStdOstreamOperator<TAppendable>::value >::type> | |
std::wostream & | operator<< (std::wostream &stream, const TAppendable &appendable) |
std::wostream * | operator<< (std::wostream *stream, const aworx::NString &string) |
std::wostream * | operator<< (std::wostream *stream, const aworx::WString &string) |
template<typename TAppendable , typename TEnableIf = typename std::enable_if< aworx::lib::strings::TT_IsAppendable<TAppendable,aworx::wchar>::value && !aworx::lib::strings::compatibility::std::T_SuppressStdOstreamOperator<TAppendable>::value >::type> | |
std::wostream * | operator<< (std::wostream *stream, const TAppendable &appendable) |
std::basic_istream< wchar_t > & | operator>> (std::basic_istream< wchar_t > &stream, aworx::WAString &string) |
std::basic_istream< wchar_t > * | operator>> (std::basic_istream< wchar_t > *stream, aworx::WAString &string) |
std::istream & | operator>> (std::istream &stream, aworx::NAString &string) |
std::istream * | operator>> (std::istream *stream, aworx::NAString &string) |
|
inline |
Copies the contents of the given NString to into the std::ostream
given as reference.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
Definition at line 419 of file std_strings_iostream.hpp.
ALIB_API std::ostream& aworx::lib::strings::compatibility::std::operator<< | ( | std::ostream & | stream, |
const aworx::WString & | string | ||
) |
Copies the contents of the given WString to into the std::ostream
given as reference.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
std::ostream& aworx::lib::strings::compatibility::std::operator<< | ( | std::ostream & | stream, |
const TAppendable & | appendable | ||
) |
Copies the contents of the given appendable type the std::ostream
given as reference.
TAppendable | The appendable type. |
stream | The std::ostream object to write the given String into. |
appendable | The object whose contents is to be written into the given stream. |
Definition at line 644 of file std_strings_iostream.hpp.
|
inline |
Copies the contents of the given NString to into the std::ostream
given as pointer.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
Definition at line 434 of file std_strings_iostream.hpp.
|
inline |
Copies the contents of the given WString to into the std::ostream
given as pointer.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
Definition at line 458 of file std_strings_iostream.hpp.
std::ostream* aworx::lib::strings::compatibility::std::operator<< | ( | std::ostream * | stream, |
const TAppendable & | appendable | ||
) |
Copies the contents of the given appendable type the std::ostream
given as pointer.
TAppendable | The appendable type. |
stream | The std::ostream object to write the given String into. |
appendable | The object whose contents is to be written into the given stream. |
Definition at line 670 of file std_strings_iostream.hpp.
ALIB_API std::wostream& aworx::lib::strings::compatibility::std::operator<< | ( | std::wostream & | stream, |
const aworx::NString & | string | ||
) |
Copies the contents of the given NString to into the std::wostream
given as reference.
wchar_t
characters that the output stream accepts. In case that the given string is larger, a dynamic memory allocation has to be made.stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
|
inline |
Copies the contents of the given WString to into the std::wostream
given as reference.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
Definition at line 507 of file std_strings_iostream.hpp.
std::wostream& aworx::lib::strings::compatibility::std::operator<< | ( | std::wostream & | stream, |
const TAppendable & | appendable | ||
) |
Copies the contents of the given appendable type the std::ostream
given as reference.
TAppendable | The appendable type. |
stream | The std::ostream object to write the given String into. |
appendable | The object whose contents is to be written into the given stream. |
Definition at line 693 of file std_strings_iostream.hpp.
|
inline |
Copies the contents of the given NString to into the std::wostream
given as pointer.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
Definition at line 493 of file std_strings_iostream.hpp.
|
inline |
Copies the contents of the given WString to into the std::wostream
given as pointer.
stream | The ostream object to write the given String into. |
string | The String to write into the given ostream. |
Definition at line 530 of file std_strings_iostream.hpp.
std::wostream* aworx::lib::strings::compatibility::std::operator<< | ( | std::wostream * | stream, |
const TAppendable & | appendable | ||
) |
Copies the contents of the given appendable type the std::ostream
given as pointer.
TAppendable | The appendable type. |
stream | The std::ostream object to write the given String into. |
appendable | The object whose contents is to be written into the given stream. |
Definition at line 722 of file std_strings_iostream.hpp.
|
inline |
Clears the given WAString and extracts data from the std::istream into it. The extractions ends with either the end of the std::istream or when reading a newline character.
wchar_t
characters that the input stream provides. In case that the string read from the stream is larger, a dynamic memory allocation has to be made.stream | The istream object to extract data from. |
string | The AString to receive data. |
Definition at line 589 of file std_strings_iostream.hpp.
|
inline |
Clears the given WAString and extracts data from the std::istream into it. The extractions ends with either the end of the std::istream or when reading a newline character.
stream | The istream object to extract data from. |
string | The AString to receive data. |
Definition at line 618 of file std_strings_iostream.hpp.
|
inline |
Clears the given NAString and extracts data from the std::istream into it. The extractions ends with either the end of the std::istream or when reading a newline character.
stream | The istream object to extract data from. |
string | The AString to receive data. |
Definition at line 545 of file std_strings_iostream.hpp.
|
inline |
Clears the given NAString and extracts data from the std::istream into it. The extractions ends with either the end of the std::istream or when reading a newline character.
stream | The istream object to extract data from. |
string | The AString to receive data. |
Definition at line 561 of file std_strings_iostream.hpp.