Polly 19.0.0git
Public Attributes | List of all members
isl_arg Struct Reference

#include <arg.h>

Public Attributes

enum isl_arg_type type
 
char short_name
 
const char * long_name
 
const char * argument_name
 
size_t offset
 
const char * help_msg
 
unsigned flags
 
union {
   struct {
      struct isl_arg_choice *   choice
 
      unsigned   default_value
 
      unsigned   default_selected
 
      int(*   set )(void *opt, unsigned val)
 
   }   choice
 
   struct {
      struct isl_arg_flags *   flags
 
      unsigned   default_value
 
   }   flags
 
   struct {
      unsigned   default_value
 
      int(*   set )(void *opt, unsigned val)
 
   }   b
 
   struct {
      int   default_value
 
   }   i
 
   struct {
      long   default_value
 
      long   default_selected
 
      int(*   set )(void *opt, long val)
 
   }   l
 
   struct {
      unsigned long   default_value
 
   }   ul
 
   struct {
      const char *   default_value
 
   }   str
 
   struct {
      size_t   offset_n
 
   }   str_list
 
   struct {
      struct isl_args *   child
 
   }   child
 
   struct {
      void(*   print_version )(void)
 
   }   version
 
   struct {
      int(*   init )(void *)
 
      void(*   clear )(void *)
 
   }   user
 
u
 

Detailed Description

Definition at line 51 of file arg.h.

Member Data Documentation

◆ argument_name

const char* isl_arg::argument_name

Definition at line 55 of file arg.h.

Referenced by print_int_help(), print_str_help(), and print_str_list_help().

◆ 

struct { ... } isl_arg::b

Referenced by parse_bool_option().

◆ child [1/2]

struct isl_args* isl_arg::child

◆  [2/2]

struct { ... } isl_arg::child

◆ choice [1/2]

struct isl_arg_choice* isl_arg::choice

Definition at line 65 of file arg.h.

Referenced by parse_choice_option(), print_choice_help(), and print_default_choice().

◆  [2/2]

struct { ... } isl_arg::choice

◆ clear

void(* isl_arg::clear) (void *)

Definition at line 103 of file arg.h.

◆ default_selected [1/2]

unsigned isl_arg::default_selected

Definition at line 67 of file arg.h.

Referenced by parse_long_option(), and print_long_help().

◆ default_selected [2/2]

long isl_arg::default_selected

Definition at line 83 of file arg.h.

◆ default_value [1/5]

unsigned isl_arg::default_value

Definition at line 66 of file arg.h.

Referenced by parse_long_option().

◆ default_value [2/5]

int isl_arg::default_value

Definition at line 79 of file arg.h.

◆ default_value [3/5]

long isl_arg::default_value

Definition at line 82 of file arg.h.

◆ default_value [4/5]

unsigned long isl_arg::default_value

Definition at line 87 of file arg.h.

◆ default_value [5/5]

const char* isl_arg::default_value

Definition at line 90 of file arg.h.

◆ flags [1/3]

unsigned isl_arg::flags

◆ flags [2/3]

struct isl_arg_flags* isl_arg::flags

Definition at line 71 of file arg.h.

◆  [3/3]

struct { ... } isl_arg::flags

◆ help_msg

const char* isl_arg::help_msg

Definition at line 58 of file arg.h.

Referenced by print_default(), print_default_flags(), and print_help_msg().

◆ 

struct { ... } isl_arg::i

◆ init

int(* isl_arg::init) (void *)

Definition at line 102 of file arg.h.

◆ 

struct { ... } isl_arg::l

◆ long_name

const char* isl_arg::long_name

◆ offset

size_t isl_arg::offset

◆ offset_n

size_t isl_arg::offset_n

Definition at line 93 of file arg.h.

Referenced by isl_arg_str_list_append().

◆ print_version

void(* isl_arg::print_version) (void)

Definition at line 99 of file arg.h.

Referenced by print_version().

◆ set

int(* isl_arg::set) (void *opt, long val)

Definition at line 68 of file arg.h.

Referenced by parse_bool_option(), and parse_long_option().

◆ short_name

char isl_arg::short_name

Definition at line 53 of file arg.h.

Referenced by print_arg_help(), and skip_name().

◆ 

struct { ... } isl_arg::str

◆ 

struct { ... } isl_arg::str_list

Referenced by isl_arg_str_list_append().

◆ type

enum isl_arg_type isl_arg::type

◆ 

union { ... } isl_arg::u

◆ 

struct { ... } isl_arg::ul

◆ 

struct { ... } isl_arg::user

◆ 

struct { ... } isl_arg::version

Referenced by print_version().


The documentation for this struct was generated from the following file: