pmConfig.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pmConfig
 Configuration information. More...

Enumerations

enum  pmRecipeSource { PM_RECIPE_SOURCE_NONE = 0x00, PM_RECIPE_SOURCE_SITE = 0x01, PM_RECIPE_SOURCE_CAMERA = 0x02, PM_RECIPE_SOURCE_CL = 0x04, PM_RECIPE_SOURCE_SYMBOLIC = 0x14, PM_RECIPE_SOURCE_ALL = 0xff }
 Sources for recipes. More...

Functions

pmConfigpmConfigAlloc (int *argc, char **argv)
 Allocator for pmConfig.
void pmConfigSet (const char *path)
 Set static configuration information.
void pmConfigDone (void)
 Free static memory used in the configuration system.
pmConfigpmConfigRead (int *argc, char **argv, char *defaultRecipe)
 Read configuration information from the command line.
bool pmConfigFileRead (psMetadata **config, const char *name, const char *description)
 Read a configuration file.
bool pmConfigValidateCameraFormat (bool *valid, const psMetadata *cameraFormat, const psMetadata *header)
 Validate a header against the camera format.
psMetadata * pmConfigCameraFormatFromHeader (pmConfig *config, const psMetadata *header)
 Determine the camera format (and camera if unknown) from examining the header.
psMetadata * pmConfigCameraByName (pmConfig *config, const char *cameraName)
 Return the camera configuration specified by name.
psDB * pmConfigDB (pmConfig *config)
 Setup the database.
bool pmConfigConformHeader (psMetadata *header, const psMetadata *format)
 Make the supplied header conform to the nominated camera format.
psArray * pmConfigFileSets (pmConfig *config, const char *file, const char *list)
 Read the command-line for files (or a text file containing a list of files).
bool pmConfigFileSetsMD (psMetadata *metadata, pmConfig *config, const char *name, const char *file, const char *list)
 Stuff associated files from the command-line into a metadata.
psString pmConfigConvertFilename (const char *filename, const pmConfig *config, bool create)
 Convert the supplied name, create a new output psString.
bool pmConfigReadParamsSet (bool newReadCameraConfig)
 Set whether all config parameters are read on startup.


Generated on Fri Feb 2 22:35:33 2007 for Pan-STARRS Module Library by  doxygen 1.5.1