18namespace alib {
namespace config {
27, DefaultCategories(ma)
43 Substring varNameWithoutCategory=
nullptr;
49 varNameWithoutCategory= name.
Substring(defaultCategory.Length());
80 stringConverter.
Reset(
reinterpret_cast<const char**
>(argV)[i] );
81 cliArg= stringConverter;
84 cliArg=
reinterpret_cast<const character**
>(argV)[i];
90 stringConverter.
Reset(
reinterpret_cast<const wchar_t**
>(argV)[i] );
91 cliArg= stringConverter;
94 cliArg=
reinterpret_cast<const character**
>(argV)[i];
133, DefaultCategories( ma )
148 Substring varNameWithoutCategory=
nullptr;
155 target.
Reset(result);
163 varNameWithoutCategory= varName.
Substring(defaultCategory.Length());
168 target.
Reset(result);
virtual ALIB_API bool Get(const String &name, AString &target) override
virtual ALIB_API String Name() const override
uint8_t QtyOptionalHyphens
StringVectorMA AlternativeArgs
ALIB_API CLIVariablesPlugin(MonoAllocator &ma, Priority pPriority=Priority::CLI)
StringVectorMA DefaultCategories
uint8_t QtyMandatoryHyphens
virtual ALIB_API bool Get(const String &name, AString &target) override
virtual ALIB_API String Name() const override
ALIB_API EnvironmentVariablesPlugin(MonoAllocator &ma, Priority pPriority=Priority::Environment)
StringVectorMA DefaultCategories
const String & GetResource(const NString &name)
ALIB_API integer SearchAndReplace(TChar needle, TChar replacement, integer startIdx=0, integer endIdx=strings::MAX_LEN)
void DbgDisableBufferReplacementWarning()
constexpr bool IsEmpty() const
constexpr bool IsNotEmpty() const
TString< TChar > Substring(integer regionStart, integer regionLength=MAX_LEN) const
bool StartsWith(const TString &needle) const
bool ConsumeString(const TString< TChar > &consumable)
TSubstring & Trim(const TCString< TChar > &whiteSpaces=TT_CStringConstants< TChar >::DefaultWhitespaces())
#define ALIB_WARNINGS_RESTORE
#define ATMP_EQ( T, TEqual)
#define ALIB_WARNINGS_ALLOW_UNSAFE_BUFFER_USAGE
@ Keep
Keep whitespaces in string.
@ Keep
Chooses not no clear existing data.
config::ConfigCamp CONFIG
The singleton instance of ALib Camp class ConfigCamp.
LocalString< 256 > String256
Type alias name for TLocalString<character,256>.
characters::character character
Type alias in namespace alib.
static ALIB_API bool Get(const CString &varName, AString &target, lang::CurrentData targetData=lang::CurrentData::Clear)