#include <llview.h>


Public Types | |
| typedef LLView *(* | factory_func_t )(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
| typedef std::map< LLString, factory_func_t > | factory_map_t |
Public Member Functions | |
| void | registerCtrl (const LLString &xml_tag, factory_func_t function) |
| BOOL | isTagRegistered (const LLString &xml_tag) |
| factory_func_t | getCreatorFunc (const LLString &xml_tag) |
| template<class T> | |
| std::string | getTag () |
Private Types | |
| typedef std::set< LLString > | ctrl_name_set_t |
Private Member Functions | |
| LLWidgetClassRegistry () | |
| virtual | ~LLWidgetClassRegistry () |
Private Attributes | |
| ctrl_name_set_t | mUICtrlNames |
| factory_map_t | mCreatorFunctions |
Friends | |
| class | LLSingleton< LLWidgetClassRegistry > |
Definition at line 152 of file llview.h.
| typedef LLView*(* LLWidgetClassRegistry::factory_func_t)(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
| typedef std::map<LLString, factory_func_t> LLWidgetClassRegistry::factory_map_t |
typedef std::set<LLString> LLWidgetClassRegistry::ctrl_name_set_t [private] |
| LLWidgetClassRegistry::LLWidgetClassRegistry | ( | ) | [private] |
Definition at line 2911 of file llview.cpp.
| virtual LLWidgetClassRegistry::~LLWidgetClassRegistry | ( | ) | [inline, private, virtual] |
| void LLWidgetClassRegistry::registerCtrl | ( | const LLString & | xml_tag, | |
| LLWidgetClassRegistry::factory_func_t | function | |||
| ) |
Definition at line 2915 of file llview.cpp.
References mCreatorFunctions, and LLStringBase< char >::toLower().
Referenced by LLRegisterWidget< T >::LLRegisterWidget().


Definition at line 2923 of file llview.cpp.
References mCreatorFunctions.
Referenced by LLRegisterWidget< T >::LLRegisterWidget().

| LLWidgetClassRegistry::factory_func_t LLWidgetClassRegistry::getCreatorFunc | ( | const LLString & | xml_tag | ) |
Definition at line 2928 of file llview.cpp.
References mCreatorFunctions, and NULL.
Referenced by LLUICtrlFactory::createCtrlWidget().

| std::string LLWidgetClassRegistry::getTag | ( | ) | [inline] |
Definition at line 164 of file llview.h.
References mCreatorFunctions.
Referenced by LLView::createDummyWidget().

friend class LLSingleton< LLWidgetClassRegistry > [friend] |
Definition at line 186 of file llview.h.
Referenced by getCreatorFunc(), getTag(), isTagRegistered(), and registerCtrl().
1.5.5