[Bio] / Sprout / ERDBTypeRectangle.pm Repository:
ViewVC logotype

Diff of /Sprout/ERDBTypeRectangle.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Mon Mar 2 22:19:04 2009 UTC revision 1.2, Thu May 28 18:08:05 2009 UTC
# Line 23  Line 23 
23      use Tracer;      use Tracer;
24      use ERDB;      use ERDB;
25      use CGI;      use CGI;
26        use Rectangle;
27      use base qw(ERDBType);      use base qw(ERDBType);
28    
29  =head1 ERDB Rectangle Descriptor Type Definition  =head1 ERDB Rectangle Descriptor Type Definition
# Line 169  Line 170 
170    
171  Returns a value of the desired type.  Returns a value of the desired type.
172    
173    =back
174    
175  =cut  =cut
176    
177  sub decode {  sub decode {
# Line 176  Line 179 
179      my ($self, $string) = @_;      my ($self, $string) = @_;
180      # Declare the return variable.      # Declare the return variable.
181      my $retVal = Rectangle->new(split /,/, $string);      my $retVal = Rectangle->new(split /,/, $string);
     ##TODO: decode the value.  
182      # Return the result.      # Return the result.
183      return $retVal;      return $retVal;
184  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3