SADI::Data::Boolean - A primitive SADI data type for booleans


SADI documentation  | view source Contained in the SADI distribution.

Index


NAME

Top

SADI::Data::Boolean - A primitive SADI data type for booleans

SYNOPSIS

Top

 use SADI::Data::Boolean;

 # create a SADI Boolean with initial value of true
 my $data = SADI::Data::Boolean->new ( value=>'true' );
 my $data = SADI::Data::Boolean->new ('true');
 my $data = SADI::Data::Boolean->new ();

 # change the value to false
 $data->value ('false');

 # get the value
 print $data->value;

DESCRIPTION

Top

An object representing a Boolan.

AUTHORS

Top

 Edward Kawas (edward.kawas [at] gmail [dot] com)
 Martin Senger (martin.senger [at] gmail [dot] com)

ACCESSIBLE ATTRIBUTES

Top

Details are in SADI::Base. Here just a list of them (additionally to the attributes from the parent classes)

value

A value of this datatype. Must be a boolean (defaults to 1).


SADI documentation  | view source Contained in the SADI distribution.