Mir
Public Types | Public Member Functions | Public Attributes | List of all members
mir::geometry::generic::Size< T > Struct Template Reference

#include <size_generic.h>

Inheritance diagram for mir::geometry::generic::Size< T >:
[legend]

Public Types

template<typename Tag >
using Corresponding = T< Tag >
 
using PointType = Point< T >
 
using DisplacementType = Displacement< T >
 

Public Member Functions

constexpr Size () noexcept
 
constexpr Size (Size const &) noexcept=default
 
Sizeoperator= (Size const &) noexcept=default
 
template<typename S , typename std::enable_if< std::is_base_of< detail::SizeBase, S >::value, bool >::type = true>
constexpr Size (S const &other) noexcept
 
template<typename WidthType , typename HeightType >
constexpr Size (WidthType &&width, HeightType &&height) noexcept
 

Public Attributes

T< WidthTagwidth
 
T< HeightTagheight
 

Member Typedef Documentation

◆ Corresponding

template<template< typename > typename T>
template<typename Tag >
using mir::geometry::generic::Size< T >::Corresponding = T<Tag>

◆ DisplacementType

template<template< typename > typename T>
using mir::geometry::generic::Size< T >::DisplacementType = Displacement<T>

◆ PointType

template<template< typename > typename T>
using mir::geometry::generic::Size< T >::PointType = Point<T>

Constructor & Destructor Documentation

◆ Size() [1/4]

template<template< typename > typename T>
constexpr mir::geometry::generic::Size< T >::Size ( )
inlineconstexprnoexcept

◆ Size() [2/4]

template<template< typename > typename T>
constexpr mir::geometry::generic::Size< T >::Size ( Size< T > const &  )
constexprdefaultnoexcept

◆ Size() [3/4]

template<template< typename > typename T>
template<typename S , typename std::enable_if< std::is_base_of< detail::SizeBase, S >::value, bool >::type = true>
constexpr mir::geometry::generic::Size< T >::Size ( S const &  other)
inlineexplicitconstexprnoexcept

◆ Size() [4/4]

template<template< typename > typename T>
template<typename WidthType , typename HeightType >
constexpr mir::geometry::generic::Size< T >::Size ( WidthType &&  width,
HeightType &&  height 
)
inlineconstexprnoexcept

Member Function Documentation

◆ operator=()

template<template< typename > typename T>
Size& mir::geometry::generic::Size< T >::operator= ( Size< T > const &  )
defaultnoexcept

Member Data Documentation

◆ height

template<template< typename > typename T>
T<HeightTag> mir::geometry::generic::Size< T >::height

◆ width

template<template< typename > typename T>
T<WidthTag> mir::geometry::generic::Size< T >::width

The documentation for this struct was generated from the following files:

Copyright © 2012-2022 Canonical Ltd.
Generated on śro, 1 cze 2022, 16:52:55 UTC
This documentation is licensed under the GPL version 2 or 3.