Gorgon Game Engine
BinaryProperty< C_, T_, Getter_, Setter_ > Class Template Reference

Supports all operators that the numeric property supports. More...

Inheritance diagram for BinaryProperty< C_, T_, Getter_, Setter_ >:
[legend]

Public Types

using Type = T_
 
- Public Types inherited from NumericProperty< C_, T_, Getter_, Setter_ >
using Type = T_
 
- Public Types inherited from Property< C_, T_, Getter_, Setter_ >
using Type = T_
 

Public Member Functions

 BinaryProperty (BinaryProperty &&)=default
 
 BinaryProperty (C_ &Object)
 
 BinaryProperty (C_ *Object)
 
T_ operator&= (const T_ &v)
 
BinaryPropertyoperator= (BinaryProperty &&)=default
 
template<class O_ >
BinaryPropertyoperator= (const O_ &value)
 
template<class AC_ , T_(AC_::*)() const G_, void(AC_::*)(const T_ &) S_>
BinaryPropertyoperator= (const Property< AC_, T_, G_, S_ > &prop)
 
T_ operator^= (const T_ &v)
 
T_ operator|= (const T_ &v)
 
- Public Member Functions inherited from NumericProperty< C_, T_, Getter_, Setter_ >
 NumericProperty (C_ &Object)
 
 NumericProperty (C_ *Object)
 
 NumericProperty (NumericProperty &&)=default
 
T_ operator* (const T_ &v) const
 
template<class O_ >
T_ operator*= (const O_ &v)
 
T_ operator+ (const T_ &v) const
 
T_ operator++ ()
 
T_ operator++ (int)
 
T_ operator+= (const T_ &v)
 
T_ operator- (const T_ &v) const
 
T_ operator-- ()
 
T_ operator-- (int)
 
T_ operator-= (const T_ &v)
 
T_ operator/ (const T_ &v) const
 
template<class O_ >
T_ operator/= (const O_ &v)
 
bool operator< (const T_ &v) const
 
bool operator<= (const T_ &v) const
 
NumericPropertyoperator= (const NumericProperty &other)
 
template<class AC_ , class O_ , O_(C_::*)() const G_, void(C_::*)(const O_ &) S_>
NumericPropertyoperator= (const Property< AC_, O_, G_, S_ > &prop)
 
NumericPropertyoperator= (const T_ &value)
 
NumericPropertyoperator= (NumericProperty &&)=default
 
bool operator> (const T_ &v) const
 
bool operator>= (const T_ &v) const
 
- Public Member Functions inherited from Property< C_, T_, Getter_, Setter_ >
 Property (C_ &Object)
 
 Property (C_ *Object)
 
 Property (const Property &)=delete
 
 Property (Property &&)=default
 
T_ Get () const
 
 operator const T_ () const
 
 operator T_ ()
 
bool operator!= (const T_ &v) const
 
T_ operator* () const
 
template<class O_ >
Propertyoperator= (const O_ &value)
 
Propertyoperator= (const Property &)=delete
 
template<class AC_ , T_(AC_::*)() const G_, void(AC_::*)(const T_ &) S_>
Propertyoperator= (const Property< AC_, T_, G_, S_ > &prop)
 
Propertyoperator= (const T_ &value)
 
Propertyoperator= (Property &&)=default
 
bool operator== (const T_ &v) const
 
void Set (const T_ &value)
 

Additional Inherited Members

- Protected Attributes inherited from Property< C_, T_, Getter_, Setter_ >
C_ & Object
 

Detailed Description

template<class C_, class T_, T_(C_::*)() const Getter_, void(C_::*)(const T_ &) Setter_>
class Gorgon::BinaryProperty< C_, T_, Getter_, Setter_ >

Supports all operators that the numeric property supports.

Additionally supports and |, &, ~, ... Use with unsigned int, Gorgon::Byte

Member Typedef Documentation

◆ Type

using Type = T_

Constructor & Destructor Documentation

◆ BinaryProperty() [1/3]

BinaryProperty ( C_ *  Object)

◆ BinaryProperty() [2/3]

BinaryProperty ( C_ &  Object)

◆ BinaryProperty() [3/3]

BinaryProperty ( BinaryProperty< C_, T_, Getter_, Setter_ > &&  )
default

Member Function Documentation

◆ operator&=()

T_ operator&= ( const T_ &  v)

◆ operator=() [1/3]

BinaryProperty& operator= ( BinaryProperty< C_, T_, Getter_, Setter_ > &&  )
default

◆ operator=() [2/3]

BinaryProperty& operator= ( const O_ &  value)

◆ operator=() [3/3]

BinaryProperty& operator= ( const Property< AC_, T_, G_, S_ > &  prop)

◆ operator^=()

T_ operator^= ( const T_ &  v)

◆ operator|=()

T_ operator|= ( const T_ &  v)

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