MagickWand  7.0.7
Convert, Edit, Or Compose Bitmap Images
wandcli-private.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _Stack
 
struct  _MagickCLI
 

Macros

#define CLIWandException(severity, tag, option)
 
#define CLIWandExceptionArg(severity, tag, option, arg)
 
#define CLIWandWarnReplaced(message)
 
#define CLIWandExceptionFile(severity, tag, context)
 
#define CLIWandExceptionBreak(severity, tag, option)   { CLIWandException(severity,tag,option); break; }
 
#define CLIWandExceptionReturn(severity, tag, option)   { CLIWandException(severity,tag,option); return; }
 
#define CLIWandExceptArgBreak(severity, tag, option, arg)   { CLIWandExceptionArg(severity,tag,option,arg); break; }
 
#define CLIWandExceptArgReturn(severity, tag, option, arg)   { CLIWandExceptionArg(severity,tag,option,arg); return; }
 

Typedefs

typedef struct _Stack Stack
 

Enumerations

enum  ProcessOptionFlags {
  ProcessImplictRead = 0x0001, ProcessInterpretProperities = 0x0010, ProcessExitOption = 0x0100, ProcessScriptOption = 0x0200,
  ProcessReadOption = 0x0400, ProcessWarnDeprecated = 0x0800, ProcessOneOptionOnly = 0x4000, ProcessImplictWrite = 0x8000,
  MagickCommandOptionFlags = 0x8FFF, ConvertCommandOptionFlags = 0x800F, MagickScriptArgsFlags = 0x000F
}
 

Macro Definition Documentation

◆ CLIWandExceptArgBreak

#define CLIWandExceptArgBreak (   severity,
  tag,
  option,
  arg 
)    { CLIWandExceptionArg(severity,tag,option,arg); break; }

◆ CLIWandExceptArgReturn

#define CLIWandExceptArgReturn (   severity,
  tag,
  option,
  arg 
)    { CLIWandExceptionArg(severity,tag,option,arg); return; }

Definition at line 54 of file wandcli-private.h.

◆ CLIWandException

#define CLIWandException (   severity,
  tag,
  option 
)
Value:
(void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
"`%s'",option)
WandExport MagickBooleanType CLIThrowException(MagickCLI *cli_wand, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: wandcli.c:318

Definition at line 25 of file wandcli-private.h.

Referenced by CLIListOperatorImages(), CLINoImageOperator(), CLISettingOptionInfo(), CLISimpleOperatorImage(), ProcessCommandOptions(), and ProcessScriptOptions().

◆ CLIWandExceptionArg

#define CLIWandExceptionArg (   severity,
  tag,
  option,
  arg 
)
Value:
(void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
"'%s' '%s'",option, arg)
WandExport MagickBooleanType CLIThrowException(MagickCLI *cli_wand, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: wandcli.c:318

Definition at line 29 of file wandcli-private.h.

Referenced by CLINoImageOperator().

◆ CLIWandExceptionBreak

#define CLIWandExceptionBreak (   severity,
  tag,
  option 
)    { CLIWandException(severity,tag,option); break; }

◆ CLIWandExceptionFile

#define CLIWandExceptionFile (   severity,
  tag,
  context 
)
Value:
{ char *message=GetExceptionMessage(errno); \
(void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
"'%s': %s",context,message); \
message=DestroyString(message); \
}
WandExport MagickBooleanType CLIThrowException(MagickCLI *cli_wand, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: wandcli.c:318

Definition at line 38 of file wandcli-private.h.

Referenced by ProcessScriptOptions().

◆ CLIWandExceptionReturn

#define CLIWandExceptionReturn (   severity,
  tag,
  option 
)    { CLIWandException(severity,tag,option); return; }

Definition at line 48 of file wandcli-private.h.

Referenced by CLIOption().

◆ CLIWandWarnReplaced

#define CLIWandWarnReplaced (   message)
Value:
if ( (cli_wand->process_flags & ProcessWarnDeprecated) != 0 ) \
(void) CLIThrowException(cli_wand,GetMagickModule(),OptionWarning, \
"ReplacedOption", "'%s', use \"%s\"",option,message)
WandExport MagickBooleanType CLIThrowException(MagickCLI *cli_wand, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: wandcli.c:318

Definition at line 33 of file wandcli-private.h.

Referenced by CLIListOperatorImages(), CLISettingOptionInfo(), and CLISimpleOperatorImage().

Typedef Documentation

◆ Stack

typedef struct _Stack Stack

Enumeration Type Documentation

◆ ProcessOptionFlags

Enumerator
ProcessImplictRead 
ProcessInterpretProperities 
ProcessExitOption 
ProcessScriptOption 
ProcessReadOption 
ProcessWarnDeprecated 
ProcessOneOptionOnly 
ProcessImplictWrite 
MagickCommandOptionFlags 
ConvertCommandOptionFlags 
MagickScriptArgsFlags 

Definition at line 60 of file wandcli-private.h.