PLCnext API Documentation 23.6.0.37
|
Classes | |
class | Arp::BasicString< C, Alloc > |
struct | std::hash< Arp::BasicString< C, Alloc > > |
The hash functor of class BasicString. More... | |
Typedefs | |
using | Arp::BasicString< C, Alloc >::Allocator = Alloc |
The characters allocator type. | |
using | Arp::BasicString< C, Alloc >::AllocatorTraits = std::allocator_traits< Alloc > |
using | Arp::BasicString< C, Alloc >::CharType = C |
The character type. | |
using | Arp::BasicString< C, Alloc >::SelfType = BasicString< CharType, Allocator > |
The self type. | |
using | Arp::BasicString< C, Alloc >::BaseString = std::basic_string< CharType, std::char_traits< CharType >, Allocator > |
The type of the basic std string. | |
using | Arp::BasicString< C, Alloc >::Tokens = std::vector< SelfType > |
Used by Split() operation. | |
using | Arp::BasicString< C, Alloc >::Bytes = std::vector< byte > |
Conversion from and to byte array. | |
using | Arp::BasicString< C, Alloc >::allocator_type = Allocator |
The allocator type of this type. | |
using | Arp::BasicString< C, Alloc >::value_type = CharType |
The char type of this type. | |
using | Arp::BasicString< C, Alloc >::size_type = typename BaseString::size_type |
The size type of this type. | |
using | Arp::BasicString< C, Alloc >::difference_type = typename BaseString::difference_type |
The difference type of this type. | |
using | Arp::BasicString< C, Alloc >::reference = typename BaseString::reference |
The reference type of this type. | |
using | Arp::BasicString< C, Alloc >::const_reference = typename BaseString::const_reference |
The const reference type of this type. | |
using | Arp::BasicString< C, Alloc >::pointer = typename AllocatorTraits::pointer |
The pointer type of this type. | |
using | Arp::BasicString< C, Alloc >::const_pointer = typename AllocatorTraits::const_pointer |
The const pointer type of this type. | |
using | Arp::BasicString< C, Alloc >::iterator = typename BaseString::iterator |
The iterator type of this type. | |
using | Arp::BasicString< C, Alloc >::const_iterator = typename BaseString::const_iterator |
The const iterator type of this type. | |
using | Arp::BasicString< C, Alloc >::reverse_iterator = typename BaseString::reverse_iterator |
The reverse iterator type of this type. | |
using | Arp::BasicString< C, Alloc >::const_reverse_iterator = typename BaseString::const_reverse_iterator |
The const reverse iterator type of this type. | |
Functions | |
Arp::BasicString< C, Alloc >::BasicString ()=default | |
The default constructor constructs an empty string instance. | |
Arp::BasicString< C, Alloc >::BasicString (const SelfType &arg)=default | |
The copy constructor copies the as argument passed string deeply. More... | |
Arp::BasicString< C, Alloc >::BasicString (const SelfType &arg, const Allocator &alloc) | |
This constructor copies the as argument passed string deeply. More... | |
Arp::BasicString< C, Alloc >::BasicString (const Allocator &alloc) | |
This constructor creates an empty string instance. More... | |
Arp::BasicString< C, Alloc >::BasicString (const SelfType &arg, size_type offset, size_type count=NPos) | |
This constructor copies the as argument passed string partially. More... | |
Arp::BasicString< C, Alloc >::BasicString (const SelfType &arg, size_type offset, size_type count, const Allocator &alloc) | |
This constructor copies the as argument passed string partially. More... | |
Arp::BasicString< C, Alloc >::BasicString (const CharType *pChars, size_type count) | |
This constructor copies the as argument passed C-string. More... | |
Arp::BasicString< C, Alloc >::BasicString (const CharType *pChars, size_type count, const Allocator &alloc) | |
This constructor copies the as argument passed C-string. More... | |
Arp::BasicString< C, Alloc >::BasicString (const CharType *pChars) | |
This constructor copies the as argument passed C-string. More... | |
Arp::BasicString< C, Alloc >::BasicString (const CharType *pChars, const Allocator &alloc) | |
This constructor copies the as argument passed C-string. More... | |
Arp::BasicString< C, Alloc >::BasicString (size_type count, CharType c) | |
Fills the string with count consecutive copies of character c . More... | |
Arp::BasicString< C, Alloc >::BasicString (size_type count, CharType c, const Allocator &alloc) | |
Fills the string with count consecutive copies of character c . More... | |
Arp::BasicString< C, Alloc >::BasicString (SelfType &&arg) noexcept=default | |
This move constructor moves the as argument passed string to this string. More... | |
Arp::BasicString< C, Alloc >::BasicString (SelfType &&arg, const Allocator &alloc) | |
This move constructor moves the as argument passed string to this string. More... | |
Arp::BasicString< C, Alloc >::BasicString (std::initializer_list< CharType > arg, const Allocator &alloc=Allocator()) | |
Copies each of the characters in initList , in the same order. More... | |
Arp::BasicString< C, Alloc >::BasicString (iterator first, iterator last, const Allocator &alloc=Allocator()) | |
Copies the sequence of characters in the range [first,last) , in the same order.. More... | |
Arp::BasicString< C, Alloc >::BasicString (const_iterator first, const_iterator last, const Allocator &alloc=Allocator()) | |
Copies the sequence of characters in the range [first,last) , in the same order.. More... | |
Arp::BasicString< C, Alloc >::BasicString (const Bytes &bytes, const Allocator &alloc=Allocator()) | |
Copies the as arguments passed bytes to this string. More... | |
Arp::BasicString< C, Alloc >::BasicString (const BaseString &arg) | |
This copy constructor copies the as argument passed std::string to this string. More... | |
Arp::BasicString< C, Alloc >::BasicString (BaseString &&arg) | |
This move constructor moves the as argument passed std::string to this string. More... | |
Arp::BasicString< C, Alloc >::~BasicString ()=default | |
The destructor deallocates all memory of this instance. | |
SelfType & | Arp::BasicString< C, Alloc >::operator= (SelfType &&right) noexcept=default |
This move assignment operator moves the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator= (std::initializer_list< CharType > right) |
This assignment operator copies each of the characters in the right-hand-side operand to this string, in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator= (const SelfType &right)=default |
This assignment operator copies the the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator= (const CharType *right) |
This assignment operator copies the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator= (CharType c) |
This assignment operator copies the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator+= (std::initializer_list< CharType > right) |
This assignment operator appends each of the characters in the right-hand-side operand to this string, in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator+= (const SelfType &right) |
This assignment operator appends the the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator+= (const CharType *right) |
This assignment operator appends the the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::operator+= (CharType c) |
This assignment operator appends the the right-hand-side operand to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (SelfType &&arg) |
This operation moves the as argument passed string to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (std::initializer_list< CharType > arg) |
This operation copies each of the characters in the argument to this string, in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const SelfType &arg) |
This operation copies the the argument to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const SelfType &arg, size_type offset, size_type count=NPos) |
This operation copies the as argument passed string partially. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const BaseString &arg) |
This operation copies the argument to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (BaseString &&arg) |
This operation moves the argument to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const CharType *pChars, size_type count) |
This operation copies the as argument passed C-string partially. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const CharType *pChars) |
This operation copies the as argument passed C-string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (size_type count, CharType c) |
Fills this string with count consecutive copies of character c . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (iterator first, iterator last) |
Copies the sequence of characters in the range [first,last) , in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const_iterator first, const_iterator last) |
Copies the sequence of characters in the range [first,last) , in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Assign (const_pointer first, const_pointer last) |
Copies the sequence of characters in the range [first,last) , in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (std::initializer_list< CharType > arg) |
This operation appends each of the characters in the argument to this string, in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (const SelfType &arg) |
This operation appends the the argument to this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (const SelfType &arg, size_type offset, size_type count=NPos) |
This operation appends the as argument passed string partially. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (const CharType *pChars, size_type count) |
This operation appends the as argument passed C-string partially. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (const CharType *pChars) |
This operation appends the as argument passed C-string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (size_type count, CharType c) |
Appends to this string count consecutive copies of character c . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (iterator first, iterator last) |
Appends the sequence of characters in the range [first,last) , in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (const_iterator first, const_iterator last) |
Appends the sequence of characters in the range [first,last) , in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Append (const_pointer first, const_pointer last) |
Appends the sequence of characters in the range [first,last) , in the same order. More... | |
iterator | Arp::BasicString< C, Alloc >::Insert (const_iterator where, std::initializer_list< CharType > arg) |
This operation inserts each of the characters in the argument to this string, in the same order. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Insert (size_type offset, const SelfType &arg) |
This operation inserts the the argument at the given position. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Insert (size_type offset, const SelfType &arg, size_type argOffset, size_type count=NPos) |
This operation inserts the as argument passed string partially. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Insert (size_type offset, const CharType *pChars, size_type count) |
This operation inserts the as argument passed string partially. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Insert (size_type offset, const CharType *pChars) |
This operation inserts the as argument passed string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Insert (size_type offset, size_type count, CharType c) |
Inserts count consecutive copies of character c at position offset . More... | |
iterator | Arp::BasicString< C, Alloc >::Insert (const_iterator where, CharType c) |
Inserts character c at position where . More... | |
iterator | Arp::BasicString< C, Alloc >::Insert (const_iterator where, size_type count, CharType c) |
Inserts character c at position where . More... | |
iterator | Arp::BasicString< C, Alloc >::Insert (const_iterator where, iterator first, iterator last) |
Inserts a range of chars [first;last) at position where . More... | |
iterator | Arp::BasicString< C, Alloc >::Insert (const_iterator where, const_iterator first, const_iterator last) |
Inserts a range of chars [first;last) at position where . More... | |
iterator | Arp::BasicString< C, Alloc >::Insert (const_iterator where, const_pointer first, const_pointer last) |
Inserts a range of chars [first;last) at position where . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Erase (size_type offset=0) |
This operation erases chars from this string. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Erase (size_type offset, size_type count) |
This operation erases chars from this string. More... | |
iterator | Arp::BasicString< C, Alloc >::Erase (const_iterator where) |
This operation erases a char from a string. More... | |
iterator | Arp::BasicString< C, Alloc >::Erase (const_iterator first, const_iterator last) |
Erases a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, std::initializer_list< CharType > chars) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (size_type offset, size_type length, const SelfType &arg) |
Replaces a range of chars. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (size_type offset, size_type length, const SelfType &arg, size_type offsetArg, size_type count=NPos) |
Replaces a range of chars. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (size_type offset, size_type length, const CharType *pChars, size_type count) |
Replaces a range of chars. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (size_type offset, size_type length, const CharType *pChars) |
Replaces a range of chars. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (size_type offset, size_type length, size_type count, CharType c) |
Replaces a range of chars by a character. More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, const SelfType &arg) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, const CharType *pChars, size_type count) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, const CharType *pChars) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, size_type count, CharType c) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, iterator first2, iterator last2) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, const_iterator first2, const_iterator last2) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, const_pointer first2, const_pointer last2) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::Replace (const_iterator first, const_iterator last, pointer first2, pointer last2) |
Replaces a range of chars [first;last) . More... | |
SelfType & | Arp::BasicString< C, Alloc >::ReplaceAll (const SelfType &pattern, const SelfType &replacement) |
Replaces a given pattern by a replacement string. More... | |
iterator | Arp::BasicString< C, Alloc >::begin () |
Returns the begin iterator of this string. More... | |
const_iterator | Arp::BasicString< C, Alloc >::begin () const |
Returns the begin iterator of this string. More... | |
iterator | Arp::BasicString< C, Alloc >::end () |
Returns the end iterator of this string. More... | |
const_iterator | Arp::BasicString< C, Alloc >::end () const |
Returns the end iterator of this string. More... | |
iterator | Arp::BasicString< C, Alloc >::Begin () |
Returns the begin iterator of this string. More... | |
const_iterator | Arp::BasicString< C, Alloc >::Begin () const |
Returns the begin iterator of this string. More... | |
iterator | Arp::BasicString< C, Alloc >::End () |
Returns the end iterator of this string. More... | |
const_iterator | Arp::BasicString< C, Alloc >::End () const |
Returns the end iterator of this string. More... | |
reverse_iterator | Arp::BasicString< C, Alloc >::ReverseBegin () |
Returns the begin iterator of this string for reverse iterating. More... | |
const_reverse_iterator | Arp::BasicString< C, Alloc >::ReverseBegin () const |
Returns the begin iterator of this string for reverse iterating. More... | |
reverse_iterator | Arp::BasicString< C, Alloc >::ReverseEnd () |
Returns the end iterator of this string for reverse iterating. More... | |
const_reverse_iterator | Arp::BasicString< C, Alloc >::ReverseEnd () const |
Returns the end iterator of this string for reverse iterating. More... | |
const_iterator | Arp::BasicString< C, Alloc >::ConstBegin () const |
Returns the begin iterator of this const string. More... | |
const_iterator | Arp::BasicString< C, Alloc >::ConstEnd () const |
Returns the end iterator of this const string. More... | |
const_reverse_iterator | Arp::BasicString< C, Alloc >::ConstReverseBegin () const |
Returns the begin iterator of this const string for reverse iterating. More... | |
const_reverse_iterator | Arp::BasicString< C, Alloc >::ConstReverseEnd () const |
Returns the end iterator of this const string for reverse iterating. More... | |
void | Arp::BasicString< C, Alloc >::ShrinkToFit () |
Might reduce the capacity of this string to its size. | |
void | Arp::BasicString< C, Alloc >::PushBack (CharType c) |
Appends the character c to this string. More... | |
void | Arp::BasicString< C, Alloc >::PopBack () |
Removes the character at the end of this string. More... | |
reference | Arp::BasicString< C, Alloc >::Front () |
Returns a reference to the first character in the string. More... | |
const_reference | Arp::BasicString< C, Alloc >::Front () const |
Returns a const reference to the first character in the string. More... | |
reference | Arp::BasicString< C, Alloc >::Back () |
Returns a reference to the last character in the string. More... | |
const_reference | Arp::BasicString< C, Alloc >::Back () const |
Returns a const reference to the last character in the string. More... | |
reference | Arp::BasicString< C, Alloc >::At (size_type offset) |
Returns a const reference to the character at position offset . More... | |
const_reference | Arp::BasicString< C, Alloc >::At (size_type offset) const |
Returns a const reference to the character at position offset . More... | |
reference | Arp::BasicString< C, Alloc >::operator[] (size_type offset) |
Returns a reference to the character at position offset . More... | |
const_reference | Arp::BasicString< C, Alloc >::operator[] (size_type offset) const |
Returns a const reference to the character at position offset . More... | |
size_type | Arp::BasicString< C, Alloc >::Length () const |
Returns the number of char elements in this string. More... | |
size_type | Arp::BasicString< C, Alloc >::Size () const |
Returns the number of char elements in this string. More... | |
size_type | Arp::BasicString< C, Alloc >::MaxSize () const |
Returns the number maximum size any string might have. | |
size_type | Arp::BasicString< C, Alloc >::Capacity () const |
Rceturns the capacity of this string. More... | |
bool | Arp::BasicString< C, Alloc >::IsEmpty () const |
Determines if this string is empty. More... | |
void | Arp::BasicString< C, Alloc >::Resize (size_type newSize) |
Resizes this string to the specified new size. More... | |
void | Arp::BasicString< C, Alloc >::Resize (size_type newSize, CharType c) |
Resizes this string to the specified new size. More... | |
void | Arp::BasicString< C, Alloc >::Reserve (size_type newCapacity=0) |
Reserves memory upto the specified newCapacity . More... | |
void | Arp::BasicString< C, Alloc >::Clear () |
Clears the content of this string, but does not modify the capacity. | |
size_type | Arp::BasicString< C, Alloc >::Find (const SelfType &pattern, size_type offset=0) const |
Finds the first substring which equal to pattern . More... | |
size_type | Arp::BasicString< C, Alloc >::Find (const CharType *pChars, size_type offset, size_type count) const |
Finds the first substring which equal to pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::Find (const CharType *pChars, size_type offset=0) const |
Finds the first substring which equal to pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::Find (CharType c, size_type offset=0) const |
Finds the first char which equal to c . More... | |
size_type | Arp::BasicString< C, Alloc >::ReverseFind (const SelfType &pattern, size_type offset=NPos) const |
Finds the last substring which equal to pattern . More... | |
size_type | Arp::BasicString< C, Alloc >::ReverseFind (const CharType *pChars, size_type offset, size_type count) const |
Finds the last substring which equal to pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::ReverseFind (const CharType *pChars, size_type offset=NPos) const |
Finds the last substring which equal to pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::ReverseFind (CharType c, size_type offset=NPos) const |
Finds the last char which equal to c . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstOf (const SelfType &chars, size_type offset=0) const |
Finds the first occurence of any character in chars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstOf (const CharType *pChars, size_type offset, size_type count) const |
Finds the first occurence of any character in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstOf (const CharType *pChars, size_type offset=0) const |
Finds the first occurence of any character in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstOf (CharType c, size_type offset=0) const |
Finds the first occurence of character c . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastOf (const SelfType &chars, size_type pos=NPos) const |
Finds the last occurence of any character in chars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastOf (const CharType *pChars, size_type pos, size_type count) const |
Finds the last occurence of any character in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastOf (const CharType *pChars, size_type pos=NPos) const |
Finds the last occurence of any character in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastOf (CharType c, size_type pos=NPos) const |
Finds the last occurence of character c . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstNotOf (const SelfType &chars, size_type offset=0) const |
Finds the first occurence of any character which is not in chars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstNotOf (const CharType *pChars, size_type offset, size_type count) const |
Finds the first occurence of any character which is not in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstNotOf (const CharType *pChars, size_type offset=0) const |
Finds the first occurence of any character which is not in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindFirstNotOf (CharType c, size_type offset=0) const |
Finds the first occurence of any character which is not equal to c . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastNotOf (const SelfType &chars, size_type pos=NPos) const |
Finds the last occurence of any character which is not in chars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastNotOf (const CharType *pChars, size_type pos, size_type count) const |
Finds the last occurence of any character which is not in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastNotOf (const CharType *pChars, size_type pos=NPos) const |
Finds the last occurence of any character which is not in pChars . More... | |
size_type | Arp::BasicString< C, Alloc >::FindLastNotOf (CharType c, size_type pos=NPos) const |
Finds the last occurence of any character which is not equal to c . More... | |
int | Arp::BasicString< C, Alloc >::Compare (const SelfType &other) const |
Compares this string to the other string lexicographical. More... | |
int | Arp::BasicString< C, Alloc >::Compare (size_type offset, size_type count, const SelfType &other) const |
Compares this string to the other string lexicographical. More... | |
int | Arp::BasicString< C, Alloc >::Compare (size_type offset, size_type count, const SelfType &other, size_type offsetOther, size_type countOther=NPos) const |
Compares a substring of this string to a substring of the other string lexicographical. More... | |
int | Arp::BasicString< C, Alloc >::Compare (const CharType *pOther) const |
Compares this string to the pOther string lexicographical. More... | |
int | Arp::BasicString< C, Alloc >::Compare (size_type offset, size_type count, const CharType *pOther) const |
Compares this string to the pOther string lexicographical. More... | |
int | Arp::BasicString< C, Alloc >::Compare (size_type offset, size_type count, const CharType *pOther, size_type countOther) const |
Compares a substring of this string to a substring of the pOther string lexicographical. More... | |
bool | Arp::BasicString< C, Alloc >::StartWith (const CharType *pChars) const |
Determines if this string starts with the pChars C-string. More... | |
bool | Arp::BasicString< C, Alloc >::StartWith (const SelfType &pattern) const |
Determines if this string starts with the pattern string. More... | |
bool | Arp::BasicString< C, Alloc >::EndWith (const CharType *pChars) const |
Determines if this string ends with the pChars C-string. More... | |
bool | Arp::BasicString< C, Alloc >::EndWith (const SelfType &pattern) const |
Determines if this string starts with the pattern string. More... | |
template<typename... Args> | |
static SelfType | Arp::BasicString< C, Alloc >::Format (const SelfType &format, const Args &... args) |
Formats the format string using the .NET/Python syntax with the given variadic arguments. More... | |
template<typename... Args> | |
static SelfType | Arp::BasicString< C, Alloc >::Format (const char *format, const Args &... args) |
Formats the format C-string using the .NET/Python syntax with the given variadic arguments. More... | |
const BaseString & | Arp::BasicString< C, Alloc >::GetBaseString () const |
Gets the basic std string. More... | |
const CharType * | Arp::BasicString< C, Alloc >::CStr () const |
Gets the character data of this string. More... | |
Arp::BasicString< C, Alloc >::operator const CharType * () const | |
Converts this string implicitly to a C-string. More... | |
Arp::BasicString< C, Alloc >::operator const BaseString & () const | |
Converts this string implicitly to a std string. More... | |
SelfType | Arp::BasicString< C, Alloc >::Substr (size_type offset=0, size_type count=NPos) const |
Gets a substring of this string. More... | |
Allocator | Arp::BasicString< C, Alloc >::GetAllocator () const |
Gets the allocator of this string. More... | |
void | Arp::BasicString< C, Alloc >::Swap (SelfType &other) |
Swaps the content of this string with the content of the other string. More... | |
Bytes | Arp::BasicString< C, Alloc >::ToBytes () const |
Copies this string to a byte array. More... | |
SelfType | Arp::BasicString< C, Alloc >::TrimLeft () const |
Removes left appended white-spaces from this string More... | |
SelfType | Arp::BasicString< C, Alloc >::TrimRight () const |
Removes right appended white-spaces from this string More... | |
SelfType | Arp::BasicString< C, Alloc >::Trim () const |
Removes left and rigth appended white-spaces from this string More... | |
Tokens | Arp::BasicString< C, Alloc >::Split (char delimiter, bool trimTokens=true, bool removeEmptyTokens=true) const |
Splits this string into tokens using the specified delimiter characters (multiple). More... | |
Tokens | Arp::BasicString< C, Alloc >::Split (const char delimiters[], size_t delimitersCount, bool trimTokens=true, bool removeEmptyTokens=true) const |
Splits this string into tokens using the specified delimiter characters (multiple). More... | |
Tokens | Arp::BasicString< C, Alloc >::SplitByWord (const SelfType &delimiter, bool trimTokens=true, bool removeEmptyTokens=true) const |
Splits this string into tokens using the specified (single) delimiter string. More... | |
template<class CharType , class Alloc > | |
void | Arp::swap (BasicString< CharType, Alloc > &left, BasicString< CharType, Alloc > &right) noexcept |
Swaps the content of the left string with the content of the right string. More... | |
template<class CharType , class Alloc > | |
std::ostream & | Arp::operator<< (std::ostream &os, const BasicString< CharType, Alloc > &right) |
Streams the right string to the outstream os . More... | |
template<class CharType , class Alloc > | |
std::istream & | Arp::operator>> (std::istream &is, BasicString< CharType, Alloc > &right) |
Streams the instream is into the right string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const CharType *left, const BasicString< CharType, Alloc > &right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const CharType left, const BasicString< CharType, Alloc > &right) |
Concatenates the right string to the left character. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const BasicString< CharType, Alloc > &left, const CharType *right) |
Concatenates the right C-string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const BasicString< CharType, Alloc > &left, const CharType right) |
Concatenates the right character to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const BasicString< CharType, Alloc > &left, BasicString< CharType, Alloc > &&right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (BasicString< CharType, Alloc > &&left, const BasicString< CharType, Alloc > &right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (BasicString< CharType, Alloc > &&left, BasicString< CharType, Alloc > &&right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const CharType *left, BasicString< CharType, Alloc > &&right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (const CharType left, BasicString< CharType, Alloc > &&right) |
Concatenates the right string to the left character. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (BasicString< CharType, Alloc > &&left, const CharType *right) |
Concatenates the right string to the left string. More... | |
template<class CharType , class Alloc > | |
BasicString< CharType, Alloc > | Arp::operator+ (BasicString< CharType, Alloc > &&left, const CharType right) |
Concatenates the right character to the left string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator== (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string on equality. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator== (const CharType *left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string on equality. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator== (const BasicString< CharType, Alloc > &left, const CharType *right) |
Compares the left string to the right string on equality. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator!= (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string on inequality. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator!= (const CharType *left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string on inequality. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator!= (const BasicString< CharType, Alloc > &left, const CharType *right) |
Compares the left string to the right string on inequality. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator< (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator< (const CharType *left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator< (const BasicString< CharType, Alloc > &left, const CharType *right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator> (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator> (const CharType *left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator> (const BasicString< CharType, Alloc > &left, const CharType *right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator<= (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator<= (const CharType *left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator<= (const BasicString< CharType, Alloc > &left, const CharType *right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator>= (const BasicString< CharType, Alloc > &left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator>= (const CharType *left, const BasicString< CharType, Alloc > &right) |
Compares the left string to the right string. More... | |
template<class CharType , class Alloc > | |
bool | Arp::operator>= (const BasicString< CharType, Alloc > &left, const CharType *right) |
Compares the left string to the right string. More... | |
Variables | |
static const size_type | Arp::BasicString< C, Alloc >::NPos = size_type(-1) |
This position value is returned when find operations do not match, or is used as default value for any length parameter meaning 'until the end of the string'. | |
static const SelfType | Arp::BasicString< C, Alloc >::Empty |
An emtpy static string instance. | |
static const SelfType | Arp::BasicString< C, Alloc >::NewLine |
This static string instance represents the (platform specific) new line string. | |
|
inline |
This operation appends the as argument passed C-string.
pChars | The argument to append. |
|
inline |
This operation appends the as argument passed C-string partially.
pChars | The argument to append partially. |
count | The number of chars to append from pChars . |
|
inline |
This operation appends the the argument to this string.
arg | The argument to append. |
|
inline |
This operation appends the as argument passed string partially.
arg | The argument to append partially. |
offset | The offset of arg to append the chars from. |
count | The number of chars to append from arg . |
|
inline |
Appends the sequence of characters in the range [first,last)
, in the same order.
first | The begin iterator specifying the range of chars to append. |
last | The end iterator specifying the range of chars to append. |
|
inline |
Appends the sequence of characters in the range [first,last)
, in the same order.
first | The begin iterator specifying the range of chars to append. |
last | The end iterator specifying the range of chars to append. |
|
inline |
Appends the sequence of characters in the range [first,last)
, in the same order.
first | The begin iterator specifying the range of chars to append. |
last | The end iterator specifying the range of chars to append. |
|
inline |
Appends to this string count consecutive copies of character c .
count | The number of chars to append to this string. |
c | The char used to append this string. |
|
inline |
This operation appends each of the characters in the argument to this string, in the same order.
arg | The initializer list of chars to append. |
|
inline |
This operation moves the argument to this string.
arg | The argument to move. |
|
inline |
This operation copies the argument to this string.
arg | The argument to copy. |
|
inline |
This operation copies the as argument passed C-string.
pChars | The argument to copy. |
|
inline |
This operation copies the as argument passed C-string partially.
pChars | The argument to copy partially. |
count | The number of chars to copy from pChars . |
|
inline |
This operation copies the the argument to this string.
arg | The argument to copy. |
|
inline |
This operation copies the as argument passed string partially.
arg | The argument to copy partially. |
offset | The offset of arg to copy the chars from. |
count | The number of chars to copy from arg . |
|
inline |
Copies the sequence of characters in the range [first,last)
, in the same order.
first | The begin iterator specifying the range of chars to copy. |
last | The end iterator specifying the range of chars to copy. |
|
inline |
Copies the sequence of characters in the range [first,last)
, in the same order.
first | The begin iterator specifying the range of chars to copy. |
last | The end iterator specifying the range of chars to copy. |
|
inline |
Copies the sequence of characters in the range [first,last)
, in the same order.
first | The begin iterator specifying the range of chars to copy. |
last | The end iterator specifying the range of chars to copy. |
|
inline |
This operation moves the as argument passed string to this string.
arg | The right-hand-side argument to move. |
|
inline |
Fills this string with count consecutive copies of character c .
count | The number of chars to fill this string with. |
c | The char used to fill this string. |
|
inline |
This operation copies each of the characters in the argument to this string, in the same order.
arg | The initializer list of chars to copy. |
|
inline |
Returns a const reference to the character at position offset .
offset | The index of the character to refer. |
std::out_of_range | If offset is out of range. |
|
inline |
Returns a const reference to the character at position offset .
offset | The index of the character to refer. |
std::out_of_range | If offset is out of range. |
|
inline |
Returns a reference to the last character in the string.
The behavior is undefined if this string is empty.
|
inline |
Returns a const reference to the last character in the string.
The behavior is undefined if this string is empty.
|
inline |
This move constructor moves the as argument passed std::string
to this string.
arg | The argument to move. |
|
inlineexplicit |
This constructor creates an empty string instance.
alloc | The allocator to use. |
|
inline |
This copy constructor copies the as argument passed std::string
to this string.
arg | The argument to copy. |
|
inlineexplicit |
Copies the as arguments passed bytes to this string.
bytes | The bytes to copy to this string. |
alloc | The allocator to use. |
|
inline |
This constructor copies the as argument passed C-string.
pChars | The C-string to copy. |
|
inline |
This constructor copies the as argument passed C-string.
pChars | The C-string to copy. |
alloc | The allocator to use. |
|
inline |
This constructor copies the as argument passed C-string.
pChars | The C-string to copy. |
count | The number of chars to copy from pChars . |
|
inline |
This constructor copies the as argument passed C-string.
pChars | The C-string to copy. |
count | The number of chars to copy from pChars . |
alloc | The allocator to use. |
|
default |
The copy constructor copies the as argument passed string deeply.
arg | The argument to copy. |
|
inline |
This constructor copies the as argument passed string deeply.
arg | The argument to copy deeply. |
alloc | The allocator to use. |
|
inline |
This constructor copies the as argument passed string partially.
arg | The argument to copy partially. |
offset | The offset of arg to copy the chars from. |
count | The number of chars to copy from arg . |
alloc | The allocator to use. |
|
inline |
This constructor copies the as argument passed string partially.
arg | The argument to copy partially. |
offset | The offset of arg to copy the chars from. |
count | The number of chars to copy from arg . |
|
inline |
Copies the sequence of characters in the range [first,last)
, in the same order..
first | The begin iterator specifying the range of chars to copy. |
last | The end iterator specifying the range of chars to copy. |
alloc | The allocator to use. |
|
inline |
Copies the sequence of characters in the range [first,last)
, in the same order..
first | The begin iterator specifying the range of chars to copy. |
last | The end iterator specifying the range of chars to copy. |
alloc | The allocator to use. |
|
defaultnoexcept |
This move constructor moves the as argument passed string to this string.
arg | The argument to move. |
|
inline |
This move constructor moves the as argument passed string to this string.
arg | The argument to move. |
alloc | The allocator to use. |
|
inline |
Fills the string with count consecutive copies of character c .
count | The number of chars to fill this string with. |
c | The char used to fill this string. |
|
inline |
Fills the string with count consecutive copies of character c .
count | The number of chars to fill this string with. |
c | The char used to fill this string. |
alloc | The allocator to use. |
|
inline |
Copies each of the characters in initList , in the same order.
arg | The initializer list of chars to copy. |
alloc | The allocator to use. |
|
inline |
Returns the begin iterator of this string.
This implemention is intended to support range base for loops and is required by C++ compilers. Do not use this operation directly.
|
inline |
Returns the begin iterator of this string.
|
inline |
Returns the begin iterator of this string.
This implemention is intended to support range base for loops and is required by C++ compilers. Do not use this operation directly.
|
inline |
Returns the begin iterator of this string.
|
inline |
Rceturns the capacity of this string.
The capacity of a string might differ from its size, because the string class acts like any other container class. If it is desired that a the capacity of string should be reduced to its size, call ShrinkToFit operation.
Use ShrinkToFit operation to reduce the capacity of a string to its size.
|
inline |
Compares this string to the pOther string lexicographical.
pOther | The other C-string to compare this string to. |
|
inline |
Compares this string to the other string lexicographical.
other | The other string to compare this string to. |
|
inline |
Compares this string to the pOther string lexicographical.
pOther | The other C-string to compare this string to. |
offset | The position of the first character in this string to compare. |
count | The number of characters of this string to compare. |
|
inline |
Compares a substring of this string to a substring of the pOther string lexicographical.
pOther | The other C-string to compare this string to. |
offset | The position of the first character in this string to compare. |
count | The number of characters of this string to compare. |
countOther | The number of characters of the other string to compare. |
|
inline |
Compares this string to the other string lexicographical.
other | The other string to compare this string to. |
offset | The position of the first character in this string to compare. |
count | The number of characters of this string to compare. |
|
inline |
Compares a substring of this string to a substring of the other string lexicographical.
other | The other string to compare this string to. |
offset | The position of the first character in this string to compare. |
count | The number of characters of this string to compare. |
offsetOther | The position of the first character in the other string to compare. |
countOther | The number of characters of the other string to compare. |
|
inline |
Returns the begin iterator of this const string.
|
inline |
Returns the end iterator of this const string.
|
inline |
Returns the begin iterator of this const string for reverse iterating.
|
inline |
Returns the end iterator of this const string for reverse iterating.
|
inline |
Gets the character data of this string.
|
inline |
Returns the end iterator of this string.
This implemention is intended to support range base for loops and is required by C++ compilers. Do not use this operation directly.
|
inline |
Returns the end iterator of this string.
|
inline |
Returns the end iterator of this string.
This implemention is intended to support range base for loops and is required by C++ compilers. Do not use this operation directly.
|
inline |
Returns the end iterator of this string.
|
inline |
Determines if this string ends with the pChars C-string.
pChars | The C-string to compare this string to. |
true
if this string ends with the pChars C-string, otherwise false
.
|
inline |
Determines if this string starts with the pattern string.
pattern | The string to compare this string to. |
true
if this string starts with the pattern string, otherwise false
.
|
inline |
Erases a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to insert. |
last | The end iterator specifying the range of chars to insert. |
|
inline |
This operation erases a char from a string.
where | The start position from where the chars are erased. If this is the begin iterator the entire string is cleared. |
|
inline |
This operation erases chars from this string.
offset | The start position from where the chars are erased. |
count | The number of chars to erase. |
|
inline |
This operation erases chars from this string.
offset | The start position from where the chars are erased. If this is 0 the entire string is cleared. |
|
inline |
Finds the first char which equal to c .
c | The char to search for. |
offset | The position at which to start the search. |
NPos
if the char could not be found.
|
inline |
Finds the first substring which equal to pChars .
pChars | The C-string to search for. |
offset | The position at which to start the search. |
count | The length of the substring to search for. |
NPos
if the substring could not be found.
|
inline |
Finds the first substring which equal to pChars .
pChars | The C-string to search for. |
offset | The position at which to start the search. |
NPos
if the substring could not be found.
|
inline |
Finds the first substring which equal to pattern .
pattern | The pattern to search for. |
offset | The position at which to start the search. |
NPos
if the substring could not be found.
|
inline |
Finds the first occurence of any character which is not equal to c .
c | The character not to search for. |
offset | The position at which to start the search. |
NPos
if the char could not be found.This operation is equivalent to the corresponding Find operation
|
inline |
Finds the first occurence of any character which is not in pChars .
pChars | The characters not to search for. |
offset | The position at which to start the search. |
count | The length of the C-string identifying characters to search for. |
NPos
if none of the chars could not be found.
|
inline |
Finds the first occurence of any character which is not in pChars .
pChars | The characters not to search for. |
offset | The position at which to start the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the first occurence of any character which is not in chars .
chars | The characters not to search for. |
offset | The position at which to start the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the first occurence of character c .
c | The character to search for. |
offset | The position at which to start the search. |
NPos
if the char could not be found.This operation is equivalent to the corresponding Find operation
|
inline |
Finds the first occurence of any character in pChars .
pChars | The characters to search for. |
offset | The position at which to start the search. |
count | The length of the C-string identifying characters to search for. |
NPos
if none of the chars could not be found.
|
inline |
Finds the first occurence of any character in pChars .
pChars | The characters to search for. |
offset | The position at which to start the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the first occurence of any character in chars .
chars | The characters to search for. |
offset | The position at which to start the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the last occurence of any character which is not equal to c .
c | The character not to search for. |
pos | Position of the last character in the string to be considered in the search. |
NPos
if the char could not be found.This operation is equivalent to the corresponding Find operation
|
inline |
Finds the last occurence of any character which is not in pChars .
pChars | The characters not to search for. |
pos | Position of the last character in the string to be considered in the search. |
count | The length of the C-string identifying characters to search for. |
NPos
if none of the chars could not be found.
|
inline |
Finds the last occurence of any character which is not in pChars .
pChars | The characters not to search for. |
pos | Position of the last character in the string to be considered in the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the last occurence of any character which is not in chars .
chars | The characters not to search for. |
pos | Position of the last character in the string to be considered in the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the last occurence of character c .
c | The character to search for. |
pos | Position of the last character in the string to be considered in the search. |
NPos
if the char could not be found.This operation is equivalent to the corresponding ReverseFind operation.
|
inline |
Finds the last occurence of any character in pChars .
pChars | The characters to search for. |
pos | Position of the last character in the string to be considered in the search. |
count | The length of the C-string identifying characters to search for. |
NPos
if none of the chars could not be found.
|
inline |
Finds the last occurence of any character in pChars .
pChars | The characters to search for. |
pos | Position of the last character in the string to be considered in the search. |
NPos
if none of the chars could not be found.
|
inline |
Finds the last occurence of any character in chars .
chars | The characters to search for. |
pos | Position of the last character in the string to be considered in the search. |
NPos
if none of the chars could not be found.
|
inlinestatic |
Formats the format C-string using the .NET/Python syntax with the given variadic arguments.
format | The C-string to format using .NET/Python syntax for placeholders like {} , {1} or {2} . |
args | The variadic arguments to format into the format string. |
|
inlinestatic |
Formats the format string using the .NET/Python syntax with the given variadic arguments.
format | The string to format using .NET/Python syntax for placeholders like {} , {1} or {2} . |
args | The variadic arguments to format into the format string. |
|
inline |
Returns a reference to the first character in the string.
The behavior is undefined if this string is empty.
|
inline |
Returns a const reference to the first character in the string.
The behavior is undefined if this string is empty.
|
inline |
Gets the allocator of this string.
|
inline |
Gets the basic std string.
|
inline |
Inserts character c at position where .
where | The position where to insert the char. |
c | The char to insert into this string. |
|
inline |
Inserts a range of chars [first;last)
at position where .
where | The position where to insert the char. |
first | The begin iterator specifying the range of chars to insert. |
last | The end iterator specifying the range of chars to insert. |
|
inline |
Inserts a range of chars [first;last)
at position where .
where | The position where to insert the char. |
first | The begin iterator specifying the range of chars to insert. |
last | The end iterator specifying the range of chars to insert. |
|
inline |
Inserts a range of chars [first;last)
at position where .
where | The position where to insert the char. |
first | The begin iterator specifying the range of chars to insert. |
last | The end iterator specifying the range of chars to insert. |
|
inline |
Inserts character c at position where .
where | The position where to insert the char. |
count | The number of chars to insert. |
c | The char used to insert into this string. |
|
inline |
This operation inserts each of the characters in the argument to this string, in the same order.
where | The position to insert the character at. |
arg | The initializer list of chars to insert. |
|
inline |
This operation inserts the as argument passed string.
offset | The start position where to insert the chars. |
pChars | The C-string to insert. |
|
inline |
This operation inserts the as argument passed string partially.
offset | The start position where to insert the chars. |
pChars | The C-string to insert partially. |
count | The number of chars to insert from pChars . |
|
inline |
This operation inserts the the argument at the given position.
arg | The argument to insert. |
offset | The position to insert argument at. |
|
inline |
This operation inserts the as argument passed string partially.
offset | The start position where to insert the chars. |
arg | The argument to insert partially. |
argOffset | The offset of arg to insert the chars from. |
count | The number of chars to insert from arg . |
|
inline |
Inserts count consecutive copies of character c at position offset .
offset | The start position where to insert the chars. |
count | The number of chars to insert. |
c | The char used to insert into this string. |
|
inline |
Determines if this string is empty.
true
if this string is empty, otherwise false
.
|
inline |
Returns the number of char elements in this string.
This operation does not count the null terminator. Furtermore it does not return the number of characters for other encodings than ASCII encoding. E.g. if the encoding is UTF8, the number of characters might differs from the length or size of the string.
Returns the same value than the Size operation.
|
inline |
Converts this string implicitly to a std string.
|
inline |
Converts this string implicitly to a C-string.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
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. |
|
inline |
This assignment operator appends the the right-hand-side operand to this string.
c | The character to append. |
|
inline |
This assignment operator appends the the right-hand-side operand to this string.
right | The argument to append. |
|
inline |
This assignment operator appends the the right-hand-side operand to this string.
right | The argument to append. |
|
inline |
This assignment operator appends each of the characters in the right-hand-side operand to this string, in the same order.
right | The initializer list of chars to append. |
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
Streams the right string to the outstream os .
os | The outstream to stream to. |
right | The string to stream. |
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
This assignment operator copies the right-hand-side operand to this string.
c | The character to copy. |
|
inline |
This assignment operator copies the right-hand-side operand to this string.
right | The argument to copy. |
|
default |
This assignment operator copies the the right-hand-side operand to this string.
right | The argument to copy. |
|
defaultnoexcept |
This move assignment operator moves the right-hand-side operand to this string.
right | The right-hand-side argument to move. |
|
inline |
This assignment operator copies each of the characters in the right-hand-side operand to this string, in the same order.
right | The initializer list of chars to copy. |
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
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
.
|
inline |
Streams the instream is into the right string.
is | The instream to stream from. |
right | The string to stream into. |
|
inline |
Returns a reference to the character at position offset .
offset | The index of the character to refer. |
The behavior is undefined offset is out of range.
|
inline |
Returns a const reference to the character at position offset .
offset | The index of the character to refer. |
The behavior is undefined offset is out of range.
|
inline |
Removes the character at the end of this string.
if this string is empty, the operation has no effect.
|
inline |
Appends the character c to this string.
c | The char to append to this string. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
pChars | The C-string to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
pChars | The C-string to insert. |
count | The number of chars of pChars to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
arg | The string to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
first2 | The begin iterator specifying the range of chars to insert. |
last2 | The end iterator specifying the range of chars to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
first2 | The begin pointer specifying the range of chars to insert. |
last2 | The end pointer specifying the range of chars to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
first2 | The begin iterator specifying the range of chars to insert. |
last2 | The end iterator specifying the range of chars to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
first2 | The begin pointer specifying the range of chars to insert. |
last2 | The end pointer specifying the range of chars to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
count | The number of characters c to insert. |
c | The character to insert. |
|
inline |
Replaces a range of chars [first;last)
.
first | The begin iterator specifying the range of chars to replace. |
last | The end iterator specifying the range of chars to replace. |
chars | The list of chars to insert. |
|
inline |
Replaces a range of chars.
offset | The start position of the chars to replace. |
length | The number of chars to replace. |
pChars | The C-string to insert. |
|
inline |
Replaces a range of chars.
offset | The start position of the chars to replace. |
length | The number of chars to replace. |
pChars | The C-string to insert partially. |
count | The number of chars of pChars to insert. |
|
inline |
Replaces a range of chars.
offset | The start position of the chars to replace. |
length | The number of chars to replace. |
arg | The string to insert. |
|
inline |
Replaces a range of chars.
offset | The start position of the chars to replace. |
length | The number of chars to replace. |
arg | The string to insert partially. |
offsetArg | The start position of the chars of the string to insert. |
count | The number of chars of arg to insert. |
|
inline |
Replaces a range of chars by a character.
offset | The start position of the chars to replace. |
length | The number of chars to replace. |
count | The number of chars c to insert. |
c | The character to insert count times. |
|
inline |
Replaces a given pattern by a replacement string.
pattern | The pattern to search for replacing. |
replacement | The replacement string for all matches. |
This is an extension to the C++ standard operations
|
inline |
Reserves memory upto the specified newCapacity .
newCapacity | The new capacity of this string. |
If the actual capacity is less than newCapacity than the internal storage is reallocated to fit the new capacity. If the actual capacity is greater than newCapacity and greater than the current size, this is a non-binding shrink request. If the actual capacity is greater than newCapacity and less than the current size, this is a non-binding shrink-to-fit request.
|
inline |
Resizes this string to the specified new size.
newSize | The new size of this string. |
If the actual size is less than newSize than zero'ed characters are appended. If the actual size is greater than newSize than the size of the string is shrinked to the new size.
|
inline |
Resizes this string to the specified new size.
newSize | The new size of this string. |
c | The character to use for initializing added chars. |
If the actual size is less than newSize than the new characters are appended and initialized to c . If the actual size is greater than newSize than the size of the string is shrinked to the new size.
|
inline |
Returns the begin iterator of this string for reverse iterating.
|
inline |
Returns the begin iterator of this string for reverse iterating.
|
inline |
Returns the end iterator of this string for reverse iterating.
|
inline |
Returns the end iterator of this string for reverse iterating.
|
inline |
Finds the last char which equal to c .
c | The char to search for. |
offset | The position at which to start the search. |
NPos
if the char could not be found.
|
inline |
Finds the last substring which equal to pChars .
pChars | The C-string to search for. |
offset | The position at which to start the search. |
count | The length of the substring to search for. |
NPos
if the substring could not be found.
|
inline |
Finds the last substring which equal to pChars .
pChars | The C-string to search for. |
offset | The position at which to start the search. |
NPos
if the substring could not be found.
|
inline |
Finds the last substring which equal to pattern .
pattern | The pattern to search for. |
offset | The position at which to start the search. |
NPos
if the substring could not be found.
|
inline |
Returns the number of char elements in this string.
This operation does not count the null terminator. Furtermore it does not return the number of characters for other encodings than ASCII encoding. E.g. if the encoding is UTF8, the number of characters might differs from the length or size of the string.
Returns the same value than the Length operation.
|
inline |
Splits this string into tokens using the specified delimiter characters (multiple).
delimiter | The delimiter character to search for when splitting this string. |
trimTokens | If set to true , the resulting tokens are trimmed from whitespaces. |
removeEmptyTokens | If set to true , the empty tokens are omitted. |
|
inline |
Splits this string into tokens using the specified delimiter characters (multiple).
delimiters | The delimiters to search for when splitting this string. |
delimitersCount | The number of delimiter characters in delimiters . |
trimTokens | If set to true , the resulting tokens are trimmed from whitespaces. |
removeEmptyTokens | If set to true , the empty tokens are omitted. |
|
inline |
Splits this string into tokens using the specified (single) delimiter string.
delimiter | The (single) delimiter string to search for when splitting this string. |
trimTokens | If set to true , the resulting tokens are trimmed from whitespaces. |
removeEmptyTokens | If set to true , the empty tokens are omitted. |
|
inline |
Determines if this string starts with the pChars C-string.
pChars | The C-string to compare this string to. |
true
if this string starts with the pChars C-string, otherwise false
.
|
inline |
Determines if this string starts with the pattern string.
pattern | The string to compare this string to. |
true
if this string starts with the pattern string, otherwise false
.
|
inline |
Gets a substring of this string.
offset | The position of the first character in this string to return as substring. |
count | The number of characters of this string to return as substring. |
|
inlinenoexcept |
Swaps the content of the left string with the content of the right string.
left | The first string to swap. |
right | The second string to swap. |
|
inline |
Swaps the content of this string with the content of the other string.
other | The position of the first character in this string to return as substring. |
|
inline |
Copies this string to a byte array.
|
inline |
Removes left and rigth appended white-spaces from this string
|
inline |
Removes left appended white-spaces from this string
|
inline |
Removes right appended white-spaces from this string