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

Supports logic operators. More...

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

Public Types

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

Public Member Functions

 BooleanProperty (BooleanProperty &&)=default
 
 BooleanProperty (C_ &Object)
 
 BooleanProperty (C_ *Object)
 
bool operator! () const
 
bool operator&& (const T_ &v) const
 
BooleanPropertyoperator= (BooleanProperty &&)=default
 
template<class O_ >
BooleanPropertyoperator= (const O_ &value)
 
template<class AC_ , class O_ , O_(C_::*)() const G_, void(C_::*)(const O_ &) S_>
BooleanPropertyoperator= (const Property< AC_, O_, G_, S_ > &prop)
 
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::BooleanProperty< C_, T_, Getter_, Setter_ >

Supports logic operators.

Mostly designed to be used with bool &&, ||, !, and equalities ==, !=

Member Typedef Documentation

◆ Type

using Type = T_

Constructor & Destructor Documentation

◆ BooleanProperty() [1/3]

BooleanProperty ( C_ *  Object)

◆ BooleanProperty() [2/3]

BooleanProperty ( C_ &  Object)

◆ BooleanProperty() [3/3]

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

Member Function Documentation

◆ operator!()

bool operator! ( ) const

◆ operator&&()

bool operator&& ( const T_ &  v) const

◆ operator=() [1/3]

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

◆ operator=() [2/3]

BooleanProperty& operator= ( const O_ &  value)

◆ operator=() [3/3]

BooleanProperty& operator= ( const Property< AC_, O_, G_, S_ > &  prop)

◆ operator||()

bool operator|| ( const T_ &  v) const

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