Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QHVContainer< T > Class Template Reference

#include <qgridlayoutengine_p.h>

+ Collaboration diagram for QHVContainer< T >:

Public Member Functions

constexpr QHVContainer (const T &h, const T &v) noexcept(std::is_nothrow_copy_constructible_v< T >)
 
 QHVContainer ()=default
 
constexpr T & operator[] (Qt::Orientation o) noexcept
 
constexpr const T & operator[] (Qt::Orientation o) const noexcept
 
constexpr T & other (Qt::Orientation o) noexcept
 
constexpr const T & other (Qt::Orientation o) const noexcept
 
constexpr void transpose () noexcept
 
constexpr QHVContainer transposed () const noexcept(std::is_nothrow_copy_constructible_v< T >)
 

Detailed Description

template<typename T>
class QHVContainer< T >

Definition at line 71 of file qgridlayoutengine_p.h.

Constructor & Destructor Documentation

◆ QHVContainer() [1/2]

template<typename T >
constexpr QHVContainer< T >::QHVContainer ( const T & h,
const T & v )
inlineconstexprnoexcept

Definition at line 85 of file qgridlayoutengine_p.h.

References m_data.

◆ QHVContainer() [2/2]

template<typename T >
QHVContainer< T >::QHVContainer ( )
default

Member Function Documentation

◆ operator[]() [1/2]

template<typename T >
constexpr const T & QHVContainer< T >::operator[] ( Qt::Orientation o) const
inlineconstexprnoexcept

Definition at line 91 of file qgridlayoutengine_p.h.

References map, and o.

◆ operator[]() [2/2]

template<typename T >
constexpr T & QHVContainer< T >::operator[] ( Qt::Orientation o)
inlineconstexprnoexcept

Definition at line 90 of file qgridlayoutengine_p.h.

References map, and o.

◆ other() [1/2]

template<typename T >
constexpr const T & QHVContainer< T >::other ( Qt::Orientation o) const
inlineconstexprnoexcept

Definition at line 94 of file qgridlayoutengine_p.h.

References o.

◆ other() [2/2]

template<typename T >
constexpr T & QHVContainer< T >::other ( Qt::Orientation o)
inlineconstexprnoexcept

Definition at line 93 of file qgridlayoutengine_p.h.

References o.

◆ transpose()

template<typename T >
constexpr void QHVContainer< T >::transpose ( )
inlineconstexprnoexcept

Definition at line 96 of file qgridlayoutengine_p.h.

References qSwap().

Referenced by QGridLayoutItem::transpose(), and QGridLayoutEngine::transpose().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ transposed()

template<typename T >
constexpr QHVContainer QHVContainer< T >::transposed ( ) const
inlineconstexprnoexcept

Definition at line 97 of file qgridlayoutengine_p.h.

Referenced by QGridLayoutEngine::columnCount(), QGridLayoutItem::columnSpan(), and QGridLayoutItem::firstColumn().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: