PostgreSQL Source Code  git master
sdir.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ScanDirectionIsValid(direction)
 
#define ScanDirectionIsBackward(direction)    ((bool) ((direction) == BackwardScanDirection))
 
#define ScanDirectionIsNoMovement(direction)    ((bool) ((direction) == NoMovementScanDirection))
 
#define ScanDirectionIsForward(direction)    ((bool) ((direction) == ForwardScanDirection))
 

Typedefs

typedef enum ScanDirection ScanDirection
 

Enumerations

enum  ScanDirection { BackwardScanDirection = -1 , NoMovementScanDirection = 0 , ForwardScanDirection = 1 }
 

Macro Definition Documentation

◆ ScanDirectionIsBackward

#define ScanDirectionIsBackward (   direction)     ((bool) ((direction) == BackwardScanDirection))

Definition at line 41 of file sdir.h.

◆ ScanDirectionIsForward

#define ScanDirectionIsForward (   direction)     ((bool) ((direction) == ForwardScanDirection))

Definition at line 55 of file sdir.h.

◆ ScanDirectionIsNoMovement

#define ScanDirectionIsNoMovement (   direction)     ((bool) ((direction) == NoMovementScanDirection))

Definition at line 48 of file sdir.h.

◆ ScanDirectionIsValid

#define ScanDirectionIsValid (   direction)
Value:
((bool) (BackwardScanDirection <= (direction) && \
(direction) <= ForwardScanDirection))
unsigned char bool
Definition: c.h:392
@ BackwardScanDirection
Definition: sdir.h:24
@ ForwardScanDirection
Definition: sdir.h:26

Definition at line 33 of file sdir.h.

Typedef Documentation

◆ ScanDirection

Enumeration Type Documentation

◆ ScanDirection

Enumerator
BackwardScanDirection 
NoMovementScanDirection 
ForwardScanDirection 

Definition at line 22 of file sdir.h.

23 {
ScanDirection
Definition: sdir.h:23
@ NoMovementScanDirection
Definition: sdir.h:25