Common Pipeline Library Reference Manual  6.1.1
Defines | Typedefs | Enumerations
I/O

Defines

#define CPL_BPP_16_SIGNED   CPL_TYPE_SHORT
#define CPL_BPP_16_UNSIGNED   CPL_TYPE_USHORT
#define CPL_BPP_32_SIGNED   CPL_TYPE_INT
#define CPL_BPP_8_UNSIGNED   CPL_TYPE_UCHAR
#define CPL_BPP_IEEE_DOUBLE   CPL_TYPE_DOUBLE
#define CPL_BPP_IEEE_FLOAT   CPL_TYPE_FLOAT
#define cpl_type_bpp   cpl_type

Typedefs

typedef enum _cpl_io_type_ cpl_io_type
 The file I/O modes.

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...

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"

Define Documentation

Deprecated:
Use CPL_TYPE_SHORT
Deprecated:
Use CPL_TYPE_USHORT
Deprecated:
Use CPL_TYPE_INT
Deprecated:
Use CPL_TYPE_UCHAR
Deprecated:
Use CPL_TYPE_DOUBLE
Deprecated:
Use CPL_TYPE_FLOAT
#define cpl_type_bpp   cpl_type
Deprecated:
Use cpl_type

Typedef Documentation

typedef enum _cpl_io_type_ cpl_io_type

The file I/O modes.


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