Clapkit
Loading...
Searching...
No Matches
CKValueContainingControl Class Reference

A base for controls that have a 'main' boolean or custom property. More...

#include <ck_pValueContainingControl.h>

Inheritance diagram for CKValueContainingControl:
CKCheckbox CKDropdown CKRadiobox

Public Member Functions

void SetValue (bool value)
 
void SetValue (void *value)
 
bool GetBoolean () const
 
void * GetMisc () const
 

Protected Attributes

CKValueType _type = CKValueType::None
 
union { 
 
   bool   bValue 
 
   void *   mValue 
 
_value 
 

Detailed Description

A base for controls that have a 'main' boolean or custom property.

Member Function Documentation

◆ GetBoolean()

bool CKValueContainingControl::GetBoolean ( ) const
inline

◆ GetMisc()

void * CKValueContainingControl::GetMisc ( ) const
inline

◆ SetValue() [1/2]

void CKValueContainingControl::SetValue ( bool  value)
inline

◆ SetValue() [2/2]

void CKValueContainingControl::SetValue ( void *  value)
inline

Member Data Documentation

◆ _type

CKValueType CKValueContainingControl::_type = CKValueType::None
protected

◆ [union]

union { ... } CKValueContainingControl::_value

◆ bValue

bool CKValueContainingControl::bValue

◆ mValue

void* CKValueContainingControl::mValue

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