Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_STemplate< BaseType > Class Template Reference

#include <fx_coordinates.h>

+ Collaboration diagram for CFX_STemplate< BaseType >:

Public Member Functions

constexpr CFX_STemplate ()=default
 
constexpr CFX_STemplate (BaseType new_width, BaseType new_height)
 
 CFX_STemplate (const CFX_STemplate &other)=default
 
CFX_STemplateoperator= (const CFX_STemplate &other)=default
 
template<typename OtherType >
CFX_STemplate< OtherType > As () const
 
void clear ()
 
bool operator== (const CFX_STemplate &other) const
 
bool operator!= (const CFX_STemplate &other) const
 
CFX_STemplateoperator+= (const CFX_STemplate< BaseType > &obj)
 
CFX_STemplateoperator-= (const CFX_STemplate< BaseType > &obj)
 
CFX_STemplateoperator*= (BaseType factor)
 
CFX_STemplateoperator/= (BaseType divisor)
 
CFX_STemplate operator+ (const CFX_STemplate &other) const
 
CFX_STemplate operator- (const CFX_STemplate &other) const
 
CFX_STemplate operator* (BaseType factor) const
 
CFX_STemplate operator/ (BaseType divisor) const
 

Public Attributes

BaseType width = 0
 
BaseType height = 0
 

Detailed Description

template<class BaseType>
class CFX_STemplate< BaseType >

Definition at line 58 of file fx_coordinates.h.

Constructor & Destructor Documentation

◆ CFX_STemplate() [1/3]

template<class BaseType >
CFX_STemplate< BaseType >::CFX_STemplate ( )
constexprdefault

◆ CFX_STemplate() [2/3]

template<class BaseType >
CFX_STemplate< BaseType >::CFX_STemplate ( BaseType new_width,
BaseType new_height )
inlineconstexpr

◆ CFX_STemplate() [3/3]

template<class BaseType >
CFX_STemplate< BaseType >::CFX_STemplate ( const CFX_STemplate< BaseType > & other)
default

Member Function Documentation

◆ As()

template<class BaseType >
template<typename OtherType >
CFX_STemplate< OtherType > CFX_STemplate< BaseType >::As ( ) const
inline

◆ clear()

template<class BaseType >
void CFX_STemplate< BaseType >::clear ( )
inline

◆ operator!=()

template<class BaseType >
bool CFX_STemplate< BaseType >::operator!= ( const CFX_STemplate< BaseType > & other) const
inline

Definition at line 79 of file fx_coordinates.h.

◆ operator*()

template<class BaseType >
CFX_STemplate CFX_STemplate< BaseType >::operator* ( BaseType factor) const
inline

◆ operator*=()

template<class BaseType >
CFX_STemplate & CFX_STemplate< BaseType >::operator*= ( BaseType factor)
inline

◆ operator+()

template<class BaseType >
CFX_STemplate CFX_STemplate< BaseType >::operator+ ( const CFX_STemplate< BaseType > & other) const
inline

◆ operator+=()

template<class BaseType >
CFX_STemplate & CFX_STemplate< BaseType >::operator+= ( const CFX_STemplate< BaseType > & obj)
inline

◆ operator-()

template<class BaseType >
CFX_STemplate CFX_STemplate< BaseType >::operator- ( const CFX_STemplate< BaseType > & other) const
inline

◆ operator-=()

template<class BaseType >
CFX_STemplate & CFX_STemplate< BaseType >::operator-= ( const CFX_STemplate< BaseType > & obj)
inline

◆ operator/()

template<class BaseType >
CFX_STemplate CFX_STemplate< BaseType >::operator/ ( BaseType divisor) const
inline

◆ operator/=()

template<class BaseType >
CFX_STemplate & CFX_STemplate< BaseType >::operator/= ( BaseType divisor)
inline

◆ operator=()

template<class BaseType >
CFX_STemplate & CFX_STemplate< BaseType >::operator= ( const CFX_STemplate< BaseType > & other)
default

◆ operator==()

template<class BaseType >
bool CFX_STemplate< BaseType >::operator== ( const CFX_STemplate< BaseType > & other) const
inline

Member Data Documentation

◆ height

◆ width


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