Mir
Public Types | Public Member Functions | List of all members
mir::geometry::detail::IntWrapper< Tag > Class Template Reference

#include <dimensions.h>

Public Types

typedef int ValueType
 

Public Member Functions

constexpr IntWrapper ()
 
constexpr IntWrapper (IntWrapper const &that)=default
 
IntWrapperoperator= (IntWrapper const &that)=default
 
template<typename AnyInteger >
constexpr IntWrapper (AnyInteger value)
 
constexpr uint32_t as_uint32_t () const
 
constexpr int as_int () const
 

Member Typedef Documentation

◆ ValueType

template<typename Tag >
typedef int mir::geometry::detail::IntWrapper< Tag >::ValueType

Constructor & Destructor Documentation

◆ IntWrapper() [1/3]

template<typename Tag >
constexpr mir::geometry::detail::IntWrapper< Tag >::IntWrapper ( )
inlineconstexpr

◆ IntWrapper() [2/3]

template<typename Tag >
constexpr mir::geometry::detail::IntWrapper< Tag >::IntWrapper ( IntWrapper< Tag > const &  that)
constexprdefault

◆ IntWrapper() [3/3]

template<typename Tag >
template<typename AnyInteger >
constexpr mir::geometry::detail::IntWrapper< Tag >::IntWrapper ( AnyInteger  value)
inlineexplicitconstexpr

Member Function Documentation

◆ as_int()

template<typename Tag >
constexpr int mir::geometry::detail::IntWrapper< Tag >::as_int ( ) const
inlineconstexpr

◆ as_uint32_t()

template<typename Tag >
constexpr uint32_t mir::geometry::detail::IntWrapper< Tag >::as_uint32_t ( ) const
inlineconstexpr

◆ operator=()

template<typename Tag >
IntWrapper & mir::geometry::detail::IntWrapper< Tag >::operator= ( IntWrapper< Tag > const &  that)
default

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

Copyright © 2012-2022 Canonical Ltd.
Generated on Wed Dec 28 21:01:08 UTC 2022
This documentation is licensed under the GPL version 2 or 3.