#include <lluistring.h>
Collaboration diagram for LLUIString:

| Public Member Functions | |
| LLUIString () | |
| LLUIString (const LLString &instring, const LLString::format_map_t &args) | |
| LLUIString (const LLString &instring) | |
| void | assign (const LLString &instring) | 
| LLUIString & | operator= (const LLString &s) | 
| void | setArgList (const LLString::format_map_t &args) | 
| void | setArg (const LLString &key, const LLString &replacement) | 
| const LLString & | getString () const | 
| operator LLString () const | |
| const LLWString & | getWString () const | 
| operator LLWString () const | |
| bool | empty () const | 
| S32 | length () const | 
| void | clear () | 
| void | clearArgs () | 
| void | truncate (S32 maxchars) | 
| void | erase (S32 charidx, S32 len) | 
| void | insert (S32 charidx, const LLWString &wchars) | 
| void | replace (S32 charidx, llwchar wc) | 
| Static Public Attributes | |
| static const LLString::format_map_t | sNullArgs | 
| Private Member Functions | |
| void | format () | 
| Private Attributes | |
| LLString | mOrig | 
| LLString | mResult | 
| LLWString | mWResult | 
| LLString::format_map_t | mArgs | 
Definition at line 67 of file lluistring.h.
| LLUIString::LLUIString | ( | ) |  [inline] | 
Definition at line 72 of file lluistring.h.
| LLUIString::LLUIString | ( | const LLString & | instring, | |
| const LLString::format_map_t & | args | |||
| ) | 
| LLUIString::LLUIString | ( | const LLString & | instring | ) |  [inline] | 
Definition at line 48 of file lluistring.cpp.
References format(), mOrig, and s.
Referenced by LLLineEditor::handleSpecialKey(), LLUIString(), operator=(), LLTextBox::setText(), and LLLineEditor::setText().
| void LLUIString::clear | ( | ) | 
Definition at line 93 of file lluistring.cpp.
References mOrig, mResult, and mWResult.
Referenced by LLPieMenuBranch::buildDrawLabel(), LLMenuItemBranchDownGL::buildDrawLabel(), LLMenuItemBranchGL::buildDrawLabel(), LLMenuItemToggleGL::buildDrawLabel(), LLMenuItemCheckGL::buildDrawLabel(), LLMenuItemGL::buildDrawLabel(), LLLineEditor::clear(), and LLMenuItemCheckGL::handleEvent().
| void LLUIString::clearArgs | ( | ) | 
| bool LLUIString::empty | ( | void | ) | const  [inline] | 
Definition at line 88 of file lluistring.h.
References mWResult.
Referenced by LLMenuItemGL::draw(), LLButton::draw(), and LLLineEditor::getXML().
Definition at line 75 of file lluistring.cpp.
References mResult, mWResult, and wstring_to_utf8str().
Referenced by LLLineEditor::addChar(), LLLineEditor::deleteSelection(), and LLLineEditor::removeChar().
| void LLUIString::format | ( | ) |  [private] | 
Definition at line 108 of file lluistring.cpp.
References LLStringBase< char >::format(), mArgs, mOrig, mResult, mWResult, and utf8str_to_wstring().
Referenced by assign(), LLUIString(), setArg(), and setArgList().
| const LLString& LLUIString::getString | ( | ) | const  [inline] | 
Definition at line 82 of file lluistring.h.
References mResult.
Referenced by LLLineEditor::addChar(), LLIMMgr::addSystemMessage(), LLMenuItemGL::buildDrawLabel(), LLMenuItemBranchDownGL::draw(), LLMenuItemGL::draw(), LLLineEditor::draw(), LLScrollListText::drawToWidth(), LLMenuGL::getLabel(), LLMenuItemGL::getLabel(), LLTextBox::getText(), LLScrollListText::getText(), LLLineEditor::getText(), LLLineEditor::getXML(), LLLineEditor::handleKeyHere(), LLLineEditor::handleSpecialKey(), LLLineEditor::isDirty(), notify_cautioned_script_question(), LLLineEditor::onFocusLost(), LLFloaterAnimPreview::postBuild(), LLPanelLandGeneral::refresh(), LLLineEditor::resetDirty(), LLPanelGroupVoting::impl::setEnableVoteProposal(), LLLineEditor::setText(), and LLColumnHeader::showList().
| const LLWString& LLUIString::getWString | ( | ) | const  [inline] | 
Definition at line 85 of file lluistring.h.
References mWResult.
Referenced by LLLineEditor::copy(), LLLineEditor::cut(), LLLineEditor::doDelete(), LLMenuItemBranchDownGL::draw(), LLMenuItemGL::draw(), LLLineEditor::draw(), LLTextBox::drawText(), LLScrollListText::drawToWidth(), LLLineEditor::findPixelNearestPos(), LLMenuItemBranchDownGL::getNominalWidth(), LLMenuItemGL::getNominalWidth(), LLTextBox::getTextPixelWidth(), LLLineEditor::getWText(), LLLineEditor::handleDoubleClick(), LLLineEditor::handleKeyHere(), LLLineEditor::handleUnicodeCharHere(), LLLineEditor::nextWordPos(), LLLineEditor::paste(), LLLineEditor::prevWordPos(), LLLineEditor::setCursor(), LLLineEditor::setCursorAtLocalPos(), and LLTextBox::setLineLengths().
Definition at line 81 of file lluistring.cpp.
References mResult, mWResult, and wstring_to_utf8str().
Referenced by LLLineEditor::addChar(), and LLLineEditor::paste().
| S32 LLUIString::length | ( | ) | const  [inline] | 
Definition at line 89 of file lluistring.h.
References mWResult.
Referenced by LLLineEditor::addChar(), LLLineEditor::canDoDelete(), LLLineEditor::doDelete(), LLLineEditor::draw(), LLScrollListText::drawToWidth(), LLLineEditor::getLength(), LLLineEditor::handleDoubleClick(), LLLineEditor::handleHover(), LLLineEditor::handleSelectionKey(), LLLineEditor::handleSpecialKey(), LLLineEditor::LLLineEditor(), LLLineEditor::paste(), LLLineEditor::selectAll(), LLLineEditor::setCursor(), LLLineEditor::setCursorAtLocalPos(), LLLineEditor::setCursorToEnd(), LLLineEditor::setSelection(), LLLineEditor::setText(), and LLLineEditor::updateHistory().
| LLUIString::operator LLString | ( | ) | const  [inline] | 
| LLUIString::operator LLWString | ( | ) | const  [inline] | 
| LLUIString& LLUIString::operator= | ( | const LLString & | s | ) |  [inline] | 
Definition at line 87 of file lluistring.cpp.
References mResult, mWResult, and wstring_to_utf8str().
Definition at line 60 of file lluistring.cpp.
References format(), and mArgs.
Referenced by LLFloaterBump::add(), LLFloaterNewIM::addAgent(), LLFloaterIMPanel::addTypingIndicator(), LLCurrencyUIManager::buy(), LLFloaterIMPanel::init(), LLFloaterAbout::LLFloaterAbout(), LLIMMgr::noteOfflineUsers(), notify_cautioned_script_question(), LLScriptEdCore::onHelpComboCommit(), LLPanelDisplay::postBuild(), LLFloaterLandHoldings::postBuild(), LLFloaterAnimPreview::postBuild(), LLPanelPlace::processParcelInfoReply(), LLPanelLandGeneral::refresh(), LLPanelGroupVoting::impl::setEnableVoteProposal(), LLScriptEdCore::setHelpPage(), LLMenuItemGL::setLabelArg(), LLLineEditor::setLabelArg(), LLButton::setLabelArg(), LLTextBox::setTextArg(), LLLineEditor::setTextArg(), LLFloaterBuy::show(), LLFloaterJoystick::show(), and LLColumnHeader::showList().
| void LLUIString::setArgList | ( | const LLString::format_map_t & | args | ) | 
Definition at line 54 of file lluistring.cpp.
References format(), and mArgs.
Referenced by LLIMMgr::addSystemMessage().
Definition at line 66 of file lluistring.cpp.
References mResult, mWResult, LLStringBase< T >::truncate(), and wstring_to_utf8str().
Referenced by LLLineEditor::setText().
| LLString::format_map_t LLUIString::mArgs  [private] | 
Definition at line 109 of file lluistring.h.
Referenced by clearArgs(), format(), setArg(), and setArgList().
| LLString LLUIString::mOrig  [private] | 
| LLString LLUIString::mResult  [private] | 
Definition at line 107 of file lluistring.h.
Referenced by clear(), erase(), format(), getString(), insert(), operator LLString(), replace(), and truncate().
| LLWString LLUIString::mWResult  [private] | 
Definition at line 108 of file lluistring.h.
Referenced by clear(), empty(), erase(), format(), getWString(), insert(), length(), operator LLWString(), replace(), and truncate().
| const LLString::format_map_t LLUIString::sNullArgs  [static] | 
Definition at line 101 of file lluistring.h.
 1.4.7
 1.4.7