#include <llurlsimstring.h>
Collaboration diagram for LLURLSimString:

Public Types | |
| NOT_SET = 0 | |
| NOT_PARSED = 1 | |
| PARSE_OK = 2 | |
| PARSE_FAIL = -1 | |
| 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, S32 max) |
Definition at line 37 of file llurlsimstring.h.
| anonymous enum |
| LLURLSimString::LLURLSimString | ( | ) | [inline] |
Definition at line 64 of file llurlsimstring.h.
| std::string LLURLSimString::getURL | ( | ) | [static] |
Definition at line 149 of file llurlsimstring.cpp.
References llformat(), mParseState, mSimName, mX, mY, mZ, PARSE_OK, and sInstance.
Referenced by LLStartUp::dispatchURL(), and main().
| bool LLURLSimString::parse | ( | const LLString & | sim_string, | |
| std::string * | region_name, | |||
| S32 * | x, | |||
| S32 * | y, | |||
| S32 * | z | |||
| ) | [static] |
Definition at line 122 of file llurlsimstring.cpp.
References parseGridIdx(), and unescapeRegionName().
| bool LLURLSimString::parse | ( | ) | [static] |
Definition at line 97 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(), main(), and LLURLDispatcherImpl::regionHandleCallback().
| S32 LLURLSimString::parseGridIdx | ( | const LLString & | in_string, | |
| S32 | idx0, | |||
| S32 * | res, | |||
| S32 | max | |||
| ) | [static, private] |
Definition at line 77 of file llurlsimstring.cpp.
References llclamp(), and S32.
Referenced by parse().
Definition at line 50 of file llurlsimstring.cpp.
References FALSE, gSavedSettings, mParseState, mSimName, mSimString, NOT_PARSED, LLPanelLogin::refreshLocation(), LLControlGroup::setBOOL(), sInstance, sLocationStringHome, sLocationStringLast, and TRUE.
Referenced by LLPanelGeneral::cancel(), LLURLDispatcherImpl::dispatchRegion(), idle_startup(), main(), and LLPanelGeneral::set_start_location().
| std::string LLURLSimString::unescapeRegionName | ( | std::string | region_name | ) | [static] |
Definition at line 164 of file llurlsimstring.cpp.
Referenced by LLTeleportHandler::handle(), and parse().
Definition at line 76 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), parse(), and setString().
Definition at line 75 of file llurlsimstring.h.
Referenced by LLPanelLogin::LLPanelLogin(), parse(), LLPanelGeneral::postBuild(), LLPanelLogin::refreshLocation(), setString(), and update_dialog_callback().
Definition at line 77 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), and parse().
Definition at line 77 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), and parse().
Definition at line 77 of file llurlsimstring.h.
Referenced by getURL(), idle_startup(), and parse().
LLURLSimString LLURLSimString::sInstance [static] |
Definition at line 70 of file llurlsimstring.h.
Referenced by LLStartUp::dispatchURL(), getURL(), idle_startup(), LLPanelLogin::LLPanelLogin(), parse(), LLPanelGeneral::postBuild(), LLPanelGeneral::refresh(), LLPanelLogin::refreshLocation(), setString(), and update_dialog_callback().
1.4.7