Changeset 184


Ignore:
Timestamp:
01/12/06 16:01:14 (18 years ago)
Author:
thauvin
Message:
  • add few doc, remove useless old code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/soft/ObsData/ObsData/Repository.pm

    • Property cvs2svn:cvs-rev changed from 1.64 to 1.65
    r183 r184  
    285285our @ISA = qw(ObsData::Repository); 
    286286 
    287 =head3 new 
     287=head3 new($info, %param) 
     288 
     289Return a new ObsData::Repository::dir::archive object. 
     290 
     291$info is an ObsData::Repository or ObsData::Repository::dir object 
     292 
     293%param are: 
     294     
     295    archivefile => the archive file to read 
    288296 
    289297=cut 
     
    337345} 
    338346 
    339 =head2 getvalue 
     347=head2 getvalue($var, $default) 
     348 
     349Return a value from status file related to current archive. 
    340350 
    341351=cut 
     
    347357 
    348358=head2 setvalue 
     359 
     360Define a value related to current archive file. 
    349361 
    350362=cut 
     
    361373} 
    362374 
    363 =head2 get_data_value 
     375=head2 get_data_value($datafile, $var, $default) 
     376 
     377Return a value from status file related to current archive about $datafile. 
    364378 
    365379=cut 
     
    374388} 
    375389 
    376 =head2 set_data_value 
     390=head2 set_data_value($datafile, $var, $val, $comment) 
     391 
     392Set a value and optionnaly a comment for $datafile found in archive file 
    377393 
    378394=cut 
     
    390406 
    391407=cut 
    392  
    393 #sub DESTROY { 
    394 #    my ($self) = @_; 
    395 #    $self->logging(0, "Destroy ObsData::Repository::archive for %s", ref($self)); 
    396 #    $self->SUPER::DESTROY(); 
    397 #} 
    398408 
    399409=head3 default_choice($oevent) 
Note: See TracChangeset for help on using the changeset viewer.