|
@@ -27,12 +27,12 @@ public:
|
|
|
bool __fastcall FindSwitchCaseSensitive(const UnicodeString Switch);
|
|
bool __fastcall FindSwitchCaseSensitive(const UnicodeString Switch);
|
|
|
bool __fastcall FindSwitchCaseSensitive(const UnicodeString Switch, TStrings * Params,
|
|
bool __fastcall FindSwitchCaseSensitive(const UnicodeString Switch, TStrings * Params,
|
|
|
int ParamsMax = -1);
|
|
int ParamsMax = -1);
|
|
|
- void __fastcall ParamsProcessed(int Position, int Count);
|
|
|
|
|
UnicodeString __fastcall SwitchValue(const UnicodeString Switch, const UnicodeString Default = L"");
|
|
UnicodeString __fastcall SwitchValue(const UnicodeString Switch, const UnicodeString Default = L"");
|
|
|
bool __fastcall SwitchValue(const UnicodeString Switch, bool Default);
|
|
bool __fastcall SwitchValue(const UnicodeString Switch, bool Default);
|
|
|
bool __fastcall SwitchValue(const UnicodeString Switch, bool Default, bool DefaultOnNonExistence);
|
|
bool __fastcall SwitchValue(const UnicodeString Switch, bool Default, bool DefaultOnNonExistence);
|
|
|
bool __fastcall UnusedSwitch(UnicodeString & Switch);
|
|
bool __fastcall UnusedSwitch(UnicodeString & Switch);
|
|
|
bool __fastcall WasSwitchAdded(UnicodeString & Switch, UnicodeString & Value, wchar_t & SwitchMark);
|
|
bool __fastcall WasSwitchAdded(UnicodeString & Switch, UnicodeString & Value, wchar_t & SwitchMark);
|
|
|
|
|
+ UnicodeString ConsumeParam();
|
|
|
|
|
|
|
|
void __fastcall LogOptions(TLogOptionEvent OnEnumOption);
|
|
void __fastcall LogOptions(TLogOptionEvent OnEnumOption);
|
|
|
|
|
|
|
@@ -48,6 +48,7 @@ protected:
|
|
|
UnicodeString & Value, int & ParamsStart, int & ParamsCount, bool CaseSensitive, bool & ValueSet);
|
|
UnicodeString & Value, int & ParamsStart, int & ParamsCount, bool CaseSensitive, bool & ValueSet);
|
|
|
bool __fastcall DoFindSwitch(const UnicodeString Switch, TStrings * Params,
|
|
bool __fastcall DoFindSwitch(const UnicodeString Switch, TStrings * Params,
|
|
|
int ParamsMax, bool CaseInsensitive);
|
|
int ParamsMax, bool CaseInsensitive);
|
|
|
|
|
+ void __fastcall ParamsProcessed(int Position, int Count);
|
|
|
|
|
|
|
|
private:
|
|
private:
|
|
|
struct TOption
|
|
struct TOption
|