=pod

=head1 NAME

Geo::GPS::Data::Storage::RAM - RAM storage module for the perl-GPSData package.

=head1 SYNOPSIS

  use Geo::GPS::Data::Storage::RAM;

  $s = Geo::GPS::Data::Storage::RAM->new();

  $waypt_types = $s->waypoint_types();

  $id = $s->store_waypoint(
        name=>$name,
        latitude=>$lat,
        longitude=>$lon,
        comment=>$comm,
        type_id=>$type_id,
        date_collected=>$d_col,
        ellipsoid=>$ell_id
        );

  $res = retrieve_waypoint(id=>$id);
  $res = delete_waypoint(id=>$id);
  $exists = exists_waypoint(id=>$id);

  $id = $s->store_collection(
        name=>$name,
        comment=>$comm,
        type_id=>$type,
        date_collected=>$d_col,
        waypoints=>\@waypoint_id_list
  );
  $res = retrieve_collection(id=>$id);
  $res = delete_collection(id=>$id);
  $exists = exists_collection(id=>$id);

=head1 DESCRIPTION

This is an internal module of the perl-GPSData package and should not be used directly by a program.
This module implements the storage methods on RAM which is not very usefull for anything other than testing. :)

=head1 AUTHOR

Nuno Nunes, E<lt>nfmnunes@cpan.orgE<gt>

=head1 SEE ALSO

L<Geo::GPS::Data>, L<Geo::GPS::Data::Waypoint>.

=cut