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

#include <point_generic.h>

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

Public Types

template<typename Tag >
using Corresponding = T< Tag >
 
using SizeType = Size< T >
 
using DisplacementType = Displacement< T >
 

Public Member Functions

constexpr Point ()=default
 
constexpr Point (Point const &)=default
 
Pointoperator= (Point const &)=default
 
template<typename P , typename std::enable_if< std::is_base_of< detail::PointBase, P >::value, bool >::type = true>
constexpr Point (P const &other) noexcept
 
template<typename XType , typename YType >
constexpr Point (XType &&x, YType &&y)
 

Public Attributes

T< XTagx
 
T< YTagy
 

Member Typedef Documentation

◆ Corresponding

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

◆ DisplacementType

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

◆ SizeType

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

Constructor & Destructor Documentation

◆ Point() [1/4]

template<template< typename > typename T>
constexpr mir::geometry::generic::Point< T >::Point ( )
constexprdefault

◆ Point() [2/4]

template<template< typename > typename T>
constexpr mir::geometry::generic::Point< T >::Point ( Point< T > const &  )
constexprdefault

◆ Point() [3/4]

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

◆ Point() [4/4]

template<template< typename > typename T>
template<typename XType , typename YType >
constexpr mir::geometry::generic::Point< T >::Point ( XType &&  x,
YType &&  y 
)
inlineconstexpr

Member Function Documentation

◆ operator=()

template<template< typename > typename T>
Point& mir::geometry::generic::Point< T >::operator= ( Point< T > const &  )
default

Member Data Documentation

◆ x

template<template< typename > typename T>
T<XTag> mir::geometry::generic::Point< T >::x

◆ y

template<template< typename > typename T>
T<YTag> mir::geometry::generic::Point< T >::y

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.