13#ifndef ___optionsBasicTypes___
14#define ___optionsBasicTypes___
21#include "smartpointer.h"
24#include "tree_browser.h"
31#include "msrBasicTypes.h"
32#include "lpsrBasicTypes.h"
34#include "setTraceOahIfDesired.h"
36#include "oahElements.h"
46typedef SMARTP<oahValuedAtom> S_oahValuedAtom;
49typedef SMARTP<oahSubGroup> S_oahSubGroup;
52typedef SMARTP<oahGroup> S_oahGroup;
55typedef SMARTP<oahHandler> S_oahHandler;
87 void setSubGroupUpLink (
91 {
return fSubGroupUpLink; }
98 void registerAtomInHandler (
116 void print (ostream& os)
const;
118 virtual void printAtomOptionsValues (
120 int valueFieldWidth)
const;
130EXP ostream& operator<< (ostream& os,
const S_oahAtom& elt);
165 {
return fOriginalOahAtom; }
187 void print (ostream& os)
const;
189 void printAtomOptionsValues (
191 int valueFieldWidth)
const;
257 void print (ostream& os)
const;
261 void printAtomOptionsValues (
263 int valueFieldWidth)
const;
327 void print (ostream& os)
const;
329 void printOptionsSummary (ostream& os)
const;
331 void printAtomOptionsValues (
333 int valueFieldWidth)
const;
355 string variableName);
366 string variableName);
375 string getVariableName ()
const
376 {
return fVariableName; }
383 virtual int fetchVariableNameLength ()
const
384 {
return fVariableName.size (); }
401 void print (ostream& os)
const;
403 void printAtomOptionsValues (
405 int valueFieldWidth)
const;
412 string fVariableName;
430 bool& booleanVariable);
442 bool& booleanVariable);
451 void setBooleanVariable (
453 { fBooleanVariable = value; }
479 void print (ostream& os)
const;
481 void printAtomOptionsValues (
483 int valueFieldWidth)
const;
490 bool& fBooleanVariable;
508 bool& booleanVariable,
509 bool& booleanSecondaryVariable);
521 bool& booleanVariable,
522 bool& booleanSecondaryVariable);
531 void setTwoBooleansVariables (
536 fBooleanSecondaryVariable =
564 void print (ostream& os)
const;
566 void printAtomOptionsValues (
568 int valueFieldWidth)
const;
575 bool& fBooleanSecondaryVariable;
593 bool& booleanVariable,
594 bool& booleanSecondaryVariable,
595 bool& booleanTertiaryVariable);
607 bool& booleanVariable,
608 bool& booleanSecondaryVariable,
609 bool& booleanTertiaryVariable);
618 void setThreeBooleansVariables (
623 fBooleanSecondaryVariable =
625 fBooleanTertiaryVariable =
653 void print (ostream& os)
const;
655 void printAtomOptionsValues (
657 int valueFieldWidth)
const;
664 bool& fBooleanSecondaryVariable;
665 bool& fBooleanTertiaryVariable;
683 bool& booleanVariable);
695 bool& booleanVariable);
704 const list<S_oahBooleanAtom>&
705 getBooleanAtomsList ()
706 {
return fBooleanAtomsList; }
711 void addBooleanAtom (
714 void addBooleanAtomByName (
717 void setCombinedBooleanVariables (
739 void print (ostream& os)
const;
741 void printHelp (ostream& os);
743 void printAtomOptionsValues (
745 int valueFieldWidth)
const;
752 bool& fBooleanVariable;
754 list<S_oahBooleanAtom>
780 string prefixDescription);
790 string prefixDescription);
799 string getPrefixName ()
const
800 {
return fPrefixName; }
802 string getPrefixErsatz ()
const
803 {
return fPrefixErsatz; }
805 string getPrefixDescription ()
const
806 {
return fPrefixDescription; }
818 string prefixNames ()
const;
819 string prefixNamesInColumns (
820 int subGroupsShortNameFieldWidth)
const;
822 string prefixNamesBetweenParentheses ()
const;
823 string prefixNamesInColumnsBetweenParentheses (
824 int subGroupsShortNameFieldWidth)
const;
826 string operator () ()
const
827 {
return fPrefixErsatz; }
844 virtual void printPrefixHeader (ostream& os)
const;
846 virtual void printPrefixEssentials (
848 int fieldWidth)
const;
850 virtual void print (ostream& os)
const;
852 virtual void printHelp (ostream& os);
860 string fPrefixErsatz;
861 string fPrefixDescription;
863EXP ostream& operator<< (ostream& os,
const S_oahPrefix& elt);
875 string shortSuffixDescriptor,
876 string longSuffixDescriptor,
887 string shortSuffixDescriptor,
888 string longSuffixDescriptor,
899 const list<S_oahBooleanAtom>&
900 getBooleanAtomsList ()
901 {
return fBooleanAtomsList; }
906 void addBooleanAtom (
909 void addBooleanAtomByName (
931 void print (ostream& os)
const;
933 void printHelp (ostream& os);
935 void printAtomOptionsValues (
937 int valueFieldWidth)
const;
947 string fShortSuffixDescriptor;
948 string fLongSuffixDescriptor;
950 list<S_oahBooleanAtom>
953 string fShortNamesPrefixName;
954 string fLongNamesPrefixName;
956 list<string> fShortNamesSuffixes;
957 list<string> fLongNamesSuffixes;
970 enum oahValuedAtomKind {
972 kAtomHasARequiredArgument,
973 kAtomHasAnOptionsArgument };
975 static string oahAtomKindAsString (
976 oahValuedAtomKind oahAtomKind);
985 string valueSpecification,
986 string variableName);
997 string valueSpecification,
998 string variableName);
1008 getValuedAtomKind ()
const
1009 {
return fValuedAtomKind; }
1011 string getValueSpecification ()
const
1012 {
return fValueSpecification; }
1014 void setValueIsOptional ();
1016 bool getValueIsOptional ()
const
1017 {
return fValueIsOptional; }
1024 virtual void handleValue (
1028 virtual void handleDefaultValue ();
1046 virtual void printValuedAtomEssentials (
1048 int fieldWidth)
const;
1050 void print (ostream& os)
const;
1052 void printHelp (ostream& os);
1054 virtual void printAtomOptionsValues (
1056 int valueFieldWidth)
const;
1063 oahValuedAtomKind fValuedAtomKind;
1065 string fValueSpecification;
1067 bool fValueIsOptional;
1074enum oahOptionalValuesStyleKind {
1075 kOptionalValuesStyleGNU,
1076 kOptionalValuesStyleOAH };
1078string oahOptionalValuesStyleKindAsString (
1079 oahOptionalValuesStyleKind optionalValuesStyleKind);
1081extern map<string, oahOptionalValuesStyleKind>
1082 gOahOptionalValuesStyleKindsMap;
1084string existingOahOptionalValuesStyleKinds (
int namesListMaxLength);
1086void initializeOahOptionalValuesStyleKindsMap ();
1100 string valueSpecification,
1101 string variableName,
1102 int& integerVariable);
1113 string valueSpecification,
1114 string variableName,
1115 int& integerVariable);
1127 void setIntegerVariable (
1129 { fIntegerVariable = value; }
1159 string asShortNamedOptionString ()
const;
1160 string asActualLongNamedOptionString ()
const;
1162 void print (ostream& os)
const;
1164 void printAtomOptionsValues (
1166 int valueFieldWidth)
const;
1172 int& fIntegerVariable;
1189 string valueSpecification,
1190 string variableName,
1191 int& integerVariable,
1192 int& integerSecondaryVariable);
1203 string valueSpecification,
1204 string variableName,
1205 int& integerVariable,
1206 int& integerSecondaryVariable);
1218 void setIntegerVariable (
1220 { fIntegerVariable = value; }
1250 string asShortNamedOptionString ()
const;
1251 string asActualLongNamedOptionString ()
const;
1253 void print (ostream& os)
const;
1255 void printAtomOptionsValues (
1257 int valueFieldWidth)
const;
1263 int& fIntegerSecondaryVariable;
1280 string valueSpecification,
1281 string variableName,
1282 float& floatVariable);
1293 string valueSpecification,
1294 string variableName,
1295 float& floatVariable);
1304 void setFloatVariable (
1306 { fFloatVariable = value; }
1336 string asShortNamedOptionString ()
const;
1337 string asActualLongNamedOptionString ()
const;
1339 void print (ostream& os)
const;
1341 void printAtomOptionsValues (
1343 int valueFieldWidth)
const;
1350 float& fFloatVariable;
1367 string valueSpecification,
1368 string variableName,
1369 string& stringVariable);
1380 string valueSpecification,
1381 string variableName,
1382 string& stringVariable);
1391 void setStringVariable (
1393 { fStringVariable = value; }
1423 string asShortNamedOptionString ()
const;
1424 string asActualLongNamedOptionString ()
const;
1426 void print (ostream& os)
const;
1428 void printAtomOptionsValues (
1430 int valueFieldWidth)
const;
1437 string& fStringVariable;
1452 string atomNameDescriptor,
1453 string stringValueDescriptor);
1462 string atomNameDescriptor,
1463 string stringValueDescriptor);
1472 const list<S_oahStringAtom>&
1473 getStringAtomsList ()
1474 {
return fStringAtomsList; }
1479 void addStringAtom (
1482 void addStringAtomByName (
1504 void print (ostream& os)
const;
1506 void printHelp (ostream& os);
1508 void printAtomOptionsValues (
1510 int valueFieldWidth)
const;
1517 string fAtomNameDescriptor;
1518 string fStringValueDescriptor;
1520 list<S_oahStringAtom>
1523 list<string> fAtomNamesList;
1540 string valueSpecification,
1541 string variableName,
1542 string& stringVariable,
1543 string defaultStringValue);
1554 string valueSpecification,
1555 string variableName,
1556 string& stringVariable,
1557 string defaultStringValue);
1566 void setStringVariable (
1568 { oahStringAtom::setStringVariable (value); }
1598 string asShortNamedOptionString ()
const;
1599 string asActualLongNamedOptionString ()
const;
1601 void print (ostream& os)
const;
1603 void printAtomOptionsValues (
1605 int valueFieldWidth)
const;
1612 string fDefaultStringValue;
1629 string valueSpecification,
1630 string variableName,
1642 string valueSpecification,
1643 string variableName,
1653 void setRationalVariable (
1655 { fRationalVariable = value; }
1685 string asShortNamedOptionString ()
const;
1686 string asActualLongNamedOptionString ()
const;
1688 void print (ostream& os)
const;
1690 void printAtomOptionsValues (
1692 int valueFieldWidth)
const;
1716 string valueSpecification,
1717 string variableName,
1718 set<int>& naturalNumbersSetVariable);
1729 string valueSpecification,
1730 string variableName,
1731 set<int>& naturalNumbersSetVariable);
1740 void setNaturalNumbersSetVariable (
1742 { fNaturalNumbersSetVariable = value; }
1772 string asShortNamedOptionString ()
const;
1773 string asActualLongNamedOptionString ()
const;
1775 void print (ostream& os)
const;
1777 void printAtomOptionsValues (
1779 int valueFieldWidth)
const;
1786 set<int>& fNaturalNumbersSetVariable;
1803 string valueSpecification,
1804 string variableName,
1806 bool& hasBeenSetVariable);
1817 string valueSpecification,
1818 string variableName,
1820 bool& hasBeenSetVariable);
1829 void setRGBColorVariable (
1831 { fRGBColorVariable = value; }
1861 string asShortNamedOptionString ()
const;
1862 string asActualLongNamedOptionString ()
const;
1864 void print (ostream& os)
const;
1866 void printAtomOptionsValues (
1868 int valueFieldWidth)
const;
1876 bool& fHasBeenSetVariable;
1893 string valueSpecification,
1894 string variableName,
1895 set<int>& intSetVariable);
1906 string valueSpecification,
1907 string variableName,
1908 set<int>& intSetVariable);
1917 const set<int>& getIntSetVariable ()
1918 {
return fIntSetVariable; }
1948 string asShortNamedOptionString ()
const;
1949 string asActualLongNamedOptionString ()
const;
1951 void print (ostream& os)
const;
1953 void printAtomOptionsValues (
1955 int valueFieldWidth)
const;
1962 set<int>& fIntSetVariable;
1979 string valueSpecification,
1980 string variableName,
1981 set<string>& stringSetVariable);
1992 string valueSpecification,
1993 string variableName,
1994 set<string>& stringSetVariable);
2003 void setStringSetVariable (
2005 { fStringSetVariable.insert (partName); }
2007 const set<string>& getStringSetVariable ()
2008 {
return fStringSetVariable; }
2038 string asShortNamedOptionString ()
const;
2039 string asActualLongNamedOptionString ()
const;
2041 void print (ostream& os)
const;
2043 void printAtomOptionsValues (
2045 int valueFieldWidth)
const;
2052 set<string>& fStringSetVariable;
2069 string valueSpecification,
2070 string variableName,
2071 map<string, int>& stringToIntMapVariable);
2082 string valueSpecification,
2083 string variableName,
2084 map<string, int>& stringToIntMapVariable);
2093 const map<string, int>&
2094 getStringToIntMapVariable ()
2095 {
return fStringToIntMapVariable; }
2125 string asShortNamedOptionString ()
const;
2126 string asActualLongNamedOptionString ()
const;
2128 void print (ostream& os)
const;
2130 void printAtomOptionsValues (
2132 int valueFieldWidth)
const;
2139 map<string, int>& fStringToIntMapVariable;
2156 string valueSpecification,
2157 string stringVariableName,
2158 string& stringVariable,
2159 string integerVariableName,
2160 int& integerVariable);
2171 string valueSpecification,
2172 string stringVariableName,
2173 string& stringVariable,
2174 string integerVariableName,
2175 int& integerVariable);
2184 void setStringVariable (
2186 { fStringVariable = value; }
2188 string getStringVariable ()
const
2189 {
return fStringVariable; }
2191 void setIntegerVariable (
2193 { fIntegerVariable = value; }
2195 int getIntegerVariable ()
const
2196 {
return fIntegerVariable; }
2226 string asShortNamedOptionString ()
const;
2227 string asActualLongNamedOptionString ()
const;
2229 void print (ostream& os)
const;
2231 void printAtomOptionsValues (
2233 int valueFieldWidth)
const;
2240 string fStringVariableName;
2241 string& fStringVariable;
2243 string fIntegerVariableName;
2244 int& fIntegerVariable;
2261 string valueSpecification,
2262 string variableName,
2263 string& stringVariable,
2264 int& primaryIntegerVariable,
2265 int& secondaryIntegerVariable);
2276 string valueSpecification,
2277 string variableName,
2278 string& stringVariable,
2279 int& primaryIntegerVariable,
2280 int& secondaryIntegerVariable);
2289 void setStringVariable (
2291 { fStringVariable = value; }
2293 string getStringVariable ()
const
2294 {
return fStringVariable; }
2296 void setPrimaryIntegerVariable (
2298 { fPrimaryIntegerVariable = value; }
2300 int getPrimaryIntegerVariable ()
const
2301 {
return fPrimaryIntegerVariable; }
2303 void setSecondaryIntegerVariable (
2305 { fSecondaryIntegerVariable = value; }
2307 int getSecondaryIntegerVariable ()
const
2308 {
return fSecondaryIntegerVariable; }
2338 string asShortNamedOptionString ()
const;
2339 string asActualLongNamedOptionString ()
const;
2341 void print (ostream& os)
const;
2343 void printAtomOptionsValues (
2345 int valueFieldWidth)
const;
2352 string& fStringVariable;
2354 int& fPrimaryIntegerVariable;
2355 int& fSecondaryIntegerVariable;
2372 string valueSpecification,
2373 string variableName,
2374 msrLengthUnitKind& lengthUnitKindVariable);
2385 string valueSpecification,
2386 string variableName,
2387 msrLengthUnitKind& lengthUnitKindVariable);
2396 void setLengthUnitKindVariable (
2397 msrLengthUnitKind value)
2398 { fLengthUnitKindVariable = value; }
2428 string asShortNamedOptionString ()
const;
2429 string asActualLongNamedOptionString ()
const;
2431 void print (ostream& os)
const;
2433 void printAtomOptionsValues (
2435 int valueFieldWidth)
const;
2442 msrLengthUnitKind& fLengthUnitKindVariable;
2459 string valueSpecification,
2460 string variableName,
2472 string valueSpecification,
2473 string variableName,
2483 void setLengthVariable (
2485 { fLengthVariable = value; }
2515 string asShortNamedOptionString ()
const;
2516 string asActualLongNamedOptionString ()
const;
2518 void print (ostream& os)
const;
2520 void printAtomOptionsValues (
2522 int valueFieldWidth)
const;
2546 string valueSpecification,
2547 string variableName,
2559 string valueSpecification,
2560 string variableName,
2570 void setMidiTempoAtomVariable (
2572 { fMidiTempoAtomVariable = value; }
2575 {
return fMidiTempoAtomVariable; }
2605 string asShortNamedOptionString ()
const;
2606 string asActualLongNamedOptionString ()
const;
2608 void print (ostream& os)
const;
2610 void printAtomOptionsValues (
2612 int valueFieldWidth)
const;
2643 string valueSpecification,
2644 string variableName,
2645 string& stringVariable,
2646 string defaultOptionName);
2657 string valueSpecification,
2658 string variableName,
2659 string& stringVariable,
2660 string defaultOptionName);
2685 void handleDefaultValue ();
2702 string asShortNamedOptionString ()
const;
2703 string asActualLongNamedOptionString ()
const;
2705 void print (ostream& os)
const;
2707 virtual void printAtomOptionsValues (
2709 int valueFieldWidth)
const;
2715 string fValueSpecification;
2729 string subGroupHeader,
2733 oahElementVisibilityKind optionVisibilityKind,
2742 string subGroupHeader,
2746 oahElementVisibilityKind optionVisibilityKind,
2756 void setGroupUpLink (
2761 {
return fGroupUpLink; }
2763 string getSubGroupHeader ()
const
2764 {
return fSubGroupHeader; }
2771 virtual void checkOptionsConsistency ();
2778 void underlineSubGroupHeader (ostream& os)
const;
2780 void registerSubGroupInHandler (
2783 void appendAtomToSubGroup (
2808 void print (ostream& os)
const;
2810 void printHelp (ostream& os);
2812 void printHelpWithHeaderWidth (
2814 int subGroupHeaderWidth);
2816 void printSubGroupHeader (ostream& os)
const;
2817 void printSubGroupHeaderWithHeaderWidth (
2819 int subGroupHeaderWidth)
const;
2821 void printSubGroupHelp (
2824 void printSubGroupAndAtomHelp (
2828 void printOptionsSummary (ostream& os)
const;
2830 void printSubGroupSpecificHelpOrOptionsSummary (
2834 void printSubGroupOptionsValues (
2836 int valueFieldWidth)
const;
2845 string fSubGroupHeader;
2847 list<S_oahAtom> fAtomsList;
2850EXP ostream& operator<< (ostream& os,
const S_oahSubGroup& elt);
2865 oahElementVisibilityKind optionVisibilityKind,
2878 oahElementVisibilityKind optionVisibilityKind,
2888 string getGroupHeader ()
const
2889 {
return fGroupHeader; }
2896 void checkGroupSubGroupsOptionsConsistency ();
2898 virtual void checkOptionsConsistency ();
2905 void underlineGroupHeader (ostream& os)
const;
2907 void registerGroupInHandler (
2910 void appendSubGroupToGroup (
2916 virtual void handleAtomValue (
2940 void print (ostream& os)
const;
2942 void printGroupHeader (ostream& os)
const;
2944 void printHelp (ostream& os);
2946 void printGroupAndSubGroupHelp (
2950 void printGroupAndSubGroupAndAtomHelp (
2955 void printOptionsSummary (ostream& os)
const;
2957 void printGroupAndSubGroupSpecificHelp (
2961 void printGroupOptionsValues (
2963 int valueFieldWidth)
const;
2970 string fGroupHeader;
2972 list<S_oahSubGroup> fSubGroupsList;
2975EXP ostream& operator<< (ostream& os,
const S_oahGroup& elt);
2983 enum oahOptionsDefaultValuesStyle {
2987 static string optionsDefaultValuesStyleAsString (
2988 oahOptionsDefaultValuesStyle optionsDefaultValuesStyle);
3014 string handlerHeader,
3015 string handlerValuesHeader,
3016 string handlerShortName,
3017 string handlerLongName,
3018 string handlerSummaryShortName,
3019 string handlerSummaryLongName,
3020 string handlerPreamble,
3021 string handlerUsage,
3022 string handlerDescription,
3032 string getHandlerHeader ()
const
3033 {
return fHandlerHeader; }
3035 string getOptionsHandlerValuesHeader ()
const
3036 {
return fHandlerValuesHeader; }
3038 string getHandlerSummaryShortName ()
const
3039 {
return fHandlerSummaryShortName; }
3041 string getHandlerSummaryLongName ()
const
3042 {
return fHandlerSummaryLongName; }
3044 string getHandlerPreamble ()
const
3045 {
return fHandlerPreamble; }
3047 string getHandlerUsage ()
const
3048 {
return fHandlerUsage; }
3050 string getExecutableName ()
const
3051 {
return fHandlerExecutableName; }
3053 ostream& getHandlerLogOstream ()
3054 {
return fHandlerLogOstream; }
3056 oahOptionalValuesStyleKind&
3057 getHandlerOptionalValuesStyleKind ()
3058 {
return fHandlerOptionalValuesStyleKind; }
3060 const list<S_oahElement>&
3061 getHandlerRegisteredElementsList ()
const
3062 {
return fHandlerRegisteredElementsList; }
3064 const list<S_oahElement>&
3065 getHandlerCommandLineElementsList ()
const
3066 {
return fHandlerCommandLineElementsList; }
3067 const multiset<S_oahElement, compareOahElements>&
3068 getHandlerCommandLineElementsMultiset ()
const
3069 {
return fHandlerCommandLineElementsMultiset; }
3071 int getMaximumShortNameWidth ()
const
3072 {
return fMaximumShortNameWidth; }
3074 int getMaximumLongNameWidth ()
const
3075 {
return fMaximumLongNameWidth; }
3077 int getMaximumSubGroupsHeadersSize ()
const
3078 {
return fMaximumSubGroupsHeadersSize; }
3085 virtual void checkOptionsConsistency ();
3092 void appendPrefixToHandler (
3098 void appendGroupToHandler (
3100 void prependGroupToHandler (
3103 void registerElementInHandler (
3106 void registerHandlerInItself ();
3114 void handlePrefixName (
3116 size_t equalsSignPosition,
3117 string stringAfterEqualsSign);
3119 bool optionNameIsASingleCharacterOptionsCluster (
3122 const vector<string> decipherOptionsAndArguments (
3126 string decipherOption (
3127 string currentString);
3129 void decipherOptionContainingEqualSign (
3130 string currentOptionName,
3131 size_t equalsSignPosition);
3148 string commandLineAsSuppliedAsString ()
const;
3149 string commandLineWithShortNamesAsString ()
const;
3150 string commandLineWithLongNamesAsString ()
const;
3152 void print (ostream& os)
const;
3154 void printHelp (ostream& os);
3156 void printOptionsSummary (ostream& os)
const;
3157 void printOptionsSummary ()
const
3158 { printOptionsSummary (fHandlerLogOstream); }
3160 void printHandlerAndGroupAndSubGroupSpecificHelp (
3164 void printOptionNameIntrospectiveHelp (
3168 void printAllOahCommandLineValues (
3171 void setOptionsHandlerFoundAHelpOption ()
3172 { fHandlerFoundAHelpOption =
true; }
3174 bool getOptionsHandlerFoundAHelpOption ()
const
3175 {
return fHandlerFoundAHelpOption; }
3182 string handlerOptionNamesBetweenParentheses ()
const;
3184 void registerElementNamesInHandler (
3187 void printKnownPrefixes ()
const;
3188 void printKnownSingleCharacterOptions ()
const;
3189 void printOptionsDefaultValuesInformation ()
const;
3190 void printKnownOptions ()
const;
3195 void handleOptionName (
3198 void handleHandlerName (
3202 void handleGroupName (
3206 void handleSubGroupName (
3208 string subGroupName);
3210 void handleAtomName (
3214 void handleOptionValueOrArgument (
3217 void checkMissingPendingValuedAtomValue (
3221 virtual void checkOptionsAndArguments () = 0;
3223 void checkHandlerGroupsOptionsConsistency ();
3230 string fCommandLineAsSupplied;
3232 string fHandlerHeader;
3233 string fHandlerValuesHeader;
3235 string fHandlerSummaryShortName;
3236 string fHandlerSummaryLongName;
3238 string fHandlerPreamble;
3240 string fHandlerUsage;
3242 map<string, S_oahPrefix>
3243 fHandlerPrefixesMap;
3245 set<string> fSingleCharacterShortNamesSet;
3247 list<S_oahGroup> fHandlerGroupsList;
3249 map<string, S_oahElement>
3250 fHandlerElementsMap;
3252 vector<string> fHandlerArgumentsVector;
3254 string fHandlerExecutableName;
3256 oahOptionalValuesStyleKind
3257 fHandlerOptionalValuesStyleKind;
3259 ostream& fHandlerLogOstream;
3264 bool fHandlerFoundAHelpOption;
3271 int getMaximumVariableNameWidth ()
const
3272 {
return fMaximumVariableNameWidth; }
3280 list<S_oahElement> fHandlerRegisteredElementsList;
3283 list<S_oahElement> fHandlerCommandLineElementsList;
3284 multiset<S_oahElement, compareOahElements>
3285 fHandlerCommandLineElementsMultiset;
3287 bool fNowEverythingIsAnArgument;
3289 oahOptionsDefaultValuesStyle
3290 fOahOptionsDefaultValuesStyle;
3292 int fMaximumSubGroupsHeadersSize;
3294 int fMaximumShortNameWidth;
3295 int fMaximumLongNameWidth;
3297 int fMaximumVariableNameWidth;
3302EXP ostream& operator<< (ostream& os,
const S_oahHandler& elt);
Definition: basevisitor.h:25
Definition: utilities.h:213
Definition: msrBasicTypes.h:596
Definition: msrBasicTypes.h:1401
Definition: oahBasicTypes.h:134
Definition: oahBasicTypes.h:345
Definition: oahBasicTypes.h:59
Definition: oahBasicTypes.h:419
Definition: oahBasicTypes.h:672
Definition: oahElements.h:51
Definition: oahBasicTypes.h:1270
Definition: oahBasicTypes.h:2854
Definition: oahBasicTypes.h:2979
Definition: oahBasicTypes.h:1883
Definition: oahBasicTypes.h:1090
Definition: oahBasicTypes.h:2449
Definition: oahBasicTypes.h:2362
Definition: oahBasicTypes.h:2536
Definition: oahBasicTypes.h:1444
Definition: oahBasicTypes.h:867
Definition: oahBasicTypes.h:2626
Definition: oahBasicTypes.h:275
Definition: oahBasicTypes.h:205
Definition: oahBasicTypes.h:771
Definition: oahBasicTypes.h:1793
Definition: oahBasicTypes.h:1619
Definition: oahBasicTypes.h:2146
Definition: oahBasicTypes.h:2251
Definition: oahBasicTypes.h:1357
Definition: oahBasicTypes.h:1969
Definition: oahBasicTypes.h:2059
Definition: oahBasicTypes.h:1530
Definition: oahBasicTypes.h:2722
Definition: oahBasicTypes.h:582
Definition: oahBasicTypes.h:497
Definition: oahBasicTypes.h:1179
Definition: oahBasicTypes.h:964
the base class for smart pointers implementation
Definition: smartpointer.h:29
Rational number representation.
Definition: rational.h:25