Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmFPAfileIO.h

Go to the documentation of this file.
00001 /** @file  pmFPAview.h
00002 *
00003 *  @brief Tools to manipulate the FPA structure elements.
00004 *
00005 *  @ingroup AstroImage
00006 *
00007 *  @author EAM, IfA
00008 *
00009 *  @version $Revision: 1.1 $ $Name: rel12 $
00010 *  @date $Date: 2006/06/17 01:50:43 $
00011 *
00012 *  Copyright 2004-2005 Institute for Astronomy, University of Hawaii
00013 */
00014 
00015 #ifndef PM_FPA_FILE_IO_H
00016 #define PM_FPA_FILE_IO_H
00017 
00018 // open the real file corresponding to the given pmFPAfile appropriate to the current view
00019 bool pmFPAfileOpen (pmFPAfile *file, const pmFPAview *view, pmConfig *config);
00020 
00021 // read from the real file corresponding to the given pmFPAfile for the current view
00022 bool pmFPAfileRead (pmFPAfile *file, const pmFPAview *view, pmConfig *config);
00023 
00024 bool pmFPAfileCreate (pmFPAfile *file, const pmFPAview *view);
00025 
00026 // write to the real file corresponding to the given pmFPAfile for the current view
00027 bool pmFPAfileWrite (pmFPAfile *file, const pmFPAview *view, pmConfig *config);
00028 
00029 // close the real file corresponding to the given pmFPAfile appropriate to the current view
00030 bool pmFPAfileClose (pmFPAfile *file, const pmFPAview *view);
00031 
00032 // free the data at this level
00033 bool pmFPAfileFreeData(pmFPAfile *file, const pmFPAview *view);
00034 
00035 // set the state of the specified pmFPAfile to active (state == true) or inactive
00036 // if name is NULL, set the state for all pmFPAfiles
00037 bool pmFPAfileActivate (psMetadata *files, bool state, char *name);
00038 
00039 // examine all pmFPAfiles listed in the files and perform the needed I/O operations (open,read,write,close)
00040 bool pmFPAfileIOChecks (pmConfig *config, const pmFPAview *view, pmFPAfilePlace place);
00041 
00042 # endif

Generated on Mon Jul 3 14:24:27 2006 for Pan-STARRS Module Library by  doxygen 1.4.4