Defines | |
| #define | CPL_FRAME_GROUP_RAW_ID "RAW" |
| Frame group tag for unprocessed data. More... | |
| #define | CPL_FRAME_GROUP_CALIB_ID "CALIB" |
| Frame group tag for calibration data. More... | |
| #define | CPL_FRAME_GROUP_PRODUCT_ID "PRODUCT" |
| Frame group tag for processed data. More... | |
Typedefs | |
| typedef _cpl_frame_ | cpl_frame |
| The frame data type. More... | |
| typedef enum _cpl_frame_type_ | cpl_frame_type |
| The frame type data type. More... | |
| typedef enum _cpl_frame_group_ | cpl_frame_group |
| The frame group data type. More... | |
| typedef enum _cpl_frame_level_ | cpl_frame_level |
| The frame level data type. More... | |
Enumerations | |
| enum | _cpl_frame_type_ { CPL_FRAME_TYPE_NONE, CPL_FRAME_TYPE_IMAGE, CPL_FRAME_TYPE_MATRIX, CPL_FRAME_TYPE_TABLE, CPL_FRAME_TYPE_PAF } |
| Supported frame types. More... | |
| enum | _cpl_frame_group_ { CPL_FRAME_GROUP_NONE, CPL_FRAME_GROUP_RAW, CPL_FRAME_GROUP_CALIB, CPL_FRAME_GROUP_PRODUCT } |
| Supported frame groups. More... | |
| enum | _cpl_frame_level_ { CPL_FRAME_LEVEL_NONE, CPL_FRAME_LEVEL_TEMPORARY, CPL_FRAME_LEVEL_INTERMEDIATE, CPL_FRAME_LEVEL_FINAL } |
| Supported frame processing levels. More... | |
Functions | |
| cpl_frame * | cpl_frame_new (void) |
| Create a new, empty frame. More... | |
| cpl_frame * | cpl_frame_duplicate (const cpl_frame *frame) |
| Create a copy of a frame. More... | |
| void | cpl_frame_delete (cpl_frame *frame) |
| Destroy a frame. More... | |
| const char * | cpl_frame_get_filename (const cpl_frame *frame) |
| Get the file name to which a frame refers. More... | |
| const char * | cpl_frame_get_tag (const cpl_frame *frame) |
| Get the category tag of a frame. More... | |
| cpl_frame_type | cpl_frame_get_type (const cpl_frame *frame) |
| Get the type of a frame. More... | |
| cpl_frame_group | cpl_frame_get_group (const cpl_frame *frame) |
| Get the current group of a frame. More... | |
| cpl_frame_level | cpl_frame_get_level (const cpl_frame *frame) |
| Get the current level of a frame. More... | |
| int | cpl_frame_set_filename (cpl_frame *frame, const char *filename) |
| Set the file name to which a frame refers. More... | |
| int | cpl_frame_set_tag (cpl_frame *frame, const char *tag) |
| Set a frame's category tag. More... | |
| int | cpl_frame_set_type (cpl_frame *frame, cpl_frame_type type) |
| Set the type of a frame. More... | |
| int | cpl_frame_set_group (cpl_frame *frame, cpl_frame_group group) |
| Set the group attribute of a frame. More... | |
| int | cpl_frame_set_level (cpl_frame *frame, cpl_frame_level level) |
| Set the level attribute of a frame. More... | |
cpl_frame type. A frame is a container for descriptive attributes related to a data file. The attributes are related to a data file through the file name member of the frame type. Among the attributes which may be assigned to a data file is an attribute identifying the type of the data stored in the file (image or table data), a classification tag indicating the kind of data the file contains and an attribute denoting to which group the data file belongs (raw, processed or calibration file). For processed data a processing level indicates whether the product is an temporary, intermediate or final product.#include <cpl_frame.h>
|
|
Frame group tag for calibration data.
|
|
|
Frame group tag for processed data.
|
|
|
Frame group tag for unprocessed data.
|
|
|
The frame data type.
|
|
|
The frame group data type.
|
|
|
The frame level data type.
|
|
|
The frame type data type.
|
|
|
Supported frame groups.
Defines the possible values for the frame's group attribute. |
|
|
|
Supported frame types.
Defines the possible values for the frame's type attribute. |
|
|
Destroy a frame.
|
|
|
Create a copy of a frame.
|
|
|
Get the file name to which a frame refers.
NULL is retured. If a file name has been set using cpl_frame_set_filename(), the corresponding file will be used for load and save operations. |
|
|
Get the current group of a frame.
|
|
|
Get the current level of a frame.
|
|
|
Get the category tag of a frame.
NULL pointer is returned. |
|
|
Get the type of a frame.
|
|
|
Create a new, empty frame.
CPL_FRAME_TYPE_NONE, CPL_FRAME_GROUP_NONE, and CPL_FRAME_LEVEL_NONE, resepctively. |
|
||||||||||||
|
Set the file name to which a frame refers.
|
|
||||||||||||
|
Set the group attribute of a frame.
|
|
||||||||||||
|
Set the level attribute of a frame.
|
|
||||||||||||
|
Set a frame's category tag.
|
|
||||||||||||
|
Set the type of a frame.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002