Poster of Linux kernelThe best gift for a Linux geek
ost::CommandOptionNoArg

ost::CommandOptionNoArg

Section: C Library Functions (3) Updated: 16 Feb 2010
Local index Up
 

NAME

ost::CommandOptionNoArg -

CommandOption type for flags.

 

SYNOPSIS


#include <cmdoptns.h>

Inherits ost::CommandOption.  

Public Member Functions


CommandOptionNoArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList)
CommandOptionArg contructor.
virtual void foundOption (CommandOptionParse *cop, const char *value=0)
CommandOptionNoArg::foundOption will evpect a nil 'value' passed in.  

Public Attributes


int numSet
The number of times this value has been set.  

Detailed Description

CommandOption type for flags.

Examples:

cmdlineopt.cpp.  

Constructor & Destructor Documentation

 

ost::CommandOptionNoArg::CommandOptionNoArg (const char * inOptionName, const char * inOptionLetter, const char * inDescription, bool inRequired = false, CommandOption ** ppNext = &defaultCommandOptionList)

CommandOptionArg contructor. This sets the optionType for this object to NoArg.

Parameters:

inOptionName long option name
inOptionLetter short letter name
inDescription short description of the option
inRequired true if option is required
ppNext the linked list header

 

Member Function Documentation

 

virtual void ost::CommandOptionNoArg::foundOption (CommandOptionParse * cop, const char * value = 0) [virtual]

CommandOptionNoArg::foundOption will evpect a nil 'value' passed in.

Reimplemented from ost::CommandOption.  

Member Data Documentation

 

int ost::CommandOptionNoArg::numSet

The number of times this value has been set.

 

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.


 

Index

NAME
SYNOPSIS
Public Member Functions
Public Attributes
Detailed Description
Constructor & Destructor Documentation
ost::CommandOptionNoArg::CommandOptionNoArg (const char * inOptionName, const char * inOptionLetter, const char * inDescription, bool inRequired = false, CommandOption ** ppNext = &defaultCommandOptionList)
Member Function Documentation
virtual void ost::CommandOptionNoArg::foundOption (CommandOptionParse * cop, const char * value = 0) [virtual]
Member Data Documentation
int ost::CommandOptionNoArg::numSet
Author

This document was created by man2html, using the manual pages.
Time: 21:51:50 GMT, April 16, 2011