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

Function getItemDataAt

MyGUIEngine/include/MyGUI_ListBox.h:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 //! Get item data from specified position
93 template<typename ValueType>
94 ValueType* getItemDataAt(size_t _index, bool _throw = true) const
95 {
96 MYGUI_ASSERT_RANGE(_index, mItemsInfo.size(), "ListBox::getItemDataAt");
97 return mItemsInfo.at(_index).second.castType<ValueType>(_throw);
98 }
99 //@}
100
101 //------------------------------------------------------------------------------//

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected