2005/5/9

     
 

class Boolean

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::Boolean Class Reference

#include <Boolean.h>

Inheritance diagram for acdk::lang::Boolean:

acdk::lang::Object acdk::io::Serializable acdk::lang::Cloneable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

In ACDK the type boolean is replaced with buildin type bool.

API: Java

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.16
Date:
Date
2005/03/06 11:56:59
TRUE, FALSE, TYPE are not fields, but methods.


Public Member Functions

 Boolean ()
 create false Boolean

 Boolean (bool val)
 Boolean (IN(RString) val)
virtual bool booleanValue ()
virtual bool equals (IN(RObject) obj)
 reimplemented from Object

bool equals (bool other)
virtual RString toString ()
 reimplemented from Object

virtual int hashCode ()
 reimplemented from Object

RObject clone (sys::Allocator *alc)
 reimplemented from Object

RObject clone ()
 reimplemented from Object


Static Public Member Functions

RObject create_instance ()
RBoolean getFALSE ()
 Instead of the JDK static values FALSE and TRUE, these values are wrapped in two functions because TRUE and FALSE will often #defined by system include headers.

RBoolean getTRUE ()
bool getBoolean (IN(RString) name)
RBoolean valueOf (IN(RString) s)
RBoolean valueOf (bool value)
RClass getTYPE ()

Private Attributes

bool value

Static Private Attributes

RBoolean _falseValue
RBoolean _trueValue


Constructor & Destructor Documentation

acdk::lang::Boolean::Boolean  )  [inline]
 

create false Boolean

acdk::lang::Boolean::Boolean bool  val  )  [inline]
 

acdk::lang::Boolean::Boolean IN(RString val  ) 
 


Member Function Documentation

virtual bool acdk::lang::Boolean::booleanValue  )  [inline, virtual]
 

RObject acdk::lang::Boolean::clone  )  [inline, virtual]
 

reimplemented from Object

Implements acdk::lang::Cloneable.

RObject acdk::lang::Boolean::clone sys::Allocator alc  )  [inline, virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Cloneable.

RObject acdk::lang::Boolean::create_instance  )  [inline, static]
 

Reimplemented from acdk::lang::Object.

bool acdk::lang::Boolean::equals bool  other  )  [inline]
 

virtual bool acdk::lang::Boolean::equals IN(RObject obj  )  [virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Object.

bool acdk::lang::Boolean::getBoolean IN(RString name  )  [static]
 

RBoolean acdk::lang::Boolean::getFALSE  )  [static]
 

Instead of the JDK static values FALSE and TRUE, these values are wrapped in two functions because TRUE and FALSE will often #defined by system include headers.

RBoolean acdk::lang::Boolean::getTRUE  )  [static]
 

RClass acdk::lang::Boolean::getTYPE  )  [static]
 

virtual int acdk::lang::Boolean::hashCode  )  [virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Object.

virtual RString acdk::lang::Boolean::toString  )  [virtual]
 

reimplemented from Object

Reimplemented from acdk::lang::Object.

RBoolean acdk::lang::Boolean::valueOf bool  value  )  [inline, static]
 

RBoolean acdk::lang::Boolean::valueOf IN(RString s  )  [static]
 


Member Data Documentation

RBoolean acdk::lang::Boolean::_falseValue [static, private]
 

RBoolean acdk::lang::Boolean::_trueValue [static, private]
 

bool acdk::lang::Boolean::value [private]