Open main menu

CDOT Wiki β

Changes

CIO 20133 Release 0.4 - OOP344

42 bytes removed, 14:48, 13 November 2013
CCheckMark
bool radio();
void radio(bool isRadio);
operator bool();
operator char*();
bool operator=(bool flag);
};
</syntaxhighlight></big>
<!-- operator bool();
operator char*(); -->
 
===Attributes===
<big><syntaxhighlight lang="cpp">
*These methods set and get _flag.
<big><syntaxhighlight lang="cpp">
bool radio(); // addition for R0.6 void radio(bool isRadio); // addition for R0.6
</syntaxhighlight></big>
* These to methods, get and set the '''_radio''' attribute.
<!--
<big><syntaxhighlight lang="cpp">
operator bool(); // addtion for R0.6
</syntaxhighlight></big>
* Overload the '''bool''' cast to return the value of '''_flag'''
<big><syntaxhighlight lang="cpp">
operator char*(); // addtion for R0.6
</syntaxhighlight></big> -->
* Overload the '''char*''' cast to return the value of '''_Label.data()'''
<big><syntaxhighlight lang="cpp">