IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 3:02:31 PM (20 years ago)
Author:
Paul Price
Message:

Renaming functions in pmConceptsRead.h and pmConceptsWrite.h to be private ("p_").
Adding const where appropriate, and changing order of parameters to match usual
convention (outputs go first).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsWrite.h

    r7017 r9570  
    22#define PM_CONCEPTS_WRITE_H
    33
    4 #include "pslib.h"
     4#include <pslib.h>
    55#include "pmFPA.h"
    66
    7 bool pmConceptsWriteToCamera(psMetadata *specs, // The concept specifications
    8                              pmCell *cell,   // The cell
    9                              psMetadata *concepts // The concepts
    10                             );
    11 bool pmConceptsWriteToDefaults(psMetadata *specs, // The concept specifications
     7bool p_pmConceptsWriteToCells(psMetadata *specs, // The concept specifications
     8                              pmCell *cell,   // The cell
     9                              psMetadata *concepts // The concepts
     10                             );
     11bool p_pmConceptsWriteToDefaults(psMetadata *specs, // The concept specifications
     12                                 pmFPA *fpa, // The FPA
     13                                 pmChip *chip, // The chip
     14                                 pmCell *cell, // The cell
     15                                 psMetadata *concepts // The concepts
     16                                );
     17bool p_pmConceptsWriteToHeader(psMetadata *specs, // The concept specifications
    1218                               pmFPA *fpa, // The FPA
    1319                               pmChip *chip, // The chip
     
    1521                               psMetadata *concepts // The concepts
    1622                              );
    17 bool pmConceptsWriteToHeader(psMetadata *specs, // The concept specifications
    18                              pmFPA *fpa, // The FPA
    19                              pmChip *chip, // The chip
    20                              pmCell *cell, // The cell
    21                              psMetadata *concepts // The concepts
    22                             );
    23 bool pmConceptsWriteToDatabase(psMetadata *specs, // The concept specifications
    24                                pmFPA *fpa, // The FPA
    25                                pmChip *chip, // The chip
    26                                pmCell *cell, // The cell
    27                                psDB *db,// The database handle
    28                                psMetadata *concepts // The concepts
    29                               );
    30 
    31 
    32 #ifdef OLD
    33 
    34 // Well, not really "write", but check to make sure it's there and matches
    35 bool pmConceptWriteToCamera(pmCell *cell, // The cell
    36                             psMetadataItem *concept // Concept
    37                            );
    38 
    39 // Write the concept to the header in the appropriate location
    40 bool pmConceptWriteToHeader(pmFPA *fpa, // The FPA that contains the chip
    41                             pmChip *chip, // The chip that contains the cell
    42                             pmCell *cell, // The cell
    43                             psMetadataItem *concept // Concept
    44                            );
    45 
    46 // Well, not really "write", but check to see if it's there, and matches
    47 bool pmConceptWriteToDefault(pmFPA *fpa, // The FPA that contains the chip
    48                              pmChip *chip, // The chip that contains the cell
    49                              pmCell *cell, // The cell
    50                              psMetadataItem *concept // Concept
    51                             );
    52 
    53 bool pmConceptWriteToDB(pmFPA *fpa, // The FPA that contains the chip
    54                         pmChip *chip, // The chip that contains the cell
    55                         pmCell *cell, // The cell
    56                         psDB *db,    // DB handle
    57                         psMetadataItem *concept // Concept
    58                        );
    59 
    60 // Concept write from item
    61 bool pmConceptWriteItem(pmFPA *fpa,     // The FPA
    62                         pmChip *chip,   // The chip
    63                         pmCell *cell,   // The cell
    64                         psDB *db,       // DB handle
    65                         psMetadataItem *concept // Concept item
    66                        );
    67 
    68 bool pmConceptWrite(pmFPA *fpa, // The FPA
    69                     pmChip *chip,// The chip
    70                     pmCell *cell,    // The cell
    71                     psDB *db, // DB handle
    72                     psMetadata *concepts, // Concepts MD from which to set
    73                     const char *name // Name of the concept
    74                    );
     23bool p_pmConceptsWriteToDatabase(psMetadata *specs, // The concept specifications
     24                                 pmFPA *fpa, // The FPA
     25                                 pmChip *chip, // The chip
     26                                 pmCell *cell, // The cell
     27                                 psDB *db,// The database handle
     28                                 psMetadata *concepts // The concepts
     29                                );
    7530
    7631#endif
    77 
    78 #endif
Note: See TracChangeset for help on using the changeset viewer.