sk::util::Boolean Class Reference

#include <Boolean.h>

Inheritance diagram for sk::util::Boolean:

sk::util::Object

List of all members.

Public Member Functions

 Boolean (bool value)
 Boolean (const sk::util::String &value)
virtual ~Boolean ()
bool booleanValue () const
const sk::util::String toString () const
 Returns a string representation of the object. By default, it returns the object's class and the objects's id.
const sk::util::Class getClass () const
 Returns the object's class.
virtual Objectself ()
 Returns a reference to itself.
virtual const Objectself () const
Objectclone () const
 Instantiates another object of the same class as a copy of itself.
virtual uint64_t getId () const
 Returns a unique object id.
virtual const String inspect () const
 Returns a string containing human-readable representation of the object.

Static Public Member Functions

static bool parseBoolean (const sk::util::String &value)
static const BooleanvalueOf (bool value)
static const BooleanvalueOf (const sk::util::String &value)
static const BooleanvalueOf (const char *value)
static const sk::util::String toString (bool value)

Static Public Attributes

static const Boolean B_TRUE
static const Boolean B_FALSE


Constructor & Destructor Documentation

sk::util::Boolean::Boolean ( bool  value  ) 

sk::util::Boolean::Boolean ( const sk::util::String value  )  [explicit]

virtual sk::util::Boolean::~Boolean (  )  [virtual]


Member Function Documentation

bool sk::util::Boolean::booleanValue (  )  const

Object* sk::util::Object::clone (  )  const [inherited]

Instantiates another object of the same class as a copy of itself.

Reimplemented in sk::rt::logger::Destination, and sk::util::String.

const sk::util::Class sk::util::Boolean::getClass (  )  const [virtual]

Returns the object's class.

Reimplemented from sk::util::Object.

virtual uint64_t sk::util::Object::getId (  )  const [virtual, inherited]

Returns a unique object id.

Reimplemented in sk::rt::Thread.

virtual const String sk::util::Object::inspect (  )  const [virtual, inherited]

static bool sk::util::Boolean::parseBoolean ( const sk::util::String value  )  [static]

virtual const Object& sk::util::Object::self (  )  const [virtual, inherited]

Reimplemented in sk::util::String.

virtual Object& sk::util::Object::self (  )  [virtual, inherited]

Returns a reference to itself.

Reimplemented in sk::util::String.

static const sk::util::String sk::util::Boolean::toString ( bool  value  )  [static]

const sk::util::String sk::util::Boolean::toString (  )  const [virtual]

Returns a string representation of the object. By default, it returns the object's class and the objects's id.

Reimplemented from sk::util::Object.

static const Boolean& sk::util::Boolean::valueOf ( const char *  value  )  [static]

static const Boolean& sk::util::Boolean::valueOf ( const sk::util::String value  )  [static]

static const Boolean& sk::util::Boolean::valueOf ( bool  value  )  [static]


Member Data Documentation


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

Generated on Tue Mar 3 12:36:10 2009 for stemkit-cpp by  doxygen 1.5.8