This namespace documents compatibility features of ALib Strings and the standard C++ class library found in namespace std.
Function Index: | |
| ALIB_EXPORT std::ostream & | operator<< (std::ostream &stream, const alib::NString &string) |
| ALIB_EXPORT ALIB_DLL std::ostream & | operator<< (std::ostream &stream, const alib::WString &string) |
| template<typename TAppendable> requires ( alib::strings::IsAppendable<TAppendable,alib::nchar,alib::lang::HeapAllocator> && !alib::strings::compatibility::std::SuppressStdOStreamOpTraits<TAppendable>::value ) | |
| ALIB_EXPORT std::ostream & | operator<< (std::ostream &stream, const TAppendable &appendable) |
| ALIB_EXPORT std::ostream * | operator<< (std::ostream *stream, const alib::NString &string) |
| ALIB_EXPORT std::ostream * | operator<< (std::ostream *stream, const alib::WString &string) |
| template<typename TAppendable> requires ( alib::strings::IsAppendable<TAppendable,alib::nchar,alib::lang::HeapAllocator> && !alib::strings::compatibility::std::SuppressStdOStreamOpTraits<TAppendable>::value ) | |
| ALIB_EXPORT std::ostream * | operator<< (std::ostream *stream, const TAppendable &appendable) |
| ALIB_EXPORT ALIB_DLL std::wostream & | operator<< (std::wostream &stream, const alib::NString &string) |
| ALIB_EXPORT std::wostream & | operator<< (std::wostream &stream, const alib::WString &string) |
| template<typename TAppendable> requires ( alib::strings::IsAppendable<TAppendable,alib::wchar,alib::lang::HeapAllocator> && !alib::strings::compatibility::std::SuppressStdOStreamOpTraits<TAppendable>::value ) | |
| ALIB_EXPORT std::wostream & | operator<< (std::wostream &stream, const TAppendable &appendable) |
| ALIB_EXPORT std::wostream * | operator<< (std::wostream *stream, const alib::NString &string) |
| ALIB_EXPORT std::wostream * | operator<< (std::wostream *stream, const alib::WString &string) |
| template<typename TAppendable, typename TAllocator> requires ( alib::strings::IsAppendable<TAppendable,alib::wchar,alib::lang::HeapAllocator> && !alib::strings::compatibility::std::SuppressStdOStreamOpTraits<TAppendable>::value ) | |
| ALIB_EXPORT std::wostream * | operator<< (std::wostream *stream, const TAppendable &appendable) |
| ALIB_EXPORT std::basic_istream< wchar_t > & | operator>> (std::basic_istream< wchar_t > &stream, alib::WAString &string) |
| ALIB_EXPORT std::basic_istream< wchar_t > * | operator>> (std::basic_istream< wchar_t > *stream, alib::WAString &string) |
| ALIB_EXPORT std::istream & | operator>> (std::istream &stream, alib::NAString &string) |
| ALIB_EXPORT std::istream * | operator>> (std::istream *stream, alib::NAString &string) |
| template<typename TChar = nchar, typename TAllocator = lang::HeapAllocator, bool TSynced = false, lang::LineFeeds TTargetLF = lang::LineFeeds::Platform> | |
| OStreamWriter (::std::basic_ostream< TChar > &os) -> OStreamWriter< nchar, lang::HeapAllocator, TSynced, TTargetLF > | |
| template<typename TChar = nchar, typename TAllocator = lang::HeapAllocator, bool TSynced = false, lang::LineFeeds TTargetLF = lang::LineFeeds::Platform> | |
| OStreamWriter (::std::basic_ostream< TChar > &os, TAllocator allocator) -> OStreamWriter< nchar, TAllocator, TSynced, TTargetLF > | |
|
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 526 of file stdiostream.mpp.
| ALIB_EXPORT ALIB_DLL std::ostream & alib::strings::compatibility::std::operator<< | ( | std::ostream & | stream, |
| const alib::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. |
| ALIB_EXPORT std::ostream & alib::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 755 of file stdiostream.mpp.
|
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 541 of file stdiostream.mpp.
|
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 567 of file stdiostream.mpp.
| ALIB_EXPORT std::ostream * alib::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 779 of file stdiostream.mpp.
| ALIB_EXPORT ALIB_DLL std::wostream & alib::strings::compatibility::std::operator<< | ( | std::wostream & | stream, |
| const alib::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 619 of file stdiostream.mpp.
| ALIB_EXPORT std::wostream & alib::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 800 of file stdiostream.mpp.
|
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 604 of file stdiostream.mpp.
|
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 641 of file stdiostream.mpp.
| ALIB_EXPORT std::wostream * alib::strings::compatibility::std::operator<< | ( | std::wostream * | stream, |
| const TAppendable & | appendable ) |
Copies the contents of the given appendable type the std::ostream given as a pointer.
| TAppendable | The appendable type. |
| TAllocator | The allocator type, as prototyped with Allocator. |
| 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 829 of file stdiostream.mpp.
|
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 701 of file stdiostream.mpp.
|
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 730 of file stdiostream.mpp.
|
inline |
Clears the given NAString and extracts data from the std::istream into it. The extraction 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 657 of file stdiostream.mpp.
|
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 673 of file stdiostream.mpp.
| alib::strings::compatibility::std::OStreamWriter | ( | ::std::basic_ostream< TChar > & | os | ) | -> OStreamWriter< nchar, lang::HeapAllocator, TSynced, TTargetLF > |
| os | The output-stream to use. |
| alib::strings::compatibility::std::OStreamWriter | ( | ::std::basic_ostream< TChar > & | os, |
| TAllocator | allocator ) -> OStreamWriter< nchar, TAllocator, TSynced, TTargetLF > |
C++17 Deduction Guide to construct the type OStreamWriter.
| os | The output-stream to use. |
| allocator | The allocator to use for the internal buffers. |