Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ost_commandoptionwitharg(3) [debian man page]

ost::CommandOptionWithArg(3)				     Library Functions Manual				      ost::CommandOptionWithArg(3)

NAME
ost::CommandOptionWithArg - Derived class of CommandOption for options that have a value associated with them. SYNOPSIS
#include <cmdoptns.h> Inherits ost::CommandOption. Inherited by ost::CommandOptionArg, ost::CommandOptionCollect, and ost::CommandOptionRest. Public Member Functions CommandOptionWithArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionType inOptionType, bool inRequired=false, CommandOption **ppNext=&defaultCommandOptionList) CommandOptionWithArg contructor. virtual ~CommandOptionWithArg () virtual void foundOption (CommandOptionParse *cop, const char *value=0) virtual void foundOption (CommandOptionParse *cop, const char **value, int num) virtual bool hasValue () Public Attributes const char ** values Array of list of values collected for this option. int numValue Number of values in the values array. Additional Inherited Members Detailed Description Derived class of CommandOption for options that have a value associated with them. Classes CommandOptionRest and CommandOptionArg derive from this class. Constructor &; Destructor Documentation ost::CommandOptionWithArg::CommandOptionWithArg (const char *inOptionName, const char *inOptionLetter, const char *inDescription, OptionTypeinOptionType, boolinRequired = false, CommandOption **ppNext = &defaultCommandOptionList) CommandOptionWithArg contructor. Note the default values for required and ppNext. Parameters: inOptionName long option name inOptionLetter short letter name inDescription short description of the option inOptionType the type of this option inRequired true if option is required ppNext the linked list header virtual ost::CommandOptionWithArg::~CommandOptionWithArg () [virtual] Member Function Documentation virtual void ost::CommandOptionWithArg::foundOption (CommandOptionParse *cop, const char *value = 0) [virtual] Reimplemented from ost::CommandOption. virtual void ost::CommandOptionWithArg::foundOption (CommandOptionParse *cop, const char **value, intnum) [virtual] Reimplemented from ost::CommandOption. virtual bool ost::CommandOptionWithArg::hasValue () [virtual] Reimplemented from ost::CommandOption. Member Data Documentation int ost::CommandOptionWithArg::numValue Number of values in the values array. const char** ost::CommandOptionWithArg::values Array of list of values collected for this option. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionWithArg(3)

Check Out this Related Man Page

ost::Time(3)						     Library Functions Manual						      ost::Time(3)

NAME
ost::Time - The Time class uses a integer representation of the current time. SYNOPSIS
#include <numbers.h> Inherited by ost::Datetime. Public Member Functions Time (time_t tm) Time (tm *dt) Time (char *str, size_t size=0) Time (int hour, int minute, int second) Time () virtual ~Time () long getValue (void) const int getHour (void) const int getMinute (void) const int getSecond (void) const char * getTime (char *buffer) const time_t getTime (void) const tm * getTime (tm *buf) const void setTime (char *str, size_t size=0) bool isValid (void) const operator long () String operator() () const Time & operator++ () Time & operator-- () Time & operator+= (const int val) Time & operator-= (const int val) int operator== (const Time &time) int operator!= (const Time &time) int operator< (const Time &time) int operator<= (const Time &time) int operator> (const Time &time) int operator>= (const Time &time) bool operator! () const Protected Member Functions void toSeconds (int hour, int minute, int second) void fromSeconds (char *buf) const virtual void update (void) Protected Attributes long seconds Friends Time operator+ (const Time &time1, const Time &time2) Time operator- (const Time &time1, const Time &time2) Time operator+ (const Time &time, const int val) Time operator- (const Time &time, const int val) Time operator+ (const int val, const Time &time) Time operator- (const int val, const Time &time) Detailed Description The Time class uses a integer representation of the current time. This is then manipulated in several forms and may be exported as needed. Author: Marcelo Dalmas mad@brasmap.com.br Integer based time class. Constructor &; Destructor Documentation ost::Time::Time (time_ttm) ost::Time::Time (tm *dt) ost::Time::Time (char *str, size_tsize = 0) ost::Time::Time (inthour, intminute, intsecond) ost::Time::Time () virtual ost::Time::~Time () [virtual] Member Function Documentation void ost::Time::fromSeconds (char *buf) const [protected] int ost::Time::getHour (void) const int ost::Time::getMinute (void) const int ost::Time::getSecond (void) const char* ost::Time::getTime (char *buffer) const time_t ost::Time::getTime (void) const tm* ost::Time::getTime (tm *buf) const long ost::Time::getValue (void) const bool ost::Time::isValid (void) const Reimplemented in ost::Datetime. ost::Time::operator long () [inline] bool ost::Time::operator! (void) const [inline] Reimplemented in ost::Datetime. int ost::Time::operator!= (const Time &time) String ost::Time::operator() () const Time& ost::Time::operator++ () Time& ost::Time::operator+= (const intval) Time& ost::Time::operator-- () Time& ost::Time::operator-= (const intval) int ost::Time::operator< (const Time &time) int ost::Time::operator<= (const Time &time) int ost::Time::operator== (const Time &time) int ost::Time::operator> (const Time &time) int ost::Time::operator>= (const Time &time) void ost::Time::setTime (char *str, size_tsize = 0) void ost::Time::toSeconds (inthour, intminute, intsecond) [protected] virtual void ost::Time::update (void) [protected], [virtual] Friends And Related Function Documentation Time operator+ (const Time &time1, const Time &time2) [friend] Time operator+ (const Time &time, const intval) [friend] Time operator+ (const intval, const Time &time) [friend] Time operator- (const Time &time1, const Time &time2) [friend] Time operator- (const Time &time, const intval) [friend] Time operator- (const intval, const Time &time) [friend] Member Data Documentation long ost::Time::seconds [protected] Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::Time(3)
Man Page