• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/docs/latex/wx/

Lines Matching defs:wxString

1 \section{\class{wxString}}\label{wxstring}
3 wxString is a class representing a character string. Please see the
4 \helpref{wxString overview}{wxstringoverview} for more information about it.
6 As explained there, wxString implements most of the methods of the std::string
13 You may notice that wxString sometimes has many functions which do the same
19 starts using it instead of wxString.
37 \helpref{wxString overview}{wxstringoverview}, \helpref{Unicode overview}{unicode}
49 \helpref{wxString}{wxstringconstruct}\\
51 \helpref{\destruct{wxString}}{wxstringdestruct}
97 should be converted to a wxString first.
197 wxString s = "...";
198 s += wxString::Format("%d", n);
200 wxString s;
268 wxString(const wxString& str, size_t nPos, size_t nLen);
270 wxString(const void *pStart, const void *pEnd);
294 wxString& append(const wxString& str);
296 wxString& append(const wxString& str, size_t pos, size_t n);
298 wxString& append(const char *sz, size_t n = npos);
301 wxString& append(size_t n, char ch);
304 wxString& assign(const wxString& str);
306 wxString& assign(const wxString& str, size_t pos, size_t n);
308 wxString& assign(const char *sz, size_t n = npos);
310 wxString& assign(size_t n, char ch);
313 wxString& insert(size_t nPos, const wxString& str);
315 wxString& insert(size_t nPos, const wxString& str, size_t nStart, size_t n);
318 wxString& insert(size_t nPos, const char *sz, size_t n = npos);
320 wxString& insert(size_t nPos, size_t n, char ch);
323 wxString& erase(size_t nStart = 0, size_t nLen = npos);
326 wxString& replace(size_t nStart, size_t nLen, const char* sz);
328 wxString& replace(size_t nStart, size_t nLen, size_t nCount, char ch);
330 wxString& replace(size_t nStart, size_t nLen,
331 const wxString& str, size_t nStart2, size_t nLen2);
333 wxString& replace(size_t nStart, size_t nLen,
337 void swap(wxString& str);
344 size_t find(const wxString& str, size_t nStart = 0) const;
355 size_t rfind(const wxString& str, size_t nStart = npos) const;
366 size_t find_first_of(const wxString& str, size_t nStart = 0) const;
372 size_t find_last_of (const wxString& str, size_t nStart = npos) const;
381 size_t find_first_not_of(const wxString& str, size_t nStart = 0) const;
387 size_t find_last_not_of(const wxString& str, size_t nStart=npos) const;
397 int compare(const wxString& str) const;
399 int compare(size_t nStart, size_t nLen, const wxString& str) const;
402 const wxString& str, size_t nStart2, size_t nLen2) const;
410 wxString substr(size_t nStart = 0, size_t nLen = npos) const;
421 \membersection{wxString::wxString}\label{wxstringconstruct}
423 \func{}{wxString}{\void}
427 \func{}{wxString}{\param{const wxString\&}{ x}}
431 \func{}{wxString}{\param{wxChar}{ ch}, \param{size\_t}{ n = 1}}
435 \func{}{wxString}{\param{const wxChar*}{ psz}, \param{size\_t}{ nLength = wxSTRING\_MAXLEN}}
447 \func{}{wxString}{\param{const unsigned char*}{ psz}, \param{size\_t}{ nLength = wxSTRING\_MAXLEN}}
455 The following constructors allow you to construct wxString from a wide string
458 \func{}{wxString}{\param{const wchar\_t*}{ psz}, \param{wxMBConv\&}{ conv}, \param{size\_t}{ nLength = wxSTRING\_MAXLEN}}
466 \func{}{wxString}{\param{const char*}{ psz}, \param{wxMBConv\&}{ conv}, \param{size\_t}{ nLength = wxSTRING\_MAXLEN}}
480 \membersection{wxString::\destruct{wxString}}\label{wxstringdestruct}
482 \func{}{\destruct{wxString}}{\void}
484 String destructor. Note that this is not virtual, so wxString must not be inherited from.
487 \membersection{wxString::Alloc}\label{wxstringalloc}
491 Preallocate enough space for wxString to store {\it nLen} characters. This function
498 wxString DeleteAllVowels(const wxString& original)
500 wxString result;
525 \membersection{wxString::Append}\label{wxstringappend}
527 \func{wxString\&}{Append}{\param{const wxChar*}{ psz}}
531 \func{wxString\&}{Append}{\param{wxChar}{ ch}, \param{int}{ count = 1}}
537 \membersection{wxString::AfterFirst}\label{wxstringafterfirst}
539 \constfunc{wxString}{AfterFirst}{\param{wxChar}{ ch}}
545 \membersection{wxString::AfterLast}\label{wxstringafterlast}
547 \constfunc{wxString}{AfterLast}{\param{wxChar}{ ch}}
553 \membersection{wxString::BeforeFirst}\label{wxstringbeforefirst}
555 \constfunc{wxString}{BeforeFirst}{\param{wxChar}{ ch}}
561 \membersection{wxString::BeforeLast}\label{wxstringbeforelast}
563 \constfunc{wxString}{BeforeLast}{\param{wxChar}{ ch}}
569 \membersection{wxString::c\_str}\label{wxstringcstr}
588 \membersection{wxString::char\_str}\label{wxstringcharstr}
606 \membersection{wxString::Clear}\label{wxstringclear}
615 \membersection{wxString::Cmp}\label{wxstringcmp}
617 \constfunc{int}{Cmp}{\param{const wxString\&}{ s}}
630 \membersection{wxString::CmpNoCase}\label{wxstringcmpnocase}
632 \constfunc{int}{CmpNoCase}{\param{const wxString\&}{ s}}
645 \membersection{wxString::CompareTo}\label{wxstringcompareto}
648 enum wxString::caseCompare {exact, ignoreCase};
658 \membersection{wxString::Contains}\label{wxstringcontains}
660 \constfunc{bool}{Contains}{\param{const wxString\&}{ str}}
662 Returns \true if target appears anywhere in wxString; else \false.
667 \membersection{wxString::Empty}\label{wxstringempty}
676 \membersection{wxString::Find}\label{wxstringfind}
687 \membersection{wxString::First}\label{wxstringfirst}
693 \constfunc{int}{First}{\param{const wxString\&}{ str}}
700 \membersection{wxString::fn\_str}\label{wxstringfnstr}
720 \membersection{wxString::Format}\label{wxstringformat}
722 \func{static wxString}{Format}{\param{const wxChar }{*format}, \param{}{...}}
732 \membersection{wxString::FormatV}\label{wxstringformatv}
734 \func{static wxString}{FormatV}{\param{const wxChar }{*format}, \param{va\_list }{argptr}}
744 \membersection{wxString::Freq}\label{wxstringfreq}
752 \membersection{wxString::From8BitData}\label{wxstringfrom8bitdata}
754 \func{static wxString }{From8BitData}{\param{const char*}{ buf}, \param{size\_t}{len}}
756 \func{static wxString }{From8BitData}{\param{const char*}{ buf}}
758 Converts given buffer of binary data from 8-bit string to wxString. In Unicode
763 wxString. It should be used {\it only} for that purpose and only in
774 \membersection{wxString::FromAscii}\label{wxstringfromascii}
776 \func{static wxString }{FromAscii}{\param{const char*}{ s}}
778 \func{static wxString }{FromAscii}{\param{const char}{ c}}
781 to the native wxString representation. Most useful when using
783 Use \helpref{wxString constructors}{wxstringconstruct} if you
787 \membersection{wxString::FromUTF8}\label{wxstringfromutf8}
789 \func{static wxString }{FromUTF8}{\param{const char*}{ s}}
791 \func{static wxString }{FromUTF8}{\param{const char*}{ s}, \param{size\_t}{ len}}
793 Converts C string encoded in UTF-8 to wxString.
800 \membersection{wxString::GetChar}\label{wxstringgetchar}
807 \membersection{wxString::GetData}\label{wxstringgetdata}
814 \membersection{wxString::GetWritableChar}\label{wxstringgetwritablechar}
821 \membersection{wxString::GetWriteBuf}\label{wxstringgetwritebuf}
829 Call \helpref{wxString::UngetWriteBuf}{wxstringungetwritebuf} as soon as possible
833 \membersection{wxString::Index}\label{wxstringindex}
839 Same as \helpref{wxString::Find}{wxstringfind}.
844 \membersection{wxString::IsAscii}\label{wxstringisascii}
853 \membersection{wxString::IsEmpty}\label{wxstringisempty}
860 \membersection{wxString::IsNull}\label{wxstringisnull}
869 \membersection{wxString::IsNumber}\label{wxstringisnumber}
878 \membersection{wxString::IsSameAs}\label{wxstringissameas}
900 \membersection{wxString::IsWord}\label{wxstringisword}
909 \membersection{wxString::Last}\label{wxstringlast}
922 \membersection{wxString::Left}\label{wxstringleft}
924 \constfunc{wxString}{Left}{\param{size\_t}{ count}}
929 \membersection{wxString::Len}\label{wxstringlen}
936 \membersection{wxString::Length}\label{wxstringlength}
945 \membersection{wxString::Lower}\label{wxstringlower}
947 \constfunc{wxString}{Lower}{\void}
952 \membersection{wxString::LowerCase}\label{wxstringlowercase}
961 \membersection{wxString::MakeLower}\label{wxstringmakelower}
963 \func{wxString\&}{MakeLower}{\void}
968 \membersection{wxString::MakeUpper}\label{wxstringmakeupper}
970 \func{wxString\&}{MakeUpper}{\void}
975 \membersection{wxString::Matches}\label{wxstringmatches}
982 \membersection{wxString::mb\_str}\label{wxstringmbstr}
1001 \membersection{wxString::Mid}\label{wxstringmid}
1003 \constfunc{wxString}{Mid}{\param{size\_t}{ first}, \param{size\_t}{ count = wxSTRING\_MAXLEN}}
1009 \membersection{wxString::Pad}\label{wxstringpad}
1011 \func{wxString\&}{Pad}{\param{size\_t}{ count}, \param{wxChar}{ pad = ' '}, \param{bool}{ fromRight = true}}
1018 \membersection{wxString::Prepend}\label{wxstringprepend}
1020 \func{wxString\&}{Prepend}{\param{const wxString\&}{ str}}
1025 \membersection{wxString::Printf}\label{wxstringprintf}
1036 wxString str;
1051 \membersection{wxString::PrintfV}\label{wxstringprintfv}
1059 \membersection{wxString::Remove}\label{wxstringremove}
1061 \func{wxString\&}{Remove}{\param{size\_t}{ pos}}
1065 \func{wxString\&}{Remove}{\param{size\_t}{ pos}, \param{size\_t}{ len}}
1072 \membersection{wxString::RemoveLast}\label{wxstringremovelast}
1074 \func{wxString\&}{RemoveLast}{\void}
1079 \membersection{wxString::Replace}\label{wxstringreplace}
1090 \membersection{wxString::Right}\label{wxstringright}
1092 \constfunc{wxString}{Right}{\param{size\_t}{ count}}
1097 \membersection{wxString::SetChar}\label{wxstringsetchar}
1104 \membersection{wxString::Shrink}\label{wxstringshrink}
1112 \membersection{wxString::StartsWith}\label{wxstringstartswith}
1114 \constfunc{bool}{StartsWith}{\param{const wxChar }{*prefix}, \param{wxString }{*rest = NULL}}
1123 \membersection{wxString::EndsWith}\label{wxstringendswith}
1125 \constfunc{bool}{EndsWith}{\param{const wxChar }{*suffix}, \param{wxString }{*rest = NULL}}
1134 \membersection{wxString::Strip}\label{wxstringstrip}
1137 enum wxString::stripType {leading = 0x1, trailing = 0x2, both = 0x3};
1140 \constfunc{wxString}{Strip}{\param{stripType}{ s = trailing}}
1148 \membersection{wxString::SubString}\label{wxstringsubstring}
1150 \constfunc{wxString}{SubString}{\param{size\_t}{ from}, \param{size\_t}{ to}}
1159 \membersection{wxString::To8BitData}\label{wxstringto8bitdata}
1171 wxString. It should be used {\it only} for this purpose. It is only valid
1181 \membersection{wxString::ToAscii}\label{wxstringtoascii}
1192 powerful means of converting wxString to C string.
1195 \membersection{wxString::ToDouble}\label{wxstringtodouble}
1205 \helpref{wxString::ToLong}{wxstringtolong},\\
1206 \helpref{wxString::ToULong}{wxstringtoulong}
1209 \membersection{wxString::ToLong}\label{wxstringtolong}
1228 \helpref{wxString::ToDouble}{wxstringtodouble},\\
1229 \helpref{wxString::ToULong}{wxstringtoulong}
1232 \membersection{wxString::ToLongLong}\label{wxstringtolonglong}
1245 \helpref{wxString::ToLong}{wxstringtolong},\\
1246 \helpref{wxString::ToULongLong}{wxstringtoulonglong}
1249 \membersection{wxString::ToULong}\label{wxstringtoulong}
1261 See \helpref{wxString::ToLong}{wxstringtolong} for the more detailed
1266 \helpref{wxString::ToDouble}{wxstringtodouble},\\
1267 \helpref{wxString::ToLong}{wxstringtolong}
1270 \membersection{wxString::ToULongLong}\label{wxstringtoulonglong}
1280 \membersection{wxString::ToUTF8}\label{wxstringtoutf8}
1289 \membersection{wxString::Trim}\label{wxstringtrim}
1291 \func{wxString\&}{Trim}{\param{bool}{ fromRight = true}}
1297 \membersection{wxString::Truncate}\label{wxstringtruncate}
1299 \func{wxString\&}{Truncate}{\param{size\_t}{ len}}
1304 \membersection{wxString::UngetWriteBuf}\label{wxstringungetwritebuf}
1312 \rtfsp\helpref{wxString::GetWriteBuf}{wxstringgetwritebuf} was called.
1322 \membersection{wxString::Upper}\label{wxstringupper}
1324 \constfunc{wxString}{Upper}{\void}
1329 \membersection{wxString::UpperCase}\label{wxstringuppercase}
1338 \membersection{wxString::utf8\_str}\label{wxstringutf8str}
1348 \membersection{wxString::wc\_str}\label{wxstringwcstr}
1366 \membersection{wxString::wchar\_str}\label{wxstringwcharstr}
1385 \membersection{wxString::operator!}\label{wxstringoperatornot}
1392 to wxString.
1397 \membersection{wxString::operator $=$}\label{wxstringoperatorassign}
1399 \func{wxString\&}{operator $=$}{\param{const wxString\&}{ str}}
1401 \func{wxString\&}{operator $=$}{\param{const wxChar*}{ psz}}
1403 \func{wxString\&}{operator $=$}{\param{wxChar}{ c}}
1406 constructor (see \helpref{wxString constructors}{wxstringconstruct}).
1409 \membersection{wxString::operator $+$}\label{wxstringoperatorplus}
1414 \func{wxString}{operator $+$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1416 \func{wxString}{operator $+$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ y}}
1418 \func{wxString}{operator $+$}{\param{const wxString\&}{ x}, \param{wxChar}{ y}}
1420 \func{wxString}{operator $+$}{\param{const wxChar*}{ x}, \param{const wxString\&}{ y}}
1423 \membersection{wxString::operator $+=$}\label{wxstringplusequal}
1425 \func{void}{operator $+=$}{\param{const wxString\&}{ str}}
1434 \membersection{wxString::operator []}\label{wxstringoperatorbracket}
1447 \membersection{wxString::operator ()}\label{wxstringoperatorparenth}
1449 \func{wxString}{operator ()}{\param{size\_t}{ start}, \param{size\_t}{ len}}
1454 \membersection{wxString::operator \cinsert}\label{wxstringoperatorout}
1456 \func{wxString\&}{operator \cinsert}{\param{const wxString\&}{ str}}
1458 \func{wxString\&}{operator \cinsert}{\param{const wxChar*}{ psz}}
1460 \func{wxString\&}{operator \cinsert}{\param{wxChar }{ch}}
1464 \func{wxString\&}{operator \cinsert}{\param{int}{ i}}
1466 \func{wxString\&}{operator \cinsert}{\param{float}{ f}}
1468 \func{wxString\&}{operator \cinsert}{\param{double}{ d}}
1475 \membersection{wxString::operator \cextract}\label{wxstringoperatorin}
1477 \func{friend istream\&}{operator \cextract}{\param{istream\&}{ is}, \param{wxString\&}{ str}}
1482 \membersection{wxString::operator const wxChar*}\label{wxstringoperatorconstcharpt}
1491 \func{bool}{operator $==$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1493 \func{bool}{operator $==$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ t}}
1495 \func{bool}{operator $!=$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1497 \func{bool}{operator $!=$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ t}}
1499 \func{bool}{operator $>$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1501 \func{bool}{operator $>$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ t}}
1503 \func{bool}{operator $>=$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1505 \func{bool}{operator $>=$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ t}}
1507 \func{bool}{operator $<$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1509 \func{bool}{operator $<$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ t}}
1511 \func{bool}{operator $<=$}{\param{const wxString\&}{ x}, \param{const wxString\&}{ y}}
1513 \func{bool}{operator $<=$}{\param{const wxString\&}{ x}, \param{const wxChar*}{ t}}
1522 This tiny class allows to conveniently access the \helpref{wxString}{wxstring}
1531 wxString theAnswer;
1541 if wxUSE\_STL is disabled, it uses GetWriteBuf() from wxString, keeping the same buffer
1542 wxString uses intact. In other words, relying on wxStringBuffer containing the old
1543 wxString data is probably not a good idea if you want to build your program in both
1559 \func{}{wxStringBuffer}{\param{const wxString\& }{str}, \param{size\_t }{len}}
1586 This tiny class allows to conveniently access the \helpref{wxString}{wxstring}
1597 wxString theAnswer;
1609 if wxUSE\_STL is disabled, it uses GetWriteBuf() from wxString, keeping the same buffer
1610 wxString uses intact. In other words, relying on wxStringBuffer containing the old
1611 wxString data is probably not a good idea if you want to build your program in both
1629 \func{}{wxStringBufferLength}{\param{const wxString\& }{str}, \param{size\_t }{len}}