XSugar Tools  beta
SoftwareTools for XML processing
Classes | Defines | Enumerations | Functions
xsg-common-opt.h File Reference

Common command line options. More...

#import <Foundation/Foundation.h>

Go to the source code of this file.

Classes

struct  XsgCommonOption
 Common option information. More...

Defines

#define XsgCommonNextOptionId   3
 The option Id for the application.
#define XsgCommonHelpOptionForm   {XsgCommonHelpOptionId, 'h', "help", 0, "Print help message"}
 Format for help option.
#define XsgCommonVerboseOptionForm   {XsgCommonVerboseOptionId, 'v', "verbose", 0, "Print verbose message"}
 Format for verbose option.

Enumerations

enum  XsgCommonOptionId { XsgCommonHelpOptionId = 1, XsgCommonVerboseOptionId = 2 }
 Option ID which is commonly used on XSugarTools. More...

Functions

static void XsgInitCommonOption (struct XsgCommonOption *dst)
 Initialize common option information.

Detailed Description

Common command line options.

Copyright
Copyright (C) 2012 Steel Wheels Project

Enumeration Type Documentation

Option ID which is commonly used on XSugarTools.

Enumerator:
XsgCommonHelpOptionId 

Option for help

XsgCommonVerboseOptionId 

Option for verbose


Function Documentation

static void XsgInitCommonOption ( struct XsgCommonOption dst) [inline, static]

Initialize common option information.

Parameters:
dstDestination option information
 All Classes Files Functions Variables Enumerations Enumerator Defines