MagickWand 7.1.0
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; }

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

◆ 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 *magick_module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: wandcli.c:305

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

◆ CLIWandExceptionArg

#define CLIWandExceptionArg (   severity,
  tag,
  option,
  arg 
)
Value:
(void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
"'%s' '%s'",option, arg)

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

◆ CLIWandExceptionBreak

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

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

◆ 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); \
}

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

◆ CLIWandExceptionReturn

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

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

◆ CLIWandWarnReplaced

#define CLIWandWarnReplaced (   message)
Value:
if ( (cli_wand->process_flags & ProcessWarnDeprecated) != 0 ) \
(void) CLIThrowException(cli_wand,GetMagickModule(),OptionWarning, \
"ReplacedOption", "'%s', use \"%s\"",option,message)
@ ProcessWarnDeprecated

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

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.