MCPcopy Create free account
hub / github.com/MyGUI/mygui / getItemDataAt

Function getItemDataAt

MyGUIEngine/include/MyGUI_TabControl.h:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 //! Get item data from specified position
136 template<typename ValueType>
137 ValueType* getItemDataAt(size_t _index, bool _throw = true)
138 {
139 MYGUI_ASSERT_RANGE(_index, mItemsInfo.size(), "TabControl::getItemDataAt");
140 return mItemsInfo[_index].data.castType<ValueType>(_throw);
141 }
142 //! Get item data
143 template<typename ValueType>
144 ValueType* getItemData(TabItem* _item, bool _throw = true)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected