KDDockWidgets API Documentation 2.1
|
#include <KDStlContainerAdaptor.h>
Public Types | |
using | base_container = std::vector< T, Args... > |
using | base_size_type = typename base_container::size_type |
using | size_type = int |
using | value_type = typename base_container::value_type |
Public Member Functions | |
StdVectorAdaptor ()=default | |
StdVectorAdaptor (const StdVectorAdaptor &)=default | |
StdVectorAdaptor (size_type count) | |
StdVectorAdaptor (size_type count, const value_type &v) | |
StdVectorAdaptor (StdVectorAdaptor &&)=default | |
~StdVectorAdaptor ()=default | |
void | append (const StdVectorAdaptor &other) |
void | append (const value_type &v) |
void | append (value_type &&v) |
StdVectorAdaptor & | assignFrom (const StdVectorAdaptor &other) |
StdVectorAdaptor & | assignFrom (StdVectorAdaptor &&other) |
decltype(auto) | at (size_type i) const |
decltype(auto) | capacity () const |
StdVectorAdaptor | clone () const |
decltype(auto) | constBegin () const |
decltype(auto) | constData () const |
decltype(auto) | constEnd () const |
decltype(auto) | constFirst () const |
decltype(auto) | constLast () const |
template<typename AT > | |
bool | contains (const AT &v) const |
decltype(auto) | count () const |
template<typename AT > | |
bool | endsWith (const AT &v) const |
StdVectorAdaptor & | fill (const value_type &v, size_type i=-1) |
decltype(auto) | first () |
decltype(auto) | first () const |
template<typename AT > | |
size_type | indexOf (const AT &v, size_type from=0) const |
decltype(auto) | insert (size_type position, const value_type &v) |
decltype(auto) | insert (size_type position, value_type &&v) |
decltype(auto) | isEmpty () const |
decltype(auto) | last () |
decltype(auto) | last () const |
template<typename AT > | |
size_type | lastIndexOf (const AT &v, size_type from=-1) const |
decltype(auto) | length () const |
StdVectorAdaptor | mid (size_type pos, size_type len=-1) |
void | move (size_type from, size_type to) |
template<typename AT > | |
decltype(auto) | operator+ (const StdVectorAdaptor< AT > &rhs) |
decltype(auto) | operator+= (const StdVectorAdaptor &other) |
template<typename AT > | |
decltype(auto) | operator<< (const StdVectorAdaptor< AT > &rhs) |
template<typename AT > | |
decltype(auto) | operator<< (const typename StdVectorAdaptor< AT >::value_type &v) |
template<typename AT > | |
decltype(auto) | operator<< (typename StdVectorAdaptor< AT >::value_type &&v) |
StdVectorAdaptor & | operator= (const StdVectorAdaptor &)=default |
StdVectorAdaptor & | operator= (StdVectorAdaptor &&)=default |
decltype(auto) | operator[] (size_type i) |
decltype(auto) | operator[] (size_type i) const |
void | prepend (const value_type &v) |
void | prepend (value_type &&v) |
void | remove (size_type position) |
void | remove (size_type position, size_type count) |
template<typename AT > | |
decltype(auto) | removeAll (const AT &v) |
void | removeAt (size_type position) |
void | removeFirst () |
void | removeLast () |
template<typename AT > | |
bool | removeOne (const AT &v) |
void | replace (size_type pos, const value_type &v) |
void | reserve (size_type s) |
decltype(auto) | size () const |
void | squeeze () |
template<typename AT > | |
bool | startsWith (const AT &v) const |
void | swapItemsAt (size_type i, size_type j) |
decltype(auto) | takeAt (size_type i) |
decltype(auto) | takeFirst () |
decltype(auto) | takeLast () |
auto | value (size_type i) const |
auto | value (size_type i, const T &defaultValue) const |
Definition at line 42 of file KDStlContainerAdaptor.h.
using KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::base_container = std::vector<T, Args...> |
Definition at line 44 of file KDStlContainerAdaptor.h.
using KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::base_size_type = typename base_container::size_type |
Definition at line 45 of file KDStlContainerAdaptor.h.
using KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size_type = int |
Definition at line 46 of file KDStlContainerAdaptor.h.
using KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::value_type = typename base_container::value_type |
Definition at line 47 of file KDStlContainerAdaptor.h.
|
default |
|
inlineexplicit |
Definition at line 54 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 58 of file KDStlContainerAdaptor.h.
|
default |
|
default |
|
default |
|
inline |
|
inline |
Definition at line 187 of file KDStlContainerAdaptor.h.
Referenced by KDDockWidgets::flutter::View::childViews(), KDDockWidgets::Core::TitleBar::dockWidgets(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::operator+=(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::operator<<().
|
inline |
Definition at line 191 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 79 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 83 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 103 of file KDStlContainerAdaptor.h.
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::replace(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::swapItemsAt(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::value(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::value().
|
inline |
Definition at line 172 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 74 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 89 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 99 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 93 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 137 of file KDStlContainerAdaptor.h.
Referenced by KDDockWidgets::Core::FloatingWindow::affinities(), KDDockWidgets::Core::FloatingWindow::dragRect(), KDDockWidgets::Core::FloatingWindow::focus(), KDDockWidgets::Core::TitleBar::onFloatClicked(), and KDDockWidgets::Core::FloatingWindow::updateTitleAndIcon().
|
inline |
Definition at line 150 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 289 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::indexOf().
Referenced by KDDockWidgets::DockRegistry::dockWidgets(), KDDockWidgets::DockRegistry::mainWindows(), and KDDockWidgets::LayoutSaver::setAffinityNames().
|
inline |
Definition at line 164 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::remove().
|
inline |
Definition at line 338 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 345 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
|
inline |
Definition at line 129 of file KDStlContainerAdaptor.h.
Referenced by hackFindParentHarder(), KDDockWidgets::Core::FloatingWindow::hasSingleDockWidget(), KDDockWidgets::Core::FloatingWindow::singleDockWidget(), KDDockWidgets::Core::TitleBar::singleDockWidget(), KDDockWidgets::Core::FloatingWindow::singleFrame(), and KDDockWidgets::Core::FloatingWindow::updateTitleBarVisibility().
|
inline |
Definition at line 133 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 295 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::contains().
|
inline |
Definition at line 214 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::insert().
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::append(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::insert(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::insert(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::operator+(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::prepend(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::prepend().
|
inline |
Definition at line 218 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::insert().
|
inline |
Definition at line 156 of file KDStlContainerAdaptor.h.
Referenced by KDDockWidgets::Core::FloatingWindow::affinities(), KDDockWidgets::DockRegistry::affinitiesMatch(), KDDockWidgets::Core::FloatingWindow::focus(), hackFindParentHarder(), KDDockWidgets::Core::TitleBar::onFloatClicked(), KDDockWidgets::Core::Group::serialize(), KDDockWidgets::Core::TitleBar::singleDockWidget(), KDDockWidgets::Core::FloatingWindow::singleFrame(), and KDDockWidgets::to_json().
|
inline |
Definition at line 142 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 146 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 311 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
|
inline |
Definition at line 168 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
|
inline |
Definition at line 353 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::StdVectorAdaptor(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
|
inline |
Definition at line 366 of file KDStlContainerAdaptor.h.
|
inline |
|
inline |
Definition at line 417 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::append().
|
inline |
Definition at line 401 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::append().
|
inline |
Definition at line 388 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 394 of file KDStlContainerAdaptor.h.
|
default |
|
default |
|
inline |
Definition at line 107 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 111 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 204 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::insert().
|
inline |
Definition at line 208 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::insert().
|
inline |
Definition at line 233 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 237 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::count().
|
inline |
Definition at line 248 of file KDStlContainerAdaptor.h.
Referenced by KDDockWidgets::Core::DockWidget::setAffinities().
|
inline |
Definition at line 242 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 225 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 229 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 259 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 375 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::at().
|
inline |
Definition at line 176 of file KDStlContainerAdaptor.h.
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::append(), KDDockWidgets::flutter::View::childViews(), KDDockWidgets::DockRegistry::closedDockwidgets(), KDDockWidgets::DockRegistry::dockWidgetNames(), KDDockWidgets::DockRegistry::dockWidgets(), KDDockWidgets::DockRegistry::floatingQWindows(), KDDockWidgets::DockRegistry::floatingWindows(), KDDockWidgets::Core::Layout::groups(), KDDockWidgets::DockRegistry::mainWindows(), KDDockWidgets::DockRegistry::mainWindowsNames(), KDDockWidgets::DockRegistry::mainWindowsWithAffinity(), KDDockWidgets::LayoutSaver::openedDockWidgetsInLayout(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::operator+(), KDDockWidgets::LayoutSaver::restoredDockWidgets(), KDDockWidgets::Core::SideBar::serialize(), and KDDockWidgets::LayoutSaver::sideBarDockWidgetsInLayout().
|
inline |
Definition at line 160 of file KDStlContainerAdaptor.h.
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::append(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::count(), KDDockWidgets::DockRegistry::dockWidgets(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::fill(), hackFindParentHarder(), KDDockWidgets::Core::FloatingWindow::hasSingleDockWidget(), KDDockWidgets::Core::DropArea::hasSingleFloatingGroup(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::indexOf(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::lastIndexOf(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::length(), KDDockWidgets::DockRegistry::mainWindows(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::mid(), KDDockWidgets::Core::TitleBar::onFloatClicked(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::operator+(), KDDockWidgets::LayoutSaver::restoredDockWidgets(), KDDockWidgets::LayoutSaver::serializeLayout(), KDDockWidgets::Core::FloatingWindow::singleDockWidget(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::takeLast(), KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::value(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::value().
|
inline |
Definition at line 180 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 332 of file KDStlContainerAdaptor.h.
|
inline |
Definition at line 380 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::at().
|
inline |
Definition at line 270 of file KDStlContainerAdaptor.h.
Referenced by KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::takeFirst(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::takeLast().
|
inline |
Definition at line 281 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::takeAt().
|
inline |
Definition at line 277 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::takeAt().
|
inline |
Definition at line 122 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::at(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().
|
inline |
Definition at line 116 of file KDStlContainerAdaptor.h.
References KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::at(), and KDToolBox::StlContainerAdaptor::StdVectorAdaptor< T, Args >::size().