PLCnext API Documentation 25.0.2.69
|
#include "Arp/Base/Core/Detail/BasicString.hxx"
#include "Arp/Base/Core/Detail/BasicString.inl"
#include <functional>
Namespaces | |
namespace | Arp |
Root namespace for the PLCnext API | |
Functions | |
ARP_STRING_EXPORT_DECL std::ostream & | Arp::Base::Core::operator<< (std::ostream &os, const String &right) |
Streams the right string to the out-stream os . More... | |
ARP_STRING_EXPORT_DECL std::istream & | Arp::Base::Core::operator>> (std::istream &is, String &right) |
Streams the in-stream is into the right string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String &left, const String &right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String &left, const String::CharType *right) |
Concatenates the right C-string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String &left, const String::CharType right) |
Concatenates the right character to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String::CharType left, const String &right) |
Concatenates the right string to the left character. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String::CharType *left, const String &right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String &left, String &&right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (String &&left, const String &right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (String &&left, const String::CharType *right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (String &&left, String::CharType right) |
Concatenates the right character to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (String &&left, String &&right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (const String::CharType *left, String &&right) |
Concatenates the right string to the left string. More... | |
ARP_STRING_EXPORT_DECL String | Arp::Base::Core::operator+ (String::CharType left, String &&right) |
Concatenates the right string to the left character. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator== (const String &left, const String &right) |
Compares the left string to the right string on equality. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator== (const String::CharType *left, const String &right) |
Compares the left string to the right string on equality. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator== (const String &left, const String::CharType *right) |
Compares the left string to the right string on equality. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator!= (const String::CharType *left, const String &right) |
Compares the left string to the right string on inequality. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator!= (const String &left, const String::CharType *right) |
Compares the left string to the right string on inequality. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator< (const String::CharType *left, const String &right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator< (const String &left, const String::CharType *right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator> (const String::CharType *left, const String &right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator> (const String &left, const String::CharType *right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator<= (const String::CharType *left, const String &right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator<= (const String &left, const String::CharType *right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator>= (const String::CharType *left, const String &right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL bool | Arp::Base::Core::operator>= (const String &left, const String::CharType *right) |
Compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL String::ThreeWayCompareResult | Arp::Base::Core::operator<=> (const String &left, const String &right) |
Three-way compares the left string to the right string. More... | |
ARP_STRING_EXPORT_DECL void | Arp::Base::Core::swap (String &left, String &right) noexcept |
Swaps the content of the left string with the content of the right string. More... | |
Contains the definitions of class String which are directly delegated to the underlying std::string
ARP_STRING_EXPORT bool Arp::Base::Core::operator!= | ( | const String & | left, |
const String::CharType * | right | ||
) |
Compares the left string to the right string on inequality.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the strings are not equal, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator!= | ( | const String::CharType * | left, |
const String & | right | ||
) |
Compares the left string to the right string on inequality.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the strings are not equal, otherwise false
.Concatenates the right string to the left string.
left | The string to append the right string to. |
right | The string to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | const String & | left, |
const String::CharType * | right | ||
) |
Concatenates the right C-string to the left string.
left | The string to append the right C-string to. |
right | The C-string to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | const String & | left, |
const String::CharType | right | ||
) |
Concatenates the right character to the left string.
left | The string to append the right character to. |
right | The character to append to the left string. |
Concatenates the right string to the left string.
left | The string to append the right string to. |
right | The string to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | const String::CharType * | left, |
const String & | right | ||
) |
Concatenates the right string to the left string.
left | The C-string to append the right string to. |
right | The string to append to the left C-string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | const String::CharType * | left, |
String && | right | ||
) |
Concatenates the right string to the left string.
left | The string to append the right string to. |
right | The string to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | const String::CharType | left, |
const String & | right | ||
) |
Concatenates the right string to the left character.
left | The character to append the right string to. |
right | The string to append to the left character. |
Concatenates the right string to the left string.
left | The string to append the right string to. |
right | The string to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | String && | left, |
const String::CharType * | right | ||
) |
Concatenates the right string to the left string.
left | The string to append the right string to. |
right | The string to append to the left string. |
Concatenates the right string to the left string.
left | The string to append the right string to. |
right | The string to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | String && | left, |
String::CharType | right | ||
) |
Concatenates the right character to the left string.
left | The string to append the right character to. |
right | The character to append to the left string. |
ARP_STRING_EXPORT String Arp::Base::Core::operator+ | ( | String::CharType | left, |
String && | right | ||
) |
Concatenates the right string to the left character.
left | The character to append the right string to. |
right | The string to append to the left character. |
ARP_STRING_EXPORT bool Arp::Base::Core::operator< | ( | const String & | left, |
const String::CharType * | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is less than the right string, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator< | ( | const String::CharType * | left, |
const String & | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is less than the right string, otherwise false
.ARP_STRING_EXPORT std::ostream & Arp::Base::Core::operator<< | ( | std::ostream & | os, |
const String & | right | ||
) |
Streams the right string to the out-stream os .
os | The out-stream to stream to. |
right | The string to stream. |
ARP_STRING_EXPORT bool Arp::Base::Core::operator<= | ( | const String & | left, |
const String::CharType * | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is less or equal than the right string, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator<= | ( | const String::CharType * | left, |
const String & | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is less or equal than the right string, otherwise false
.ARP_STRING_EXPORT String::ThreeWayCompareResult Arp::Base::Core::operator<=> | ( | const String & | left, |
const String & | right | ||
) |
Three-way compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
std::string
.The C++ 20 three-way-compare operator will generate the definitions of all string compare operators: <, >, <=, >=, ==, !=
.
Compares the left string to the right string on equality.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the strings are equal, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator== | ( | const String & | left, |
const String::CharType * | right | ||
) |
Compares the left string to the right string on equality.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the strings are equal, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator== | ( | const String::CharType * | left, |
const String & | right | ||
) |
Compares the left string to the right string on equality.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the strings are equal, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator> | ( | const String & | left, |
const String::CharType * | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is greater than the right string, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator> | ( | const String::CharType * | left, |
const String & | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is greater than the right string, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator>= | ( | const String & | left, |
const String::CharType * | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is greater or equal than the right string, otherwise false
.ARP_STRING_EXPORT bool Arp::Base::Core::operator>= | ( | const String::CharType * | left, |
const String & | right | ||
) |
Compares the left string to the right string.
left | The string to compare to the right string. |
right | The string to compare to the left string. |
true
if the left string is greater or equal than the right string, otherwise false
.ARP_STRING_EXPORT std::istream & Arp::Base::Core::operator>> | ( | std::istream & | is, |
String & | right | ||
) |
Streams the in-stream is into the right string.
is | The in-stream to stream from. |
right | The string to stream into. |