MD::UnicodeString

Search for usage in LXR

MD::UnicodeString Class Referencefinal

#include <traits.h>

Inherits icu::UnicodeString.

Public Member Functions

 UnicodeString ()
 
 UnicodeString (char ch)
 
 UnicodeString (const char *str)
 
 UnicodeString (const char16_t *str)
 
 UnicodeString (const icu::UnicodeString &str)
 
 UnicodeString (const std::string &str)
 
 UnicodeString (const UnicodeChar &ch)
 
 UnicodeString (long long int count, char ch)
 
 ~UnicodeString () override=default
 
void clear ()
 
bool contains (const UnicodeChar &ch) const
 
bool contains (const UnicodeString &str) const
 
UnicodeChar operator[] (long long int position) const
 
void push_back (const UnicodeChar &ch)
 
void push_back (const UnicodeString &str)
 
UnicodeStringreplace (const UnicodeChar &before, const UnicodeString &after)
 
UnicodeStringreplace (const UnicodeString &before, const UnicodeString &after)
 
UnicodeString right (long long int n) const
 
UnicodeString simplified () const
 
int32_t size () const
 
UnicodeString sliced (long long int pos, long long int len=-1) const
 
std::vector< UnicodeStringsplit (char ch) const
 
std::vector< UnicodeStringsplit (const UnicodeChar &ch) const
 
UnicodeString toCaseFolded () const
 
int toInt (bool *ok=nullptr, int base=10) const
 
UnicodeString toLower () const
 
UnicodeString toUpper () const
 

Detailed Description

Wrapper for icu::UnicodeString to be used with MD::Parser.

Definition at line 599 of file traits.h.

Constructor & Destructor Documentation

◆ UnicodeString() [1/8]

MD::UnicodeString::UnicodeString ( )
inline

Definition at line 602 of file traits.h.

◆ UnicodeString() [2/8]

MD::UnicodeString::UnicodeString ( const icu::UnicodeString & str)
inline

Definition at line 606 of file traits.h.

◆ UnicodeString() [3/8]

MD::UnicodeString::UnicodeString ( char ch)
inline

Definition at line 611 of file traits.h.

◆ UnicodeString() [4/8]

MD::UnicodeString::UnicodeString ( const char16_t * str)
inline

Definition at line 616 of file traits.h.

◆ UnicodeString() [5/8]

MD::UnicodeString::UnicodeString ( const UnicodeChar & ch)
inline

Definition at line 621 of file traits.h.

◆ UnicodeString() [6/8]

MD::UnicodeString::UnicodeString ( const char * str)
inline

Definition at line 626 of file traits.h.

◆ UnicodeString() [7/8]

MD::UnicodeString::UnicodeString ( const std::string & str)
inline

Definition at line 631 of file traits.h.

◆ UnicodeString() [8/8]

MD::UnicodeString::UnicodeString ( long long int count,
char ch )
inline

Definition at line 636 of file traits.h.

◆ ~UnicodeString()

MD::UnicodeString::~UnicodeString ( )
overridedefault

Member Function Documentation

◆ clear()

void MD::UnicodeString::clear ( )
inline

Definition at line 818 of file traits.h.

◆ contains() [1/2]

bool MD::UnicodeString::contains ( const UnicodeChar & ch) const
inline

Definition at line 686 of file traits.h.

◆ contains() [2/2]

bool MD::UnicodeString::contains ( const UnicodeString & str) const
inline

Definition at line 691 of file traits.h.

◆ operator[]()

UnicodeChar MD::UnicodeString::operator[] ( long long int position) const
inline

Definition at line 643 of file traits.h.

◆ push_back() [1/2]

void MD::UnicodeString::push_back ( const UnicodeChar & ch)
inline

Definition at line 648 of file traits.h.

◆ push_back() [2/2]

void MD::UnicodeString::push_back ( const UnicodeString & str)
inline

Definition at line 653 of file traits.h.

◆ replace() [1/2]

UnicodeString & MD::UnicodeString::replace ( const UnicodeChar & before,
const UnicodeString & after )
inline

Definition at line 760 of file traits.h.

◆ replace() [2/2]

UnicodeString & MD::UnicodeString::replace ( const UnicodeString & before,
const UnicodeString & after )
inline

Definition at line 769 of file traits.h.

◆ right()

UnicodeString MD::UnicodeString::right ( long long int n) const
inline

Definition at line 786 of file traits.h.

◆ simplified()

UnicodeString MD::UnicodeString::simplified ( ) const
inline

Definition at line 696 of file traits.h.

◆ size()

int32_t MD::UnicodeString::size ( ) const
inline

Definition at line 658 of file traits.h.

◆ sliced()

UnicodeString MD::UnicodeString::sliced ( long long int pos,
long long int len = -1 ) const
inline

Definition at line 778 of file traits.h.

◆ split() [1/2]

std::vector< UnicodeString > MD::UnicodeString::split ( char ch) const
inline

Definition at line 755 of file traits.h.

◆ split() [2/2]

std::vector< UnicodeString > MD::UnicodeString::split ( const UnicodeChar & ch) const
inline

Definition at line 729 of file traits.h.

◆ toCaseFolded()

UnicodeString MD::UnicodeString::toCaseFolded ( ) const
inline

Definition at line 794 of file traits.h.

◆ toInt()

int MD::UnicodeString::toInt ( bool * ok = nullptr,
int base = 10 ) const
inline

Definition at line 663 of file traits.h.

◆ toLower()

UnicodeString MD::UnicodeString::toLower ( ) const
inline

Definition at line 810 of file traits.h.

◆ toUpper()

UnicodeString MD::UnicodeString::toUpper ( ) const
inline

Definition at line 802 of file traits.h.


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 Fri Nov 29 2024 11:57:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.