#include <command_line_flags.h>
Author: Sergey Berezin
Date: Fri May 30 14:10:48 2003
This class implements a data structure to hold a value of a single command line flag.
Definition at line 60 of file command_line_flags.h.
|
Constructor for a boolean flag.
Definition at line 77 of file command_line_flags.h. References d_data. |
|
Constructor for an integer flag.
Definition at line 81 of file command_line_flags.h. References d_data. |
|
Constructor for a string flag.
Definition at line 85 of file command_line_flags.h. References d_data. |
|
Constructor for a string flag from char*.
Definition at line 90 of file command_line_flags.h. References d_data. |
|
Constructor for a vector flag.
Definition at line 95 of file command_line_flags.h. |
|
Default constructor.
Definition at line 101 of file command_line_flags.h. |
|
Copy constructor.
Definition at line 103 of file command_line_flags.h. References CVCL::CLFLAG_STRING, CVCL::CLFLAG_STRVEC, d_data, and d_tp. |
|
Destructor.
Definition at line 114 of file command_line_flags.h. References CVCL::CLFLAG_STRING, CVCL::CLFLAG_STRVEC, d_data, and d_tp. |
|
Assignment from another flag.
Definition at line 122 of file command_line_flags.h. References CVCL::CLFLAG_STRING, CVCL::CLFLAG_STRVEC, d_data, d_help, d_modified, and d_tp. |
|
Assignment of a boolean value. The flag must already have the right type Definition at line 152 of file command_line_flags.h. References CVCL::CLFLAG_BOOL, d_data, d_modified, and d_tp. |
|
Assignment of an integer value. The flag must already have the right type Definition at line 160 of file command_line_flags.h. References CVCL::CLFLAG_INT, d_data, d_modified, and d_tp. |
|
Assignment of a string value. The flag must already have a string type. Definition at line 168 of file command_line_flags.h. References CVCL::CLFLAG_STRING, d_data, d_modified, and d_tp. |
|
Assignment of an string value from char*. The flag must already have a string type. Definition at line 176 of file command_line_flags.h. References CVCL::CLFLAG_STRING, d_data, d_modified, and d_tp. |
|
Assignment of a string value with a boolean tag to a vector flag. The flag must already have a vector type. The pair of <string,bool> will be appended to the vector. Definition at line 185 of file command_line_flags.h. References CVCL::CLFLAG_STRVEC, d_data, d_modified, and d_tp. |
|
Assignment of a vector value. The flag must already have a vector type. Definition at line 193 of file command_line_flags.h. References CVCL::CLFLAG_STRVEC, d_data, d_modified, d_tp, and sv. |
|
Return the type of the flag.
Definition at line 201 of file command_line_flags.h. References d_tp. Referenced by CVCL::VCCmd::evaluateCommand(), printUsage(), and CVCL::CLFlags::setFlag(). |
|
Return true if the flag was modified from the default value (e.g. set on the command line).
Definition at line 204 of file command_line_flags.h. References d_modified. Referenced by CVCL::VCCmd::evaluateCommand(). |
|
Definition at line 211 of file command_line_flags.h. References CVCL::CLFLAG_BOOL, d_data, and d_tp. Referenced by printUsage(). |
|
Definition at line 216 of file command_line_flags.h. References CVCL::CLFLAG_INT, d_data, and d_tp. Referenced by printUsage(). |
|
Definition at line 221 of file command_line_flags.h. References CVCL::CLFLAG_STRING, d_data, and d_tp. Referenced by printUsage(). |
|
Definition at line 227 of file command_line_flags.h. References CVCL::CLFLAG_STRVEC, d_data, and d_tp. |
|
Definition at line 233 of file command_line_flags.h. References d_help. Referenced by printUsage(). |
|
Type of the argument.
Definition at line 63 of file command_line_flags.h. Referenced by CLFlag(), getBool(), getInt(), getString(), getStrVec(), getType(), operator=(), and ~CLFlag(). |
|
Definition at line 66 of file command_line_flags.h. |
|
Definition at line 67 of file command_line_flags.h. |
|
Definition at line 68 of file command_line_flags.h. |
|
Definition at line 69 of file command_line_flags.h. Referenced by CLFlag(), and operator=(). |
|
The argument.
Referenced by CLFlag(), getBool(), getInt(), getString(), getStrVec(), operator=(), and ~CLFlag(). |
|
This tag is set to true when the flag is assigned a new value.
Definition at line 72 of file command_line_flags.h. Referenced by modified(), and operator=(). |
|
Help string.
Definition at line 74 of file command_line_flags.h. Referenced by getHelp(), and operator=(). |