#include <pslib.h>
#include "pmFPA.h"
#include "pmFPALevel.h"
Include dependency graph for pmConcepts.h:

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

Go to the source code of this file.
Data Structures | |
| struct | pmConceptSpec |
| A "concept" specification. More... | |
Typedefs | |
| typedef psMetadataItem *(*) | pmConceptParseFunc (const psMetadataItem *concept, const psMetadataItem *pattern, const psMetadata *cameraFormat, const pmFPA *fpa, const pmChip *chip, const pmCell *cell) |
| Function to call to parse a concept once it has been read. | |
| typedef psMetadataItem *(*) | pmConceptFormatFunc (const psMetadataItem *concept, const psMetadata *cameraFormat, const pmFPA *fpa, const pmChip *chip, const pmCell *cell) |
| Function to call to format a concept for writing. | |
Enumerations | |
| enum | pmConceptSource { PM_CONCEPT_SOURCE_NONE = 0x00, PM_CONCEPT_SOURCE_CELLS = 0x01, PM_CONCEPT_SOURCE_DEFAULTS = 0x02, PM_CONCEPT_SOURCE_PHU = 0x04, PM_CONCEPT_SOURCE_HEADER = 0x08, PM_CONCEPT_SOURCE_DATABASE = 0x10, PM_CONCEPT_SOURCE_ALL = 0xff } |
| Source for concepts when reading and writing. More... | |
Functions | |
| pmConceptSpec * | pmConceptSpecAlloc (psMetadataItem *blank, pmConceptParseFunc parse, pmConceptFormatFunc format) |
| Allocator for pmConceptSpec. | |
| bool | pmConceptRegister (psMetadataItem *blank, pmConceptParseFunc parse, pmConceptFormatFunc format, pmFPALevel level) |
| Register a new concept for parsing and formatting. | |
| psList * | pmConceptsList (pmFPALevel level) |
| Get a list of defined concepts for a particular level. | |
| bool | pmConceptsRead (pmFPA *fpa, pmChip *chip, pmCell *cell, pmConceptSource source, psDB *db) |
| Read the concepts for the given set of fpa, chip, cell. | |
| bool | pmConceptsBlankFPA (pmFPA *fpa) |
| Set the concepts within the FPA to the blank value. | |
| bool | pmConceptsReadFPA (pmFPA *fpa, pmConceptSource source, bool propagateDown, psDB *db) |
| Read concepts for an FPA; optionally, read concepts at all lower levels. | |
| bool | pmConceptsWriteFPA (const pmFPA *fpa, pmConceptSource source, bool propagateDown, psDB *db) |
| Write concepts for an FPA; optionally, write concepts at all lower levels. | |
| bool | pmConceptsBlankChip (pmChip *chip) |
| Set the concepts within the chip to the blank value. | |
| bool | pmConceptsReadChip (pmChip *chip, pmConceptSource source, bool propagateUp, bool propagateDown, psDB *db) |
| Read concepts for a chip; optionally, read concepts at the FPA and cell levels. | |
| bool | pmConceptsWriteChip (const pmChip *chip, pmConceptSource source, bool propagateUp, bool propagateDown, psDB *db) |
| Write concepts for a chip; optionally, write concepts at the FPA and cell levels. | |
| bool | pmConceptsBlankCell (pmCell *cell) |
| Set the concepts within the cell to the blank value. | |
| bool | pmConceptsReadCell (pmCell *cell, pmConceptSource source, bool propagateUp, psDB *db) |
| Read concepts for a cell; optionally, read concepts for the parents. | |
| bool | pmConceptsWriteCell (const pmCell *cell, pmConceptSource source, bool propagateUp, psDB *db) |
| Write concepts for a cell; optionally, write concepts for the parents. | |
| bool | pmConceptsInit (void) |
| Initialise the concepts system. | |
| void | pmConceptsDone (void) |
| Signifies that the user is done with the concepts system. | |
| bool | pmFPACopyConcepts (pmFPA *target, const pmFPA *source) |
| Copy all the concepts within an FPA to another FPA. | |
1.5.1