Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

parse.h File Reference

Go to the source code of this file.


Data Structures

struct  arg_info

Defines

#define P_STRING   1
#define P_CHAR   2
#define P_SHORT   3
#define P_INT   4
#define P_LONG   5
#define P_FILE   6
#define P_OLD_FILE   7
#define P_NEW_FILE   8
#define P_FLOAT   9
#define P_DOUBLE   10
#define P_CASE_INSENSITIVE   01
#define P_REQUIRED_PREFIX   02
#define P_NO_ARGS   0
#define P_ONE_ARG   1
#define P_INFINITE_ARGS   2
#define p_entry(pref, swit, flag, count, type, store, size)   { (pref), (swit), (flag), (count), (type), (int *) (store), (size) }
#define Argdcl(x)   x

Functions

int arg_verify Argdcl ((char **, arg_info *, int))
void init_store Argdcl ((arg_info *, int))
int match_table Argdcl ((char *, arg_info *, int, int, int *))
int parse_args Argdcl ((int, char **, arg_info *, int, char **, int))

Define Documentation

#define Argdcl      x
 

Definition at line 40 of file parse.h.

#define P_CASE_INSENSITIVE   01
 

Definition at line 17 of file parse.h.

Referenced by arg_verify(), and match().

#define P_CHAR   2
 

Definition at line 7 of file parse.h.

Referenced by put_one_arg().

#define P_DOUBLE   10
 

Definition at line 15 of file parse.h.

Referenced by arg_verify(), and put_one_arg().

#define p_entry pref,
swit,
flag,
count,
type,
store,
size       { (pref), (swit), (flag), (count), (type), (int *) (store), (size) }
 

Definition at line 24 of file parse.h.

#define P_FILE   6
 

Definition at line 11 of file parse.h.

Referenced by put_one_arg().

#define P_FLOAT   9
 

Definition at line 14 of file parse.h.

Referenced by put_one_arg().

#define P_INFINITE_ARGS   2
 

Definition at line 22 of file parse.h.

Referenced by arg_verify(), and init_store().

#define P_INT   4
 

Definition at line 9 of file parse.h.

Referenced by put_one_arg().

#define P_LONG   5
 

Definition at line 10 of file parse.h.

Referenced by put_one_arg().

#define P_NEW_FILE   8
 

Definition at line 13 of file parse.h.

Referenced by put_one_arg().

#define P_NO_ARGS   0
 

Definition at line 20 of file parse.h.

Referenced by arg_verify(), and parse_args().

#define P_OLD_FILE   7
 

Definition at line 12 of file parse.h.

Referenced by put_one_arg().

#define P_ONE_ARG   1
 

Definition at line 21 of file parse.h.

Referenced by arg_parse(), and arg_verify().

#define P_REQUIRED_PREFIX   02
 

Definition at line 18 of file parse.h.

Referenced by arg_verify(), and match().

#define P_SHORT   3
 

Definition at line 8 of file parse.h.

Referenced by put_one_arg().

#define P_STRING   1
 

Definition at line 6 of file parse.h.

Referenced by put_one_arg().


Function Documentation

int parse_args Argdcl (int, char **, arg_info *, int, char **, int)   
 

int match_table Argdcl (char *, arg_info *, int, int, int *)   
 

void init_store Argdcl (arg_info *, int)   
 

int arg_verify Argdcl (char **, arg_info *, int)   
 

 

Powered by Plone

This site conforms to the following standards: