#include <llurlwhitelist.h>

Public Member Functions | |
| virtual | ~LLUrlWhiteList () |
| bool | load () |
| bool | save () |
| bool | clear () |
| bool | addItem (const LLString &itemIn, bool saveAfterAdd) |
| bool | containsMatch (const LLString &patternIn) |
| bool | getFirst (LLString &valueOut) |
| bool | getNext (LLString &valueOut) |
Static Public Member Functions | |
| static void | initClass () |
| static void | cleanupClass () |
| static LLUrlWhiteList * | getInstance () |
Private Types | |
| typedef std::vector< LLString > | string_list_t |
Private Member Functions | |
| LLUrlWhiteList () | |
Private Attributes | |
| bool | mLoaded |
| const LLString | mFilename |
| string_list_t | mUrlList |
| U32 | mCurIndex |
Static Private Attributes | |
| static LLUrlWhiteList * | sInstance = 0 |
Definition at line 38 of file llurlwhitelist.h.
typedef std::vector< LLString > LLUrlWhiteList::string_list_t [private] |
Definition at line 62 of file llurlwhitelist.h.
| LLUrlWhiteList::~LLUrlWhiteList | ( | ) | [virtual] |
Definition at line 53 of file llurlwhitelist.cpp.
| LLUrlWhiteList::LLUrlWhiteList | ( | ) | [private] |
Definition at line 43 of file llurlwhitelist.cpp.
Referenced by initClass().

| void LLUrlWhiteList::initClass | ( | void | ) | [static] |
Definition at line 60 of file llurlwhitelist.cpp.
References LLUrlWhiteList(), and sInstance.

| void LLUrlWhiteList::cleanupClass | ( | ) | [static] |
| LLUrlWhiteList * LLUrlWhiteList::getInstance | ( | ) | [static] |
| bool LLUrlWhiteList::load | ( | ) |
Definition at line 82 of file llurlwhitelist.cpp.
References addItem(), clear(), gDirUtilp, LLDir::getExpandedFilename(), LL_PATH_PER_SL_ACCOUNT, llifstream, mFilename, and mLoaded.

| bool LLUrlWhiteList::save | ( | ) |
Definition at line 118 of file llurlwhitelist.cpp.
References gDirUtilp, LLDir::getExpandedFilename(), LL_PATH_PER_SL_ACCOUNT, llofstream, mFilename, and mUrlList.
Referenced by addItem().


| bool LLUrlWhiteList::clear | ( | void | ) |
Definition at line 143 of file llurlwhitelist.cpp.
References mCurIndex, and mUrlList.
Referenced by load().

| bool LLUrlWhiteList::addItem | ( | const LLString & | itemIn, | |
| bool | saveAfterAdd | |||
| ) |
Definition at line 177 of file llurlwhitelist.cpp.
References mUrlList, save(), and url_cleanup().
Referenced by load().


| bool LLUrlWhiteList::containsMatch | ( | const LLString & | patternIn | ) |
Definition at line 217 of file llurlwhitelist.cpp.
| bool LLUrlWhiteList::getFirst | ( | LLString & | valueOut | ) |
| bool LLUrlWhiteList::getNext | ( | LLString & | valueOut | ) |
LLUrlWhiteList * LLUrlWhiteList::sInstance = 0 [static, private] |
Definition at line 60 of file llurlwhitelist.h.
Referenced by cleanupClass(), getInstance(), and initClass().
bool LLUrlWhiteList::mLoaded [private] |
const LLString LLUrlWhiteList::mFilename [private] |
string_list_t LLUrlWhiteList::mUrlList [private] |
Definition at line 66 of file llurlwhitelist.h.
Referenced by addItem(), clear(), getFirst(), getNext(), and save().
U32 LLUrlWhiteList::mCurIndex [private] |
1.5.5