cfgfile 0.2.11
Loading...
Searching...
No Matches
cfgfile::qstring_wrapper_t Class Reference

QString wrapper. More...

#include <types.hpp>

Public Types

using size_type = int
 

Public Member Functions

 qstring_wrapper_t ()
 
 qstring_wrapper_t (size_type size, QChar ch)
 
 qstring_wrapper_t (const char *str)
 
 qstring_wrapper_t (const QString &other)
 
 qstring_wrapper_t (const QChar *unicode, size_type size=-1)
 
 qstring_wrapper_t (QChar ch)
 
 qstring_wrapper_t (QLatin1String str)
 
 qstring_wrapper_t (const QByteArray &ba)
 
 operator QString ()
 
 operator QString () const
 
bool empty () const
 
int find (QChar ch) const
 
int find (const qstring_wrapper_t &str) const
 
int rfind (const qstring_wrapper_t &str) const
 
int rfind (QChar ch) const
 
qstring_wrapper_treplace (size_type pos, size_type count, const qstring_wrapper_t &v)
 
QString::iterator begin ()
 
QString::iterator end ()
 
QString::const_iterator begin () const
 
QString::const_iterator end () const
 
QString::const_iterator cbegin () const
 
QString::const_iterator cend () const
 
size_type length () const
 
const QChar at (int position) const
 
qstring_wrapper_t substr (size_type pos, size_type count=npos) const
 
const QChar operator[] (size_type pos) const
 
qstring_wrapper_tappend (const qstring_wrapper_t &other)
 
qstring_wrapper_tappend (size_type count, QChar ch)
 
void clear ()
 
void push_back (QChar ch)
 

Static Public Attributes

static const int npos = -1
 

Friends

bool operator== (const qstring_wrapper_t &s1, const qstring_wrapper_t &s2)
 
qstring_wrapper_t operator+ (const qstring_wrapper_t &s1, const qstring_wrapper_t &s2)
 
qstring_wrapper_t operator+ (const qstring_wrapper_t &s1, const char *s2)
 
qstring_wrapper_t operator+ (const char *s1, const qstring_wrapper_t &s2)
 
qstring_wrapper_t operator+ (const qstring_wrapper_t &s1, const char ch)
 
qstring_wrapper_t operator+ (const char ch, const qstring_wrapper_t &s2)
 
QTextStreamoperator<< (QTextStream &to, const qstring_wrapper_t &what)
 

Detailed Description

QString wrapper.

Member Typedef Documentation

◆ size_type

Constructor & Destructor Documentation

◆ qstring_wrapper_t() [1/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( )
inline

◆ qstring_wrapper_t() [2/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( size_type  size,
QChar  ch 
)
inline

◆ qstring_wrapper_t() [3/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( const char str)
inline

◆ qstring_wrapper_t() [4/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( const QString other)
inline

◆ qstring_wrapper_t() [5/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( const QChar unicode,
size_type  size = -1 
)
inline

◆ qstring_wrapper_t() [6/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( QChar  ch)
inline

◆ qstring_wrapper_t() [7/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( QLatin1String  str)
inline

◆ qstring_wrapper_t() [8/8]

cfgfile::qstring_wrapper_t::qstring_wrapper_t ( const QByteArray ba)
inline

Member Function Documentation

◆ append() [1/2]

qstring_wrapper_t & cfgfile::qstring_wrapper_t::append ( const qstring_wrapper_t other)
inline

◆ append() [2/2]

qstring_wrapper_t & cfgfile::qstring_wrapper_t::append ( size_type  count,
QChar  ch 
)
inline

◆ at()

const QChar cfgfile::qstring_wrapper_t::at ( int  position) const
inline

◆ begin() [1/2]

QString::iterator cfgfile::qstring_wrapper_t::begin ( )
inline

◆ begin() [2/2]

QString::const_iterator cfgfile::qstring_wrapper_t::begin ( ) const
inline

◆ cbegin()

QString::const_iterator cfgfile::qstring_wrapper_t::cbegin ( ) const
inline

◆ cend()

QString::const_iterator cfgfile::qstring_wrapper_t::cend ( ) const
inline

◆ clear()

void cfgfile::qstring_wrapper_t::clear ( )
inline

◆ empty()

bool cfgfile::qstring_wrapper_t::empty ( ) const
inline

◆ end() [1/2]

QString::iterator cfgfile::qstring_wrapper_t::end ( )
inline

◆ end() [2/2]

QString::const_iterator cfgfile::qstring_wrapper_t::end ( ) const
inline

◆ find() [1/2]

int cfgfile::qstring_wrapper_t::find ( const qstring_wrapper_t str) const
inline

◆ find() [2/2]

int cfgfile::qstring_wrapper_t::find ( QChar  ch) const
inline

◆ length()

size_type cfgfile::qstring_wrapper_t::length ( ) const
inline

◆ operator QString() [1/2]

cfgfile::qstring_wrapper_t::operator QString ( )
inline

◆ operator QString() [2/2]

cfgfile::qstring_wrapper_t::operator QString ( ) const
inline

◆ operator[]()

const QChar cfgfile::qstring_wrapper_t::operator[] ( size_type  pos) const
inline

◆ push_back()

void cfgfile::qstring_wrapper_t::push_back ( QChar  ch)
inline

◆ replace()

qstring_wrapper_t & cfgfile::qstring_wrapper_t::replace ( size_type  pos,
size_type  count,
const qstring_wrapper_t v 
)
inline

◆ rfind() [1/2]

int cfgfile::qstring_wrapper_t::rfind ( const qstring_wrapper_t str) const
inline

◆ rfind() [2/2]

int cfgfile::qstring_wrapper_t::rfind ( QChar  ch) const
inline

◆ substr()

qstring_wrapper_t cfgfile::qstring_wrapper_t::substr ( size_type  pos,
size_type  count = npos 
) const
inline

Friends And Related Symbol Documentation

◆ operator+ [1/5]

◆ operator+ [2/5]

◆ operator+ [3/5]

◆ operator+ [4/5]

◆ operator+ [5/5]

◆ operator<<

QTextStream & operator<< ( QTextStream to,
const qstring_wrapper_t what 
)
friend

◆ operator==

Member Data Documentation

◆ npos

const int cfgfile::qstring_wrapper_t::npos = -1
static

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