wandcli-private.h File Reference

Go to the source code of this file.

Data Structures

struct  _Stack
struct  _MagickCLI

Defines

#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
}

Define Documentation

#define CLIWandExceptArgBreak ( severity,
tag,
option,
arg   )     { CLIWandExceptionArg(severity,tag,option,arg); break; }
#define CLIWandExceptArgReturn ( severity,
tag,
option,
arg   )     { CLIWandExceptionArg(severity,tag,option,arg); return; }
#define CLIWandException ( severity,
tag,
option   ) 
Value:
(void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
       "`%s'",option)

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

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

Referenced by CLINoImageOperator().

#define CLIWandExceptionBreak ( severity,
tag,
option   )     { CLIWandException(severity,tag,option); break; }
#define CLIWandExceptionFile ( severity,
tag,
context   ) 
Value:
{ char *message=GetExceptionMessage(errno); \
  (void) CLIThrowException(cli_wand,GetMagickModule(),severity,tag, \
       "'%s': %s",context,message); \
  message=DestroyString(message); \
}

Referenced by ProcessScriptOptions().

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

Referenced by CLIOption().

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

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


Typedef Documentation

typedef struct _Stack Stack

Enumeration Type Documentation

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

Generated on 6 Jul 2020 for MagickWand by  doxygen 1.6.1