#include <llurlsimstring.h>

Public Types | |
| enum | { NOT_SET = 0, NOT_PARSED = 1, PARSE_OK = 2, PARSE_FAIL = -1 } |
Public Member Functions | |
| LLURLSimString () | |
Static Public Member Functions | |
| static void | setString (const LLString &url) |
| static bool | parse () |
| static bool | parse (const LLString &sim_string, std::string *region_name, S32 *x, S32 *y, S32 *z) |
| static std::string | getURL () |
| static std::string | unescapeRegionName (std::string region_name) |
Public Attributes | |
| LLString | mSimString |
| LLString | mSimName |
| S32 | mX |
| S32 | mY |
| S32 | mZ |
| S32 | mParseState |
Static Public Attributes | |
| static LLURLSimString | sInstance |
| static LLString | sLocationStringHome |
| static LLString | sLocationStringLast |
Static Private Member Functions | |
| static S32 | parseGridIdx (const LLString &in_string, S32 idx0, S32 *res) |
Definition at line 37 of file llurlsimstring.h.
| anonymous enum |
| LLURLSimString::LLURLSimString | ( | ) | [inline] |
Definition at line 64 of file llurlsimstring.h.
| void LLURLSimString::setString | ( | const LLString & | url | ) | [static] |
Definition at line 50 of file llurlsimstring.cpp.
References FALSE, gSavedSettings, mParseState, mSimName, mSimString, NOT_PARSED, LLControlGroup::setBOOL(), sInstance, sLocationStringHome, sLocationStringLast, and TRUE.
Referenced by LLPanelGeneral::cancel(), LLURLDispatcherImpl::dispatchRegion(), idle_startup(), LLAppViewer::initConfiguration(), login_alert_status(), LLLoginHandler::parse(), LLPanelGeneral::set_specific_start_location(), and LLPanelGeneral::set_start_location().


| bool LLURLSimString::parse | ( | ) | [static] |
Definition at line 96 of file llurlsimstring.cpp.
References mParseState, mSimName, mSimString, mX, mY, mZ, NOT_PARSED, NOT_SET, PARSE_FAIL, PARSE_OK, and sInstance.
Referenced by LLURLDispatcherImpl::dispatchRegion(), LLStartUp::dispatchURL(), idle_startup(), LLAppViewer::initConfiguration(), LLPanelLogin::loadLoginPage(), LLPanelLogin::refreshLocation(), LLURLDispatcherImpl::regionHandleCallback(), and LLURLDispatcherImpl::regionNameCallback().

| bool LLURLSimString::parse | ( | const LLString & | sim_string, | |
| std::string * | region_name, | |||
| S32 * | x, | |||
| S32 * | y, | |||
| S32 * | z | |||
| ) | [static] |
Definition at line 121 of file llurlsimstring.cpp.
References parseGridIdx(), and unescapeRegionName().

| std::string LLURLSimString::getURL | ( | ) | [static] |
Definition at line 148 of file llurlsimstring.cpp.
References llformat(), mParseState, mSimName, mX, mY, mZ, PARSE_OK, and sInstance.
Referenced by LLStartUp::dispatchURL(), and LLAppViewer::initConfiguration().


| std::string LLURLSimString::unescapeRegionName | ( | std::string | region_name | ) | [static] |
Definition at line 163 of file llurlsimstring.cpp.
Referenced by LLTeleportHandler::handle(), and parse().

| S32 LLURLSimString::parseGridIdx | ( | const LLString & | in_string, | |
| S32 | idx0, | |||
| S32 * | res | |||
| ) | [static, private] |
Definition at line 76 of file llurlsimstring.cpp.
References S32.
Referenced by parse().

LLURLSimString LLURLSimString::sInstance [static] |
Definition at line 70 of file llurlsimstring.h.
Referenced by LLStartUp::dispatchURL(), getURL(), idle_startup(), LLPanelLogin::LLPanelLogin(), LLPanelLogin::loadLoginPage(), parse(), LLPanelGeneral::postBuild(), LLPanelGeneral::refresh(), LLPanelLogin::refreshLocation(), setString(), and update_dialog_callback().
Definition at line 71 of file llurlsimstring.h.
Referenced by login_alert_status(), and setString().
Definition at line 75 of file llurlsimstring.h.
Referenced by LLPanelLogin::LLPanelLogin(), parse(), and setString().
Definition at line 76 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), LLPanelLogin::loadLoginPage(), parse(), and setString().
Definition at line 77 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), LLPanelLogin::loadLoginPage(), and parse().
Definition at line 77 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), LLPanelLogin::loadLoginPage(), and parse().
Definition at line 77 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), LLPanelLogin::loadLoginPage(), and parse().
1.5.5