MD::InternalStringT
MD::InternalStringT< String, Char, Latin1Char > Class Template Reference
#include <traits.h>
Public Member Functions | |
InternalStringT () | |
InternalStringT (const String &s) | |
String & | asString () |
const String & | asString () const |
const String & | fullVirginString () const |
InternalStringT & | insert (long long int pos, Char ch) |
InternalStringT & | insert (long long int pos, const String &s) |
bool | isEmpty () const |
long long int | length () const |
Char | operator[] (long long int position) const |
InternalStringT & | remove (long long int pos, long long int size) |
InternalStringT & | replace (const String &what, const String &with) |
InternalStringT & | replaceOne (long long int pos, long long int size, const String &with) |
InternalStringT | right (long long int n) const |
InternalStringT | simplified () const |
InternalStringT | sliced (long long int pos, long long int len=-1) const |
std::vector< InternalStringT > | split (const InternalStringT &sep) const |
long long int | virginPos (long long int pos, bool end=false) const |
String | virginSubString (long long int pos=0, long long int len=-1) const |
Detailed Description
template<class String, class Char, class Latin1Char>
class MD::InternalStringT< String, Char, Latin1Char >
class MD::InternalStringT< String, Char, Latin1Char >
Internal string, used to get virgin (original) string from transformed string.
Constructor & Destructor Documentation
◆ InternalStringT() [1/2]
template<class String , class Char , class Latin1Char >
|
inline |
◆ InternalStringT() [2/2]
template<class String , class Char , class Latin1Char >
|
inline |
Member Function Documentation
◆ asString() [1/2]
template<class String , class Char , class Latin1Char >
|
inline |
◆ asString() [2/2]
template<class String , class Char , class Latin1Char >
|
inline |
◆ fullVirginString()
template<class String , class Char , class Latin1Char >
|
inline |
◆ insert() [1/2]
template<class String , class Char , class Latin1Char >
|
inline |
◆ insert() [2/2]
template<class String , class Char , class Latin1Char >
|
inline |
◆ isEmpty()
template<class String , class Char , class Latin1Char >
|
inline |
◆ length()
template<class String , class Char , class Latin1Char >
|
inline |
◆ operator[]()
template<class String , class Char , class Latin1Char >
|
inline |
◆ remove()
template<class String , class Char , class Latin1Char >
|
inline |
◆ replace()
template<class String , class Char , class Latin1Char >
|
inline |
◆ replaceOne()
template<class String , class Char , class Latin1Char >
|
inline |
◆ right()
template<class String , class Char , class Latin1Char >
|
inline |
◆ simplified()
template<class String , class Char , class Latin1Char >
|
inline |
◆ sliced()
template<class String , class Char , class Latin1Char >
|
inline |
◆ split()
template<class String , class Char , class Latin1Char >
|
inline |
◆ virginPos()
template<class String , class Char , class Latin1Char >
|
inline |
- Returns
- Virgin position from transformed.
- Parameters
-
pos Transformed position. end If true will be return last virgin position before transformation. For example if in virgin string 2 characters were replaced with 1, we will receive position of second character if end
is true.
◆ virginSubString()
template<class String , class Char , class Latin1Char >
|
inline |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.