gifsicle  1.92
About: Gifsicle is a UNIX command-line tool for creating, editing, and getting information about GIF images and animations.
  Fossies Dox: gifsicle-1.92.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Clp_Parser Struct Reference

Command line parser. More...

#include <clp.h>

Collaboration diagram for Clp_Parser:
[legend]

Data Fields

const Clp_Optionoption
 
int negated
 
int have_val
 
const char * vstr
 
union {
   int   i
 
   unsigned   u
 
   long   l
 
   unsigned long   ul
 
   double   d
 
   const char *   s
 
   void *   pv
 
   char   cs [40]
 
   unsigned char   ucs [40]
 
   int   is [10]
 
   unsigned   us [10]
 
val
 
void * user_data
 
struct Clp_Internalinternal
 

Detailed Description

Command line parser.

A Clp_Parser object defines an instance of CLP, including allowed options, value types, and current arguments.

See also
Clp_NewParser, Clp_SetOptions, Clp_SetArguments

Definition at line 234 of file clp.h.

Field Documentation

◆ cs

char Clp_Parser::cs[40]

Definition at line 255 of file clp.h.

◆ d

double Clp_Parser::d

Definition at line 248 of file clp.h.

◆ have_val

int Clp_Parser::have_val

Whether the last option had a value.

Definition at line 239 of file clp.h.

Referenced by find_short(), and main().

◆ i

int Clp_Parser::i

Definition at line 244 of file clp.h.

Referenced by main(), and parse_string_list().

◆ internal

struct Clp_Internal* Clp_Parser::internal

Definition at line 265 of file clp.h.

Referenced by Clp_IsShort(), Clp_ProgramName(), Clp_vbsprintf(), and compare_options().

◆ is

int Clp_Parser::is[10]

Definition at line 257 of file clp.h.

◆ l

long Clp_Parser::l

Definition at line 246 of file clp.h.

Referenced by parse_string_list().

◆ negated

int Clp_Parser::negated

Whether the last option was negated.

Definition at line 237 of file clp.h.

Referenced by main().

◆ option

const Clp_Option* Clp_Parser::option

The last option.

Definition at line 235 of file clp.h.

◆ pv

void* Clp_Parser::pv

Definition at line 250 of file clp.h.

◆ s

const char* Clp_Parser::s

Definition at line 249 of file clp.h.

Referenced by main().

◆ u

unsigned Clp_Parser::u

Definition at line 245 of file clp.h.

Referenced by main().

◆ ucs

unsigned char Clp_Parser::ucs[40]

Definition at line 256 of file clp.h.

◆ ul

unsigned long Clp_Parser::ul

Definition at line 247 of file clp.h.

◆ us

unsigned Clp_Parser::us[10]

Definition at line 258 of file clp.h.

◆ user_data

void* Clp_Parser::user_data

Uninterpreted by CLP; users can set arbitrarily.

Definition at line 262 of file clp.h.

◆ val

union { ... } Clp_Parser::val

The parsed value provided with the last option.

Referenced by main(), and parse_string_list().

◆ vstr

const char* Clp_Parser::vstr

The string value provided with the last option.

Definition at line 240 of file clp.h.

Referenced by find_short(), and main().


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