PLCnext API Documentation  20.6.0.30321
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Arp::BasicString< C, Alloc > Class Template Reference

Public Types

typedef Alloc Allocator
 
typedef C CharType
 
typedef BasicString< CharType, Allocator > SelfType
 
typedef std::basic_string< CharType, std::char_traits< CharType >, Allocator > BaseString
 
typedef Allocator allocator_type
 
typedef CharType value_type
 
typedef BaseString::size_type size_type
 
typedef BaseString::difference_type difference_type
 
typedef BaseString::reference reference
 
typedef BaseString::const_reference const_reference
 
typedef Allocator::pointer pointer
 
typedef Allocator::const_pointer const_pointer
 
typedef BaseString::iterator iterator
 
typedef BaseString::const_iterator const_iterator
 
typedef BaseString::reverse_iterator reverse_iterator
 
typedef BaseString::const_reverse_iterator const_reverse_iterator
 

Public Member Functions

 BasicString (const SelfType &arg)
 
 BasicString (const SelfType &arg, const Allocator &alloc)
 
 BasicString (const Allocator &alloc)
 
 BasicString (const SelfType &arg, size_type offset, size_type count=NPos)
 
 BasicString (const SelfType &arg, size_type offset, size_type count, const Allocator &alloc)
 
 BasicString (const CharType *pChars, size_type count)
 
 BasicString (const CharType *pChars, size_type count, const Allocator &alloc)
 
 BasicString (const CharType *pChars)
 
 BasicString (const CharType *pChars, const Allocator &alloc)
 
 BasicString (size_type count, CharType c)
 
 BasicString (size_type count, CharType c, const Allocator &alloc)
 
 BasicString (SelfType &&arg)
 
 BasicString (SelfType &&arg, const Allocator &alloc)
 
 BasicString (std::initializer_list< CharType > initList, const Allocator &alloc=Allocator())
 
 BasicString (iterator first, iterator last, const Allocator &alloc=Allocator())
 
 BasicString (const_iterator first, const_iterator last, const Allocator &alloc=Allocator())
 
 BasicString (const BaseString &arg)
 
 BasicString (BaseString &&arg)
 
SelfTypeoperator= (SelfType &&right)
 
SelfTypeoperator= (std::initializer_list< CharType > right)
 
SelfTypeoperator= (const SelfType &right)
 
SelfTypeoperator= (const CharType *pRight)
 
SelfTypeoperator= (CharType c)
 
SelfTypeoperator+= (std::initializer_list< CharType > right)
 
SelfTypeoperator+= (const SelfType &right)
 
SelfTypeoperator+= (const CharType *pRight)
 
SelfTypeoperator+= (CharType c)
 
SelfTypeAssign (SelfType &&right)
 
SelfTypeAssign (std::initializer_list< CharType > initList)
 
SelfTypeAssign (const SelfType &right)
 
SelfTypeAssign (const SelfType &right, size_type offset, size_type count=NPos)
 
SelfTypeAssign (const BaseString &right)
 
SelfTypeAssign (BaseString &&right)
 
SelfTypeAssign (const CharType *pChars, size_type count)
 
SelfTypeAssign (const CharType *pChars)
 
SelfTypeAssign (size_type count, CharType c)
 
SelfTypeAssign (iterator first, iterator last)
 
SelfTypeAssign (const_iterator first, const_iterator last)
 
SelfTypeAssign (const_pointer first, const_pointer last)
 
SelfTypeAppend (std::initializer_list< CharType > initList)
 
SelfTypeAppend (const SelfType &right)
 
SelfTypeAppend (const SelfType &right, size_type offset, size_type count=NPos)
 
SelfTypeAppend (const CharType *pChars, size_type count)
 
SelfTypeAppend (const CharType *pChars)
 
SelfTypeAppend (size_type count, CharType c)
 
SelfTypeAppend (iterator first, iterator last)
 
SelfTypeAppend (const_iterator first, const_iterator last)
 
SelfTypeAppend (const_pointer first, const_pointer last)
 
iterator Insert (const_iterator where, std::initializer_list< CharType > initList)
 
SelfTypeInsert (size_type offset, const SelfType &right)
 
SelfTypeInsert (size_type offset, const SelfType &right, size_type rightOffset, size_type count=NPos)
 
SelfTypeInsert (size_type offset, const CharType *pChars, size_type count)
 
SelfTypeInsert (size_type offset, const CharType *pChars)
 
SelfTypeInsert (size_type offset, size_type count, CharType c)
 
iterator Insert (const_iterator where)
 
iterator Insert (const_iterator where, CharType c)
 
iterator Insert (const_iterator where, size_type count, CharType c)
 
iterator Insert (const_iterator where, iterator first, iterator last)
 
iterator Insert (const_iterator where, const_iterator first, const_iterator last)
 
iterator Insert (const_iterator where, const_pointer first, const_pointer last)
 
SelfTypeErase (size_type offset=0)
 
SelfTypeErase (size_type offset, size_type count)
 
iterator Erase (const_iterator where)
 
iterator Erase (const_iterator first, const_iterator last)
 
SelfTypeReplace (const_iterator first, const_iterator last, std::initializer_list< CharType > initList)
 
SelfTypeReplace (size_type offset, size_type length, const SelfType &right)
 
SelfTypeReplace (size_type offset, size_type length, const SelfType &right, size_type offsetRight, size_type count=NPos)
 
SelfTypeReplace (size_type offset, size_type length, const CharType *pChars, size_type count)
 
SelfTypeReplace (size_type offset, size_type length, const CharType *pChars)
 
SelfTypeReplace (size_type offset, size_type length, size_type count, CharType c)
 
SelfTypeReplace (const_iterator first, const_iterator last, const SelfType &right)
 
SelfTypeReplace (const_iterator first, const_iterator last, const CharType *pChars, size_type count)
 
SelfTypeReplace (const_iterator first, const_iterator last, const CharType *pChars)
 
SelfTypeReplace (const_iterator first, const_iterator last, size_type count, CharType c)
 
SelfTypeReplace (const_iterator first, const_iterator last, iterator first2, iterator last2)
 
SelfTypeReplace (const_iterator first, const_iterator last, const_iterator first2, const_iterator last2)
 
SelfTypeReplace (const_iterator first, const_iterator last, const_pointer first2, const_pointer last2)
 
SelfTypeReplace (const_iterator first, const_iterator last, pointer first2, pointer last2)
 
SelfTypeReplaceAll (const SelfType &search, const SelfType &replacement)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator Begin ()
 
const_iterator Begin () const
 
iterator End ()
 
const_iterator End () const
 
reverse_iterator ReverseBegin ()
 
const_reverse_iterator ReverseBegin () const
 
reverse_iterator ReverseEnd ()
 
const_reverse_iterator ReverseEnd () const
 
const_iterator ConstBegin () const
 
const_iterator ConstEnd () const
 
const_reverse_iterator ConstReverseBegin () const
 
const_reverse_iterator ConstReverseEnd () const
 
void ShrinkToFit ()
 
void PushBack (CharType c)
 
void PopBack ()
 
reference Front ()
 
const_reference Front () const
 
reference Back ()
 
const_reference Back () const
 
const_reference At (size_type offset) const
 
reference operator[] (size_type offset)
 
const_reference operator[] (size_type offset) const
 
size_type Length () const
 
size_type Size () const
 
size_type MaxSize () const
 
size_type Capacity () const
 
bool IsEmpty () const
 
void Resize (size_type newSize)
 
void Resize (size_type newSize, CharType c)
 
void Reserve (size_type newCapacity=0)
 
void Clear ()
 
size_type Find (const SelfType &right, size_type offset=0) const
 
size_type Find (const CharType *pChars, size_type offset, size_type count) const
 
size_type Find (const CharType *pChars, size_type offset=0) const
 
size_type Find (CharType c, size_type offset=0) const
 
size_type ReverseFind (const SelfType &right, size_type offset=NPos) const
 
size_type ReverseFind (const CharType *pChars, size_type offset, size_type count) const
 
size_type ReverseFind (const CharType *pChars, size_type offset=NPos) const
 
size_type ReverseFind (CharType c, size_type offset=NPos) const
 
size_type FindFirstOf (const SelfType &right, size_type offset=0) const
 
size_type FindFirstOf (const CharType *pChars, size_type offset, size_type count) const
 
size_type FindFirstOf (const CharType *pChars, size_type offset=0) const
 
size_type FindFirstOf (CharType c, size_type offset=0) const
 
size_type FindLastOf (const SelfType &right, size_type offset=NPos) const
 
size_type FindLastOf (const CharType *pChars, size_type offset, size_type count) const
 
size_type FindLastOf (const CharType *pChars, size_type offset=NPos) const
 
size_type FindLastOf (CharType c, size_type offset=NPos) const
 
size_type FindFirstNotOf (const SelfType &right, size_type offset=0) const
 
size_type FindFirstNotOf (const CharType *pChars, size_type offset, size_type count) const
 
size_type FindFirstNotOf (const CharType *pChars, size_type offset=0) const
 
size_type FindFirstNotOf (CharType c, size_type offset=0) const
 
size_type FindLastNotOf (const SelfType &right, size_type offset=NPos) const
 
size_type FindLastNotOf (const CharType *pChars, size_type offset, size_type count) const
 
size_type FindLastNotOf (const CharType *pChars, size_type offset=NPos) const
 
size_type FindLastNotOf (CharType c, size_type offset=NPos) const
 
int Compare (const SelfType &right) const
 
int Compare (size_type offset, size_type count, const SelfType &right) const
 
int Compare (size_type offset, size_type count, const SelfType &right, size_type offsetRight, size_type countRight=NPos) const
 
int Compare (const CharType *pChars) const
 
int Compare (size_type offset, size_type count, const CharType *pChars) const
 
int Compare (size_type offset, size_type count, const CharType *pChars, size_type countChars) const
 
bool StartWith (const CharType *pChars) const
 
bool StartWith (const SelfType &pattern) const
 
const BaseString & GetBaseString () const
 
const CharType * CStr () const
 
 operator const CharType * () const
 
 operator const BaseString & () const
 
SelfType Substr (size_type offset=0, size_type count=NPos) const
 
Allocator GetAllocator () const
 
void Swap (SelfType &right)
 

Static Public Member Functions

template<typename... Args>
static SelfType Format (const SelfType &format, const Args &... args)
 
template<typename... Args>
static SelfType Format (const char *format, const Args &... args)
 

Static Public Attributes

static const size_type NPos = size_type(-1)
 
static const SelfType Empty
 
static const SelfType NewLine
 

The documentation for this class was generated from the following files: