Common Pipeline Library Reference Manual  5.3.1
Typedefs | Enumerations
I/O

Typedefs

typedef enum _cpl_io_type_ cpl_io_type
 The file I/O modes.
typedef enum _cpl_type_bpp_ cpl_type_bpp
 The pixel types that can be used for saving.

Enumerations

enum  _cpl_io_type_ {
  CPL_IO_CREATE,
  CPL_IO_EXTEND,
  CPL_IO_APPEND,
  CPL_IO_MAX,
  CPL_IO_DEFAULT
}
 These are the file I/O modes. More...
enum  _cpl_type_bpp_ {
  CPL_BPP_8_UNSIGNED,
  CPL_BPP_16_SIGNED,
  CPL_BPP_16_UNSIGNED,
  CPL_BPP_32_SIGNED,
  CPL_BPP_IEEE_FLOAT,
  CPL_BPP_IEEE_DOUBLE
}
 These are the pixel types that can be used for saving. More...

Detailed Description

This module provides definitions related to I/O. The actual I/O functions are defined in the respective CPL modules.

Synopsis:
   #include "cpl_io.h"

Typedef Documentation

typedef enum _cpl_io_type_ cpl_io_type

The file I/O modes.

The pixel types that can be used for saving.


Enumeration Type Documentation

These are the file I/O modes.

Enumerator:
CPL_IO_CREATE 

Overwrite the file, if it already exists.

CPL_IO_EXTEND 

Append a new extension to the file.

CPL_IO_APPEND 

Append to the last data unit of the file.

CPL_IO_MAX 

Reserved for internal CPL usage.

CPL_IO_DEFAULT 

Deprecated, kept only for backwards compatibility

These are the pixel types that can be used for saving.

Enumerator:
CPL_BPP_8_UNSIGNED 

8-bit unsigned integer

CPL_BPP_16_SIGNED 

16-bit signed integer

CPL_BPP_16_UNSIGNED 

16-bit unsigned integer

CPL_BPP_32_SIGNED 

32-bit signed integer

CPL_BPP_IEEE_FLOAT 

32-bit floating point

CPL_BPP_IEEE_DOUBLE 

64-bit floating point